• Hi there,

    I have a need for calculating shipping.

    In the woocommerce store I have group of products and each group has its own shipping cost.

    When one item is chosen by the client, there is no problem since the item has its shipping cost.

    When there are two items or more in the cart, the shipping should be calculated in the following way:
    The shipping cost from the item that has the highest shipping cost is taken.
    To this cost I need to add 50% of all other items’ shipping costs.

    For example:
    Le’t assume that I have in my store tables, beds and chairs.
    And the shipping costs are:
    Table – 10$
    Chair – 20$
    Bed – 30$

    If I have all of them in my cart I want the shipping to be:
    30 + (0.5* 10) + (0.5*20) = 45$

    Any advice ?

    Thanks

    https://ww.wp.xz.cn/plugins/woocommerce/

The topic ‘Shipping calculation challenge’ is closed to new replies.