- Posts: 7
- Thank you received: 1
Red prices on original price - Discount
10 years 3 months ago #247871
by tutsiq14
Red prices on original price - Discount was created by tutsiq14
-- url of the page with the problem -- :
rilleit.dk/beck
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.7
When I have discounts on prices, the original price including VAT get red and crossed out, but the price ex VAT is not red and crossed out. Can I make it do so?
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.7
When I have discounts on prices, the original price including VAT get red and crossed out, but the price ex VAT is not red and crossed out. Can I make it do so?
Please Log in or Create an account to join the conversation.
10 years 3 months ago #247881
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Red prices on original price - Discount
Hi,
Could it be that you did some modifications after this ?
Because your HTML looks like this:
The <b> tag is not in the default HikaShop code, must have been inserted later, and the closing </b> is "separating" the two prices before discount from each other - making it hard to impossible to target the same CSS at both.
Please revise/improve your modification.
Could it be that you did some modifications after this ?
Because your HTML looks like this:
Code:
<span class="hikashop_product_price_full">
<b>
<span class="hikashop_product_price_before_discount"> 24 995,00DKK</span>
</b>
(19 996,00DKK)
</span>
The <b> tag is not in the default HikaShop code, must have been inserted later, and the closing </b> is "separating" the two prices before discount from each other - making it hard to impossible to target the same CSS at both.
Please revise/improve your modification.
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
10 years 3 months ago #247895
by tutsiq14
Replied by tutsiq14 on topic Red prices on original price - Discount
Can you show me how the code should look like without motifikationer?
Please Log in or Create an account to join the conversation.
10 years 3 months ago #247900
by lousyfool
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Replied by lousyfool on topic Red prices on original price - Discount
Well, you could see yourself:
Assuming that the modification was made as a proper view override , you can temporarily either switch to the Joomla "Protostar" template, or per FTP rename the file /templates/t3_blank/html/com_hikashop/product/listing_price.php
Assuming that the modification was made as a proper view override , you can temporarily either switch to the Joomla "Protostar" template, or per FTP rename the file /templates/t3_blank/html/com_hikashop/product/listing_price.php
Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Please Log in or Create an account to join the conversation.
10 years 3 months ago #247902
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Red prices on original price - Discount
Hi,
Thanks lousyfool.
In order to add other "tricks" in the list :
If you have some view overrides, you can see them easily in the view listing : there will be a "trash" icon to delete the override.
Then you can edit the same view for another template (without override), to see the original content.
In case you do not have easy FTP access ; You can also re-edit a view where you have your override, copy the content (to backup it) and then remove the override in order to retrieve the default view content.
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
Thanks lousyfool.
In order to add other "tricks" in the list :
If you have some view overrides, you can see them easily in the view listing : there will be a "trash" icon to delete the override.
Then you can edit the same view for another template (without override), to see the original content.
In case you do not have easy FTP access ; You can also re-edit a view where you have your override, copy the content (to backup it) and then remove the override in order to retrieve the default view content.
www.hikashop.com/support/documentation/1...ize-the-display.html
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: lousyfool
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds