Hi,
I’m currently working on implementing tiered pricing (adaptive pricing) based on the order quantity of a client. In the attached screenshot, you can see the data I’m currently receiving for the product I’m testing with.
At the moment, I’m only able to retrieve and display the standard ProductPrice. However, I’m unable to access or display the Recommended_quantity_price (i.e., the tiered prices).
My use case is to show different price levels depending on the ordered quantity, but these tiered prices are not appearing in the data I’m working with. Right now, I only get the default price, which seems to be directly available in Dynamicweb.
What makes this more confusing is that on another page within the same project, I am able to see the tiered prices displayed correctly.
I have tried to reuse and apply the same logic from that page, but in this context it still does not return the expected data. Instead, the Recommended_quantity remains 0.
From the debug output, it shows that:
-
Recommended_quantity = 0
-
Recommended_quantity_price = 0
This suggests that the tiered pricing logic is not being applied at all in this context.
Does anyone have an idea on how to fix this issue?
Thanks in advance!
Kind regards,
Wilfred Polderman
