Jump to:

2081 Posts in 1001 Topics by 452 members

E-Commerce Modules

SilverStripe Forums » E-Commerce Modules » modifier for shipping per item / separate items based on the product group

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

Page: 1
Go to End
Author Topic: 960 Views
  • phuell
    Avatar
    Community Member
    3 Posts

    modifier for shipping per item / separate items based on the product group Link to this post

    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

    960 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.