cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

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.

5 REPLIES 5

Re: Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

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 !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

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.

Re: Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

Thanks for the information keep sharing njmcdirect

Re: Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?

It helped me much to resolve my issues. thanks 

 

Regards

njmcdirect

Re: Magento 2.3.2 - Amend 'As low as...' on category grid. Which PHTML?


@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.


Prepaidcardstatus