- Posts: 281
- Thank you received: 3
discount is not displayed
Please Log in or Create an account to join the conversation.
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.
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.
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.
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.
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
Please Log in or Create an account to join the conversation.
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.
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.
image missing https://cdn.pbrd.co/images/HosP5Co.png
Hope you will achieved this.
Regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You have to add 2 <div></div> html tag to bordered your <span></span>
From the start, you have this :
image missing https://cdn.pbrd.co/images/HoBUYrR.png
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.
image missing https://cdn.pbrd.co/images/HosP5Co.png
Hope this will help you.
Regards
Please Log in or Create an account to join the conversation.
Are you sure that is the right file??
Frank
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thank you for the help
Please Log in or Create an account to join the conversation.