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

modifier for shipping per item / separate items based on the product group


Reply


1036 Views

Avatar
phuell

Community Member, 3 Posts

15 December 2009 at 11:30pm

I am trying to build an order modifier that has mainly fixed shipping costs (like the simpleshippingmodifier) but some Products of specific Groups have fixed shipping cost per item.

lets say I have five product groups with some subgroups and products in them. the groups one to four have fixed shipping costs no matter how much items you order. Group five has shipping on a per-item basis. If you order three items you got three times the shipping costs for a single item of this group.

The problem is:
How can I check each item of the order if it is in group five, and if, calculate the shipping for this items?
How can I separate the Items of an Order based on the ProductGroup they are in?

Any ideas?

thanks in advance,
phil