It would really be nice if the PLP could show some...
# suitecommerce
w
It would really be nice if the PLP could show something like As Low As: and show the lowest price on items with Quantity Discounts.
k
This template has an accordion/class toggle so you just need to revise the template to include the class for open state. You should be able to see get pricing information from the item model if to determine if there should be a badge or not.
☝🏻 1
s
I was just trying to find the exact template before responding, but yes, this is correct. If you look in quantity_pricing.tpl, you'll see the accordion being built. If you mess with the
collapse
data-toggle, you can set it so that it starts opened and can be closed. Alternatively, you could just move everything outside of the accordion, and just show a table always
As for the PLP, that data will be exposed and so you should be able to make a new child view and add it in to each cell using the PLP's 
addChildView
function. You can do a
contextDataRequest
in your new view to get the item data.
There should be a price value called something like
minValue
w
Thanks for the responses! Is there anything in the roadmap for these kinds of improvements? If not, I'll have to make these customizations myself.
f
Hi Wes, it´s not, but I guess it´s something that could be added to the configuration. I will pass this to Martin who owns this area
Meanwhile my suggestion is the same than Steve´s. I would get rid of the isAccordion conditional and always display it open
w
Got it. Thanks Flo!
Also, I noticed in the new theme tools that the default setting for target version (when deploying) just enters the current version of SC(A), which I think should be fixed... I had lots of problems where using the default value (20.1.0) did not push the theme to the extension manager. I had to change it to >=20.1.0 and re-deploy
👍 1
a
Most of our products have quantity discounts, and I have learned that you have to be very careful with how you display the product price. Google enforces that you show/markup the product price at the lowest purchasable quantity (usually 1, unless multipack). I'm sure that you can put a "As low as" price on the page in addition to the regular price, but be careful with your markup. We have had a lot of back-and-forth with Google disapprovals/warnings, including this exact topic.
👍 2