1735 Posts in 449 Topics by 392 members
E-Commerce Module
SilverStripe Forums » E-Commerce Module » 2 problems i have with E-Commerce 0.6 beta 1
Discuss the E-Commerce Module.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 612 Views |
-
2 problems i have with E-Commerce 0.6 beta 1

20 February 2010 at 2:34pm Last edited: 20 February 2010 2:44pm
1. The translation is not working
if i use the translatable code below:i18n::enable();
global $allowed_i18n;
$allowed_i18n = array('et' => "et_EE", 'ru' => "ru_RU");
Object::add_extension('SiteTree', 'Translatable');
Translatable::set_default_locale('et_EE');
i18n::set_locale('et_EE');
Payment::set_site_currency("EEK"); // change this to the relevant currency code
Currency::setCurrencySymbol(' '); // change this to the relevant symbol
Order::set_modifiers(array('TaxModifier'));
TaxModifier::set_for_country("EE", 0.200, "KM", "inclusive");2. The currency symbol in checkoutpage in amount is always $
also if i use the code:
Currency::setCurrencySymbol(' ');The et_EE.php is included in ecommerce code originaly.
How to fix those two problems
-
Re: 2 problems i have with E-Commerce 0.6 beta 1

21 February 2010 at 9:12am
can someone help me with that
-
Re: 2 problems i have with E-Commerce 0.6 beta 1

23 March 2010 at 2:11pm
Hello, well here should be 2 links where you can get fix for both
http://www.silverstripe.org/e-commerce-module-forum/show/280127#post280127
http://www.silverstripe.org/e-commerce-module-forum/show/262686?start=16#post263585Good Luck (või siis soovin edu parandamisega
)
| 612 Views | ||
|
Page:
1
|
Go to Top |


