I have no configurable products, but tiered pricing. I would like to change the 'As low as £x.xx' on the category page to 'As low as £x.xx for 4+' as well as moving this to a new line below the regular price. I can sort out the HTML and CSS fine, but which PHTML file do I need to edit?
I have tried the final_price.phtml in my theme, and the Magento core but nothing is changing. Is there another one hiding somewhere else?
Any help would be appreciated.
Hello @darren_shipp
The term "As low as" is setting inside :
vendor/magento/module-catalog/Pricing/Renderer/FinalPriceBox.php
function renderAmountMinimal()
You can change the string there, hope it helps !
Thanks for taking the time to answer Garav.
That's really handy to know.
Do you which PHTML Magento uses to put that snippet from 'FinalPriceBox.php' together with the price?
Most of the category grid is put together in vendor/theme/Magento_Catalog/templates/product/list.phtml but I can't find the section that deals with the tiered pricing
I need to add 'for 4+' as a separate string from 'As low as' because the price is rendered inbetween.
'As low as £4.99 for 4+'
Is this whole section above rendered elsewhere and then imported into list.phtml?
And if so, where would that be?
Thanks again.
Thanks for the information keep sharing njmcdirect
@darren_shipp wrote:I have no configurable products, but tiered pricing. I would like to change the 'As low as £x.xx' on the category page to 'As low as £x.xx for 4+' as well as moving this to a new line below the regular price. I can sort out the HTML and CSS fine, but which PHTML file do I need to edit?
I have tried the final_price.phtml in my theme, and the Magento core but nothing is changing. Is there another one hiding somewhere else?
Any help would be appreciated.