Home Forums Makery Shipping costs are multiplied by number of items

Shipping costs are multiplied by number of items

  • anbruu

    The Shipping costs are multiplied by number of items. When I buy the same the same item twice, the shipping is also doubled. Is there no possibility to set the shipping price per order and not per item?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    BANKENHOF

    Hello Ihor, I have the same problem. How can I solve it?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    BANKENHOF

    Thank you Ihor, I could solve it with that code.

    BANKENHOF

    Hello Ihor

    This code no longer solves my problem, suddenly, the code stopped working, Shipping costs have been recalculated for each item.

    Can you help me, please ?

    ihor Staff

    Please sign in or register to view replies from the support staff.

    BANKENHOF

    I already found the problem, when I eliminated: (* $ product [‘quantity’]), the shipping cost was now calculated for each product in the cart, regardless the number of units per product. However I would like the shipping cost be the same regardless of the products in the cart and the number of units requested from each product.

    That is, the shipping cost must be static and should not vary for the products that are in the cart and their quantities..

    Example:
    https://fotos.subefotos.com/9432bbeec679b355fcdd23e131bbdd29o.png

    ihor Staff

    Please sign in or register to view replies from the support staff.

    BANKENHOF

    This solution worked well !! but I had to write the “break” in the second “else” for this to work well

    Is this well done?

    https://fotos.subefotos.com/a65176e2a7f8f508d0cd8d0754944231o.png

    ihor Staff

    Please sign in or register to view replies from the support staff.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.