View Issue Details

IDProjectCategoryView StatusLast Update
0006150OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2024-01-31 15:52
Reportervanilla thunder 
Status acknowledgedResolutionopen 
Product Version4.9.4 / 5.2.4 
Target VersionFixed in Version 
Summary0006150: variants still can be ordered after parent has been deactivated
DescriptionoxArticle->getActiveCheckQuery() checks only the current article for being active or not.
After deactivating a parent article, it will not appear in frontend and user will get redirected to the start page when opening url of the deactivated parent or it's variants.

But at least "customers also bought" lists will contain variant articles, so they will appear in frontend because they are still active. And you can add them to your basket directly from the "customers also bought" list.
You can process the checkout and order this variant of a deactivated parent.
Steps To Reproduce1)order the following articles:
- KUYICHI 1/2 SLEEVE SHIRT (it has no "customers also bought" articles yet)
- coule of KUYICHI JEANS ANNA's variants, eg. 30|blue, 31|blue
2) finish the order
3) go to KUYICHI 1/2 SLEEVE SHIRT page and you will see jeans anna variants you have ordered in the "customers also bought" list
4) deactivate KUYICHI JEANS ANNA parent article
5) reload KUYICHI 1/2 SLEEVE SHIRT page, jeans variants are still there.
6) click "to cart" inside the "also bought" list -> variant will be added to your basket
7) Try to open their product pages -> redirect to start
8) process the checkout
9) you just have bought an article you should not be able to buy :)
Additional Informationin my opinion, te active check query should also check the parent article.
I managed to extend the function (we are still testing it on staging server) with a parent check:
TagsProduct domain and basket rewrite, Solution Provided, Variants
PHP VersionNot defined
Database VersionNot defined


has duplicate 0005802 closedQA Variants can still be ordered if parent is disabled 


vanilla thunder

2015-05-27 14:27

reporter   ~0010994

ups, just have found my old bug report :D


2015-12-07 16:22

administrator   ~0011367

bug is also present in the legacy branch as reported in the duplicate 0005802