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.
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.
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.
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
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.
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
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
is working on a reply...