Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alessandro 30 posts 151 karma points
    Apr 28, 2022 @ 21:56
    Alessandro
    0

    Bundle quantity

    Hello Mat, let's say that I have a bundle which is composed of 5 objects, for a total unit price of 1000€.

    I put it into the cart and update the quantity of the bundle to 2, the price doubles itself.

    So far so good.

    In my opinion this should mean that I've bought 10 objects... am I right? However in the children orderlines of the bundle the quantities of the sub objects are still 1. If I try to update the children orderlines as well the price stacks and becomes 4X.

    Any idea about how to deal with this?

    Thanks in advance, Alessandro

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Apr 29, 2022 @ 07:46
    Matt Brailsford
    0

    Hi Alessandro,

    It is tricky to try and portray this information but we were very careful when laying out the order editor screen to ensure that all sub order lines total prices line up to the primary order lines unit price to show that "the sum of all bundle order lines defines the UNIT price of the bundle order line" and so the sub-order lines will always represent a "single bundle" and multiplying the bundle order lines quantity signifies that the whole thing is multiplied.

    enter image description here

  • Alessandro 30 posts 151 karma points
    May 01, 2022 @ 17:13
    Alessandro
    0

    Hi Matt,

    I see what you mean. My problem is that I need to generate a ticket for any element of the bundle, so I used to loop over the orderlines and generate a ticket for each element x quantity.

    I think that for bundle I should instead use the quantity of the bundles instead of the nested order line.

    As far as you know, apart from bundles, are there any other cases that I should consider when order lines ar nested?

    Another question, what would be the suggested rule set to apply discounts to bundles? By now, I'm using the custom property rule, but I wonder if it is a more "native" way.

    Thanks in advance,

    Alessandro

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 02, 2022 @ 12:15
    Matt Brailsford
    0

    Hi Alesandro,

    Bundles are the only option in Vendr for nested order lines so it should be the right approach if that's what you need.

    RE discounting, it's hard to say as I'm not sure what discounted you need to perform.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft