How do I change the “tb_label_special”

Tagged: ,

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeHow do I change the “tb_label_special”

This topic has been marked as resolved.

Hi there

I would like to change the discount label that appears on products in category lists – the small label that appears in the top left corner.

At present it shows eg: -35%

A number of people have said to me that this really doesn’t mean anything to them and confuses them!!!

What I think it should say is eg: SAVE 35% or 35% OFF

So the question is – How can I make this change??

Thanks in advance, Anthony

April 15, 2015 at 2:06 am #39992

Hi VapingMann,

You can go to:
Pavilion CP –> Theme Settings –> Custom –> Stylesheet
And add the next line into the custom css field…


/**special label**/
.tb_product .tb_label_special > span::before {content: "SAVE ";}

If you would like it like ’20% OFF’ add this in the custom css field…

/**special label**/
.tb_product .tb_label_special > span::before {content: "";}
.tb_product .tb_label_special > span::after {content: " OFF";

Hope it helps!

Regads,
Dieter

  • This reply was modified 3293 days ago by  Dieter. Reason: added extra info
 Dieter
April 15, 2015 at 10:23 am #40008

Thanks Dieter – works a treat

All the best, Anthony

April 15, 2015 at 1:09 pm #40011

@Dieter

Thanks for sharing your modification. We will definitely add this as an option in future versions.

BR,
ThemeBurn team

April 15, 2015 at 3:37 pm #40014
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.