Red prices on original price - Discount

  • Posts: 7
  • Thank you received: 1
9 years 1 month ago #247871

-- 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?

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

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #247881

Hi,

Could it be that you did some modifications after this ?
Because your HTML looks like this:

<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.

  • Posts: 7
  • Thank you received: 1
9 years 1 month ago #247895

Can you show me how the code should look like without motifikationer?

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

  • Posts: 2143
  • Thank you received: 747
9 years 1 month ago #247900

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


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.

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
9 years 1 month ago #247902

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,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: lousyfool

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

Time to create page: 0.050 seconds
Powered by Kunena Forum