• Resolved rainafarai

    (@rainafarai)


    Hi im writing a shipping module but i have problem to calculate the wight and the price of entire combo … can you help me to catch the right loop to sum weight and price to have one price and one weight for all the combo !!
    THX

Viewing 1 replies (of 1 total)
  • Plugin Author Vidish

    (@vidishp)

    @rainafarai Thank you for reaching out.

    I am not 100% sure if I get you right. But you can look for product type and if it’s “Comb Offer”, then you can grab their child product/variation ids and get their price & shipping weight.

    There is a mapping between each parent & their child product. If you print cart array, then you will be able to see this.

    I hope this helps.
    Thanks,
    Vidish

Viewing 1 replies (of 1 total)
  • The topic ‘Combo weight and price’ is closed to new replies.