1999 Posts in 530 Topics by 433 members
E-Commerce Modules
SilverStripe Forums » E-Commerce Modules » Has anyone managed to get an order modifier to work on 2.4?
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: | 830 Views |
-
Has anyone managed to get an order modifier to work on 2.4?

25 August 2010 at 9:17pm Last edited: 25 August 2010 9:26pm
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 configOrder::set_modifiers(array("SimpleShippingModifier", "TaxModifier"));
SimpleShippingModifier::set_default_charge(10);
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
-
Re: Has anyone managed to get an order modifier to work on 2.4?

26 August 2010 at 11:47am
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.
Jeremy
-
Re: Has anyone managed to get an order modifier to work on 2.4?

26 August 2010 at 12:59pm
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.
Mike
-
Re: Has anyone managed to get an order modifier to work on 2.4?

28 September 2010 at 1:48pm
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.
Cheers
| 830 Views | ||
|
Page:
1
|
Go to Top |


