unchained icon indicating copy to clipboard operation
unchained copied to clipboard

Leveled catalog pricing Refactor

Open Mikearaya opened this issue 1 month ago • 3 comments

Closes #671

Mikearaya avatar Nov 17 '25 10:11 Mikearaya

@pozylon we might not be able to include this because of the breaking changes, but I've made all the changes we discussed in the other PR. There is no maxQuantity usage anymore, and it's minQuantity-based, so the price specified for that quantity will only be applied when the order item is equal to or greater than the quantity.

Mikearaya avatar Nov 18 '25 06:11 Mikearaya

Seems fine to me but you are right, we can't merge it until v5 and if we merge, we need to support the maxQuantity way in the bulk importer and marke it deprecated. That beeing said, the bulk importer should be able to convert a maxQuantity denoted pricing to a minQuantity denoted pricing before updating/inserting that commerce data.

pozylon avatar Nov 18 '25 08:11 pozylon

ok, I will make that adjustment and keep this PR updated until it can be merged

Mikearaya avatar Nov 18 '25 08:11 Mikearaya