discount is not displayed

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293448

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7

Hello
I have setted a discount to a category of products, but it is not displayed, the price is not discounted
What could be the problem?


thanks
FRank

the url:https://bit.ly/2H85q5v
this is the setting

Attachments:
Last edit: 6 years 5 months ago by francota.

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293456

OK I solved
the problem was in the start date, the day must be before than the present day!

Can I show the price after the discount price in a new line??

Thanks
Frank

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 5 months ago #293450

Hi,

It's probably an issue with the starting date and the way the timezone is configured on your website/web server.
Try removing the starting date.
Also, please note that only one discount can be applied to a product. If you already have another discount applied on that product then it could explain why this one is not showing.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 5 months ago #293457

Hi,

With a bit of CSS it should be possible.
www.hikashop.com/support/documentation/1...ize-the-display.html

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293488

About moving the price...I found an old post where you sayd to add <br/> in PRICE_DISCOUNT_END (language file)
But it doesn't work... so I need change the css right??
It is the only solution??

Thanks

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
6 years 5 months ago #293515

Hello,

It depends on the context, with the Css you have always several way to get what you want, on the other hand, use the add "</br>" can't work on any context.
If you need more advice, provide an url to understand situation.

Regards

Last edit: 6 years 5 months ago by Philip.

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293570

Hello
the url is this one: bit.ly/2H85q5v
I am using this css code
.hikashop_product_price{
display:block;
}
But in this way I have the "cad" in new line too:
-15%20,50€
17,43 €
cad.

while I wuold like to have:
-15%20,50€
17,43 € cad.

How can I reach that??
Thanks
Frank

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
6 years 5 months ago #293596

Hello,

Ok, by the way there is some possibilities in Css custom, but there is a lot more simple to do by using HikaShop Override Views (learn more, here )

In order to guide you, edit the product/listing_price view as to group your span in a div parent as on this schema, this will required some html knowledge to correctly add the div tag.



Hope you will achieved this.
Regards

Last edit: 6 years 5 months ago by Philip.

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293644

I am having some problem to change the file listing_price.php, i dont understand what modifiy there :oops:

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

  • Posts: 4748
  • Thank you received: 644
  • MODERATOR
6 years 5 months ago #293661

Hello,

You have to add 2 <div></div> html tag to bordered your <span></span>
From the start, you have this :



You have to analyse your view to find the 4 <span> from their class name, "hikashop_product_discount", "hikashop_product_price_before_discount" etc and bordered them 2 per 2 with div in order to create 2 lines.



Hope this will help you.
Regards

Last edit: 6 years 5 months ago by Philip.

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #293704

thanks for your help but I dont find these classes "hikashop_product_discount", "hikashop_product_price_before_discount in the file listing_price.php
Are you sure that is the right file??

Frank

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
6 years 5 months ago #293715

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

  • Posts: 281
  • Thank you received: 3
6 years 5 months ago #294006

I did
thank you for the help :))

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

Time to create page: 0.089 seconds
Powered by Kunena Forum