The strikethrough on normal prices

  • Posts: 75
  • Thank you received: 0
10 years 5 months ago #195040

-- HikaShop version -- : 3
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.6
-- Browser(s) name and version -- : google

Hi,
I see this question has been asked a few times, but the solutions are not working for me.

I have made some dicounts on several categories, and I want the old price to show with the strikethrough.
I have set the system - config - show - to show all prices before dicount. And so they are.
I also tried to change in the hikashop menu - show - content menu the the same "show all prices before discount", also I tried leave it as inherrit, still not showing the strike through.
Could you guide me to what I am missing here?
thanks


/Christina

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

  • Posts: 84220
  • Thank you received: 13673
  • MODERATOR
10 years 5 months ago #195063

Hi,

It should work. Maybe there is something else at play here.
Could you provide a link to the page where you want that display and a screenshot of the options of the menu item's hikashop options screen ?

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

  • Posts: 75
  • Thank you received: 0
10 years 5 months ago #195114




yes
here is one of the pages
meisolle.com/index.php/engle

file hika1 is from the system - config
the file hika 2 is from the show-content menu


/Christina
Attachments:
Last edit: 10 years 5 months ago by Sunshine.

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

  • Posts: 2143
  • Thank you received: 747
10 years 5 months ago #195116

Sunshine wrote: ... I want the old price to show with the strikethrough.


All it takes is applying custom CSS to the class in question, e.g. like this:
.hikashop_product_price_before_discount {
  text-decoration: line-through;
}

Of course, you may as well want to add "padding-right: 5px;" and/or "color: #ff0000;" or so to it, depending on your likings.


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" )
The following user(s) said Thank You: Sunshine

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

  • Posts: 75
  • Thank you received: 0
10 years 5 months ago #195163

thanks, maybe I shouldn't mess with that if it is allready suppose to work without changing the CSS :-/


/Christina

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

  • Posts: 2143
  • Thank you received: 747
10 years 5 months ago #195231

It would probably work if the HikaShop default CSS were loading, but your site is relying solely on the template CSS. Which isn't a bad thing, so generally no need to consider changing that. Like in this case, a thing or two may be "missing" but you can add it still - through your template's custom.css file.
So, go ahead, add the little snippet to it, and you'll find the "old" price the way you want it. No mess. :)


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" )
The following user(s) said Thank You: Jerome, Sunshine

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

  • Posts: 75
  • Thank you received: 0
10 years 5 months ago #195236

That did not help :-(


/Christina

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

  • Posts: 75
  • Thank you received: 0
10 years 5 months ago #195237

okej that did help the page was to slow to uppload :) thank you


/Christina

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

Time to create page: 0.098 seconds
Powered by Kunena Forum