Projekt

Allgemein

Profil

Aktionen

GX-Feature #67624

offen

Shop 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

Von Marvin Muxfeld vor mehr als 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

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:
Tags:

Beschreibung

How to reproduce:

  1. Navigate to Shop Settings > Stock Options
  2. 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

Auch abrufbar als: Atom PDF