Discount looks wierd

  • Posts: 198
  • Thank you received: 7
7 years 8 months ago #264570

-- HikaShop version -- : 3.0.0

When i use the discount function this is looking wierd on the site see shots:





And because the source code has nog separate tags for the discount and normal price i can not style these.
<span class="hikashop_product_price_before_discount">Prijs zonder korting€ 7,50Prijs met korting</span>

In fact we need two separate lines of code for these different prices thought.

Kind regards, René Mulder

Attachments:
Last edit: 7 years 8 months ago by renem.

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 8 months ago #264576

Hi,

Your issue is that you have strange translations. It's not related to the tags or the CSS.
You need to fix your translation file.
Take example on the default translation file:
www.hikashop.com/download/languages.html
I suppose that the translation keys:
PRICE_DISCOUNT_START=""
PRICE_DISCOUNT_END=""
are not correct on your translation file.

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

  • Posts: 198
  • Thank you received: 7
7 years 8 months ago #264630

Thanks for replying,

It's not what i mean. I like to have two separate lines.

Example:

Without discount € 25,- <line 1 with it's own class>
Now € 20,- <line 2 with it's own class>

So i can style these lines.

Kind regards René

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
7 years 8 months ago #264635

Hi,

It is already like that in HikaShop by default.
So if that's not what you have, it means that the view file displaying the prices has been customized by you or your template provider to remove the spans around the prices.
Check with the default template of Joomla the HTML of the prices.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum