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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Has anyone managed to get an order modifier to work on 2.4?


4 Posts   989 Views


25 August 2010 at 9:17pm (Last edited: 25 August 2010 9:26pm), Community Member, 56 Posts

Has anyone managed to get an order modifier to work on 2.4?

I must be missing somoething and would love to hear if anyone actually got one to work.
I am trying in my config

Order::set_modifiers(array("SimpleShippingModifier", "TaxModifier"));
TaxModifier::set_for_country('NZ', 0.125, 'GST', 'exclusive');

But get nothing on frontend and database table remains empty???
Are they even getting added?

I am using the googlecode from jedateach


26 August 2010 at 11:47am Forum Moderator, 227 Posts

Hi wainui,

I've tested out SimpleShippingModifier, and TaxModifier in my (burnbright) development branch, and they appear to work fine. Note that you may need to clear the shopping cart contents after changing the modifiers list. Visiting mysite/shoppingcart/clear will do that for you.



26 August 2010 at 12:59pm Community Member, 56 Posts

thank you, thank you, thank you...

I cannot believe that I have wasted so much time to get this to work and simply clearing the shopping cart did the trick.

Thanks heaps, really appreciate it.



28 September 2010 at 1:48pm Community Member, 10 Posts

hi wainui

can you post a link to the trunk your using? I have tried the latest burnbright but it doesnt like the values you have posted. I get an error.