2000 Posts in 532 Topics by 435 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Tax Modifier Fix- eCommerce 0.5.2 Trunk
Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.
Moderators: martimiz, Nicolaas, Howard, Sean, Ryan M., biapar, Willr, Ingo, Jedateach, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1213 Views |
-
Tax Modifier Fix- eCommerce 0.5.2 Trunk

6 June 2009 at 12:40pm
Hi, I have the Tax Modifier working with the latest verision of eCommerce
The current Tax Modifier code in the latest eCommerce Module (0.5.2 Trunk) has a bug in it - causing the Tax Modifier not to show
Use the attached file below plus
To add a modifier to your order structure, you need to execute this code in your _config.php file :Order::set_modifiers(array('TaxModifier'));
TaxModifier::set_for_country("CountryCode",0.xxx,"Name","exclusive");
// UK
// TaxModifier::set_for_country("UK",0.175,"VAT","exclusive");
// NZ
//TaxModifier::set_for_country("NZ",0.125,"GST","exclusive");You will also need the Payment Module to set up your preffered payment gateway
Happy Billing! -
Re: Tax Modifier Fix- eCommerce 0.5.2 Trunk

7 May 2012 at 4:41pm
I'm sorry, but which directory do we stick the php file?
-
Re: Tax Modifier Fix- eCommerce 0.5.2 Trunk

7 May 2012 at 5:12pm
Hi Kiwipearls,
You should be able to put it into your mysite/code folder.
FYI: there are far newer versions of ecommerce than 0.5.2. eg: http://ss-shop.org is at 0.8.3
Jeremy
-
Re: Tax Modifier Fix- eCommerce 0.5.2 Trunk

8 May 2012 at 12:21pm
Hi Ty for that.
I am using an earlier version of ecommerce...8.1 I think and can't get the tax to work.
I will try this with my versions and see what happens.
KP
-
Re: Tax Modifier Fix- eCommerce 0.5.2 Trunk

8 May 2012 at 12:26pm
Yey - this worked on my version of Ecommerce.
I see tax, glorious tax. Woot.
| 1213 Views | ||
|
Page:
1
|
Go to Top |



