Skip to main content

Change the way Discount text appears on item?

More
11 years 2 months ago #209425 by MoverShaker
-- url of the page with the problem -- : www.airsoft-hq.co.za/shop/index.php/airs...sories/optics-mounts
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.36
-- PHP version -- : 5.5.24
-- Browser(s) name and version -- : Firefox 39.0
-- Error-message(debug-mod must be tuned on) -- : No Error just a question.

Hi I have set up a discount and it appears poorly on the category page and the product pages.:
Currently it displays as "-15%R195.50 each"

I would like to change this if possible to something like "Less 15% special" or the like.
At the worst I would like to say "-15% R195.50 each" with a space between % and R.
Please refer: www.airsoft-hq.co.za/shop/index.php/airs...killflash-ao-5327-bk
and
www.airsoft-hq.co.za/shop/index.php/airs...killflash-ao-5327-bk

Bonus prize would be if I could change the colour to red to highlight only discounted prices and special offers.

Can you assist please?

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #209434 by Mohamed Thelji
Hello,

1. To do that the solution will be to directly edit the product / listing_price file of your front-end template via "Hikashop->DIsplay->Views".
Also, if you want to add your "space" changing that lane :
Code:
echo -1*$this->row->discount->discount_percent_amount.'%';
By :
Code:
echo -1*$this->row->discount->discount_percent_amount.'% ';
Will probably do the job.
2. To do that you'll just have to directly use some CSS code :
www.hikashop.com/support/documentation/1...the-display.html#css

Please Log in or Create an account to join the conversation.

Time to create page: 0.219 seconds
Powered by Kunena Forum