GX-Feature #67624
Von Alexandre Ataides vor etwa 4 Jahren aktualisiert
How to reproduce:
1. Navigate to Shop Settings > Stock Options
2. Enter html into the input "Mark product out of Stock" (e.g "<br /><span style='color:red;'>!!!!</span>")
You can see after saving that the value is not correctly displayed in the admin page or in cart
# Feature:
I order to solve this problem we have to implement a new option inside SE4: Areas > Checkout > Shopping Cart
We have to create a new fieldset called "Out of stock label" with the options below:
- font-color
- font-style
- font-weight
- background group
- border group
Also we have to add a new css classes to the variables.scss of the theme in order to apply all those styles to the out of stock tag
- gx-out-of-stock-label-font-color
- gx-out-of-stock-label-font-style
- gx-out-of-stock-label-weight
- gx-out-of-stock-label-background-.........
- gx-out-of-stock-label-border-.........
The final result (example) that the user can achieve can be checked on the attached image.