GX-Bug #69025
Von Moritz Bunjes vor etwa 3 Jahren aktualisiert
The settings "Gross Admin" is active but has no effect on option surcharges. They still have to be entered as a net price.
Gross Admin option should be implemented in both **Product Options** & **Product Downloads** .
___
**Steps to reproduce:**
1. Active the setting "Gross Admin" in the shop settings.
2. Edit the surcharge of an option value to 5.
3. Check the database @ `products_options_values` -> `value_price`.
___
**Expected result:**
The price in the database should differ from the price entered in the shop while editing the option value.
**Actual result:**
The price is the same. Therefore no conversion from gross to net (net in the database) happened.
___
**Testing:**
1. Create an option value with weight, model, price
1. Create an option value with price, weight
1. Create an option value with weight, model
1. Create an option value with model, price
1. Create an option value with price
1. Create an option value with model
1. Create an option value with weight
1. Attach these option values to product downloads
1. Create & attach new download value from a product with model, price
1. Create & attach new download value from a product with price
1. Create & attach new download value from a product with model
Testing new business rule for creating variants (combi prices):
The combi price now handles the option price as net, if Gross Admin is inactive. In GX <= 4.4 (property) option values where always handled as gross prices.