cancel
Showing results for 
Search instead for 
Did you mean: 

Add a custom message after old price.

Highlighted

Add a custom message after old price.

I've an old price and a special price for the product.
I wanted to show a "limited sale" message after old price.
like this: https://nimb.ws/Aya0OG
I've tried to add the text on 
module-configurable-product/view/base/templates/product/price/final_price.phtml
It works fine for the configurable product but the doesn't show on simple product.

So I add the text on module-catalog/view/base/templates/product/price/amount/default.phtml
but it showing on both prices, old as well as special prices and it reflect same for the configurable product  as well.
On configurable and simple  product it looks like this
https://nimb.ws/bGRwW1

Can anybody help me with this issue, I'm struggling since a week to solve this problem.
Thank you in advance!

1 REPLY 1
Highlighted

Re: Add a custom message after old price.

. You probably need to have some custom coding done for this by a developer