wanna add fixed shipping cost to ecommerce module how is it possible.
also some client tell taht if they buy one product the other comes with it in order where can be the error??
THanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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
wanna add fixed shipping cost to ecommerce module how is it possible.
also some client tell taht if they buy one product the other comes with it in order where can be the error??
THanks
Hey Dude,
Put this in your mysite/_config.php file.
SimpleShippingCalculator::set_charges(6);
I have just been trying to figure this in 0.6 beta, and I used the following to get it working...
Order::set_modifiers(array(
'SimpleShippingModifier'
));
SimpleShippingModifier::set_default_charge(6);
Thanks for this Simmo, have been trying to get this to work for aages.
Is there any way of adding shipping for multiple items for example if there are two items in the cart adjust shipping to £10 and if there are 6 items + change shipping to £8?
Stuart
Off the top of my head I'd say the best way would be to look in to the shippingmodifier code and then create your own shippingmodifier with these features. I don't think it would be too hard to do.
Thanks, I'm sure it is pretty simple but I am in no way a programer, can any body help with the code or point me in the direction of how to create my own modifier code?
Stuart