Aktionen
GX-Feature #67624
offenShop Settings > Stock Options > Mark product out of Stock option does not allow HTML values | Shop Einstellungen > Lagerverwaltungs-Optionen > Kennzeichnung vergriffener Artikel erlaubt keine HTML Werte
Status:
Feedback
Priorität:
Normal
Zugewiesen an:
Lennard Kläfker
Kategorie:
StyleEdit 4
Zielversion:
-
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.2.0.0 beta1
Release Notes Langtext:
Beschreibung
How to reproduce:
- Navigate to Shop Settings > Stock Options
- Enter html into the input "Mark product out of Stock" (e.g "
!!!!")
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.
Dateien
Aktionen