- Posts: 12
- Thank you received: 0
how to show retail price with crossed line
12 years 4 months ago - 12 years 4 months ago #158880
by bbin0907
how to show retail price with crossed line was created by bbin0907
Does anyone know the following?
1. how to retail price with crossed line?
2 How to show both Price and Retail price on categories listing page (not on Product details page )?
3. How to show both our Price and Retail price on Products listing page (not on Product details page )?
for exp.
comm. price [strike]$ 1,500[/strike].-
our price $ 1,200.-
1. how to retail price with crossed line?
2 How to show both Price and Retail price on categories listing page (not on Product details page )?
3. How to show both our Price and Retail price on Products listing page (not on Product details page )?
for exp.
comm. price [strike]$ 1,500[/strike].-
our price $ 1,200.-
Last edit: 12 years 4 months ago by bbin0907.
Please Log in or Create an account to join the conversation.
12 years 4 months ago #158897
by Xavier
Replied by Xavier on topic how to show retail price with crossed line
Hi,
1. You can use the css property:
2 & 3. You have to edit the view "product / listing_price" via the menu Display > Views and remove twice time the code
hikashop.com/support/support/documentati...ize-the-display.html
1. You can use the css property:
Code:
.hikashop_product_msrp_price .hikashop_product_price{text-decoration: line-through;}
Code:
&& JRequest::getCmd('layout') == 'show'
hikashop.com/support/support/documentati...ize-the-display.html
Please Log in or Create an account to join the conversation.
12 years 4 months ago #158985
by bbin0907
Replied by bbin0907 on topic how to show retail price with crossed line
Thank you
showed both our Price and Retail price on Products listing page is ok, but showed both Price and Retail price on categories listing page is not working
showed both our Price and Retail price on Products listing page is ok, but showed both Price and Retail price on categories listing page is not working
Please Log in or Create an account to join the conversation.
12 years 4 months ago - 12 years 4 months ago #159039
by bbin0907
Replied by bbin0907 on topic how to show retail price with crossed line
Last edit: 12 years 4 months ago by bbin0907.
Please Log in or Create an account to join the conversation.
10 years 1 month ago - 10 years 1 month ago #250756
by river
Replied by river on topic how to show retail price with crossed line
Hikashop 2.6.4, joomla 3.6.2:
I used the above code to get the retail price crossed out,
and it works perfect. But I want to make the retail price smaller. So it tried this code:
But it doesn't work. No price smaller. Any advice ?
I used the above code to get the retail price crossed out,
Code:
.hikashop_product_msrp_price .hikashop_product_price{text-decoration: line-through;}
and it works perfect. But I want to make the retail price smaller. So it tried this code:
Code:
.hikashop_product_msrp_price .hikashop_product_price{text-decoration: line-through; font-size: 16px;}
But it doesn't work. No price smaller. Any advice ?
Last edit: 10 years 1 month ago by river.
Please Log in or Create an account to join the conversation.
10 years 1 month ago #250761
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic how to show retail price with crossed line
Hi,
We can't know and unfortunately, the CSS customization it is outside the domain of the HikaShop support.
All I can recommend you is to use the browser inspector to see how the CSS rules are applied to the targeted element ; and use a rule with a better priority (or use "!important").
www.hikashop.com/support/documentation/1...the-display.html#css
Regards,
We can't know and unfortunately, the CSS customization it is outside the domain of the HikaShop support.
All I can recommend you is to use the browser inspector to see how the CSS rules are applied to the targeted element ; and use a rule with a better priority (or use "!important").
www.hikashop.com/support/documentation/1...the-display.html#css
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.239 seconds