View Issue Details

IDProjectCategoryView StatusLast Update
0006018OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2024-01-17 10:11
ReporterJaroslavHerber Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version4.9.2 / 5.2.2 
Summary0006018: "Skip all negative Discounts" in categories doesn't affect variants
DescriptionSee point 5. in "Steps To Reproduce".
Steps To Reproduce1. Generate a coupon with 10% discount.
2. Activate "Skip all negative Discounts" for this category:
http://demoshop.oxid-esales.com/professional-edition/Kiteboarding/Supplies/
3. Now put one non-variant-article and one variant-article from this category into basket.
4. Redeem the coupon.
5. As you can see, there is a negative discount, although both articles are in a category with activated "Skip all negative Discounts"-option. This option doesn't work for variant-articles!
TagsCoupons, Product domain and basket rewrite, Variants
ThemeAzure
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

JaroslavHerber

2015-01-15 16:17

reporter   ~0010617

I think the reason is that variant-articles are not stored in oxobject2category-table. And oxarticle::skipDiscounts() looks only for articles which are stored in oxobject2category.

jurate.baseviciene

2015-01-19 10:31

reporter   ~0010621

Steps to reproduce:

1. Generate a coupon with -10% discount;
2. Activate "Skip all negative Discounts" for category Jeans;
3. Create product without variants and assign the product to category "Jeans";
4. Active the checkbox "Skip all negative Discounts" for category "Jeans";
5. Now put one non-variant-article and one variant-article from this category(Jeans) into basket;
6. Redeem the coupon;
7. As you can see, there is a negative discount, although both articles are in a category with activated "Skip all negative Discounts"-option. This option doesn't work for variant-articles!