Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

2 problems i have with E-Commerce 0.6 beta 1


Go to End


3 Posts   1046 Views

Avatar
Webdoc

Community Member, 349 Posts

20 February 2010 at 2:34pm

Edited: 20/02/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

Avatar
Webdoc

Community Member, 349 Posts

21 February 2010 at 9:12am

can someone help me with that

Avatar
Krisavi

Community Member, 2 Posts

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#post263585

Good Luck (või siis soovin edu parandamisega :) )