What's New
You must be logged in to reply to this topic.
Hello
How can I set color for the “text when out of stock (and back order allowed)”?
I already change the codes for “in stock” and “out of stock” like this:
# Product-availability.product-available {color: # 00A811}
# Product-availability.product-unavailable {color: # FF1A00}
but the color is the same for “in stock” and “text when out of stock (…)”
it will also show minus stock, this should be masked or print the text back order.
is there a way to select this or is it a bug?
best regards,
Frank
Hello,
I have just installed a clean test prestashop 1.7 in a sub map and there ist will working correctly, when a product stock = minus 2 for example it will shown ” v Backorder Levertijd 5 – 9 dagen” and not as in the Panda theme “-2.”
also the color settings are not working correctly in the Panda-theme.
please have a look again for this issue
best regards,
Hello yobo,
Good job,
this code will it implement in future update of the Panda theme or do i have to add this code after a update?
But how can I set color for the “text when out of stock (and back order allowed)”?
In the Theme editor there are settings
Product availability info color:
Product availability info color for unavailable:
Product availability info color for last items:
When I set the Product availability info color: #ff0000 the color will set for both in stock as for out of stock.
Thanks for your service.
Best regards,
Frank
Hello,
see attachment, v2.4.5 is the one that is modified for panda theme v.2.4.5, the other one if the un-modified one from theme v2.4.8.
bet regards,
Frank
Hello,
I have tested and for product pages with a single artikel (no combinations) is will do the job.
but for a productpage with combination when the stockis 0 or below zero (on back-order) it will still showing the stock, it shoeuld mask the quantity below zero.
can you fix this?
see attachment.
best regards,
Frank
You must be logged in to reply to this topic.