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

shipping costs not showing on checkout or receipt


Reply


2 Posts   824 Views

Avatar
vancouverWill

Community Member, 121 Posts

25 November 2010 at 11:48am

Hi all

I'm having a lot of trouble with what seems should be straightforwards. The shipping costs aren't showing on the checkout or the receipt.

in my confif.php file I have

Order::set_modifiers(array(
'SimpleShippingModifier'
//,'TaxModifier'
));
SimpleShippingModifier::set_default_charge(10);
SimpleShippingModifier::set_charges_for_countries(array('ca' => 10));

i've looked at the orderinformation_editable.ss template and can see the <% control Modifiers %> where it looks for modifiers but for some reason simpleshippingmodifier is not being noticed. Has anyone else had this problem?

thanks

Will

Avatar
rog

Community Member, 8 Posts

8 December 2010 at 9:29pm

It's Simple when you know how...

http://www.silverstripe.org/e-commerce-module-forum/show/13489

Visiting mysite.com/shoppingcart/clear worked for me too.

Maybe this little trick could be in the documentation or comments somewhere?