View Issue Details

IDProjectCategoryView StatusLast Update
0005486OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2014-03-04 11:29
Reportersimon_stark 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.8 / 5.0.8 
Target Version4.7.10 / 5.0.10Fixed in Version4.7.10 / 5.0.10 
Summary0005486: Discounts don't work for variant articles assigned via category
DescriptionWhen variants are assigned to a discount not directly, but via a category containing them but not their parent article, discounts won't work for said variants.
Steps To Reproduce1. Create a new (hidden) Category
2. Assign one or more Variants to that category (Important: do not assign the parent article! )
3. Create a new ddiscount.
4. Assign the category created in step 1. to the newly created discount
5. Put the variant you assigned in 2. into the basket -> Discount doesn't apply
TagsCategory, Discount, Variants
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0005520 acknowledged Range price is not calculated correctly when variant has discount 

Activities

aurimas.gladutis

2013-11-18 17:10

reporter   ~0009280

Fixed. Now oxarticle::getCategoryIds will take into account categories assigned to variant and its parent categories, so that discount would be assigned to variant.