Projekt

Allgemein

Profil

GX-Bug #68460

Von Till Tepelmann vor etwa 3 Jahren aktualisiert

If the product has discount, and it has attributes/properties surcharges, the attributes/properties surcharges are displayed without calculating the product discount. 

 PRE-REQUIREMENTS: 
 - When accessing the shop page, you should be logged in as ADMIN just because we are enabling an option for the Admin, in the Customer Groups (it could be any customer group) 

 Steps: 
 1. Go to Gambio Admin > Customer Groups > Admin 
 1. Click on the *edit* icon 
 1. On the *Discount on products* section **enable** the option _Attributes & properties_ and on the _Maximum discount on products_ put 50  
 1. Go to Gambio Admin > Catalog > Product Properties and edit a value of the property *Size*, for example 
 1. In the field *Gross price* insert 10 EUR, hit *Save & Close* 
 1. Go to Gambio Admin > Catalog > Categories/Products and edit the product which has the property that you changed 
 1. In the *Discount* field (bottom of the page) insert 10 EUR and in the *Product Price* put 100 (or whatever value you want, it is just to make the calculation easier) hit save 
 1. **Disable** the special price for the product, if it has special price 
 1. Open the product on the Shop page 
 1. Select the *Size* property which you added the surcharge 

 Expected: 
 The surcharge value should be displayed with the 10% discount of the product 

 Actual: 
 The surcharge value is displayed without calculating the product discount 

 **NOTE:** the calculation of the final price is correct. The issue is only visual. 


 ------ 

 Wenn das Produkt einen Rabatt hat und es Attribut-/Eigenschaftszuschläge hat, werden die Attribut-/Eigenschaftszuschläge angezeigt, ohne dass der Produktrabatt berechnet wird. 

 VORRAUSSETZUNGEN: 
 - Wenn Sie auf die Shop-Seite zugreifen, sollten Sie als ADMIN eingeloggt sein, da wir in den Kundengruppen eine Option für den Admin aktivieren (es kann eine beliebige Kundengruppe sein) 

 Schritte: 
 1. Gehen Sie zu Gambio Admin > Kundengruppen > Admin 
 1. Klicken Sie auf das Symbol *Bearbeiten*. 
 1. Im Abschnitt *Rabatt auf Produkte* **aktivieren** Sie die Option _Attribute & Eigenschaften_ und setzen Sie bei _Maximaler Rabatt auf Produkte_ 50  
 1. Gehen Sie zu Gambio Admin > Katalog > Produkteigenschaften und bearbeiten Sie einen Wert der Eigenschaft *Größe*, zum Beispiel 
 1. Im Feld *Bruttopreis* geben Sie 10 EUR ein, drücken Sie *Speichern & Schließen*. 
 1. Gehen Sie zu Gambio Admin > Katalog > Kategorien/Produkte und bearbeiten Sie das Produkt, das die Eigenschaft hat, die Sie geändert haben 
 1. Im Feld *Rabatt* (unten auf der Seite) geben Sie 10 EUR ein und im Feld *Produktpreis* geben Sie 100 ein (oder einen beliebigen Wert, um die Berechnung zu vereinfachen), klicken Sie auf Speichern 
 1. **Deaktivieren** Sie den Sonderpreis für das Produkt, wenn es einen Sonderpreis hat 
 1. Öffnen Sie das Produkt auf der Shop-Seite 
 1. Wählen Sie die Eigenschaft *Größe*, für die Sie den Aufpreis hinzugefügt haben 

 Erwartet: 
 Der Zuschlagswert sollte mit dem 10%igen Rabatt des Produkts angezeigt werden 

 Tatsächliche: 
 Der Zuschlagswert wird ohne Berechnung des Produktrabatts angezeigt 

 **Hinweis:** die Berechnung des Endpreises ist korrekt. Das Problem ist nur visuell.

Zurück