-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Cart Sales Rule with negated condition over special_price does not work for configurable products #14020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The problem manifests itself in the rule validation mechanism. For configurable products both the associated and the parent product is handed to the We have created a quickfix for this issue: bugfix-GH11178-configurable_product_sales_rule_special_price_validation.2018-02-06.diff.zip. It is only that, i.e. a quickfix. A more comprehensive fix would be to check |
@Filipe-Bicho, thank you for your report. |
I am working on this at #dmcdindia |
#kiev-cd |
…ce-does-not-work-for-configurable-products. Use configurable product`s children for shopping cart rules validation for cases when attribute exists for children only (E.g. special_price)
…ce-does-not-work-for-configurable-products. Revert "Removed dependency to configurable product" This reverts commit d2a0de8.
…ce-does-not-work-for-configurable-products. Made getProductToValidate method private according to Technical Guideline (2.7)
…ce-does-not-work-for-configurable-products. Added configurable product to dependencies
…cial-price-does-not-work-for-configurable-products. Added configurable product to dependencies" This reverts commit 887ee4a
…gated-condition-over-special-price-does-not-work-for-configurable-products # Conflicts: # app/code/Magento/SalesRule/Model/Rule/Condition/Product.php
…ce-does-not-work-for-configurable-products. Restored \Magento\SalesRule\Model\Rule\Condition\Product to its previous state except PHPDocs.
…ce-does-not-work-for-configurable-products Removed an empty line.
…Cart-Sales-Rule-with-negated-condition-over-special-price-does-not-work-for-configurable-products
…th-negated-condition-over-special-price-does-not-work-for-configurable-products' into magento#14020-Cart-Sales-Rule-with-negated-condition-over-special-price-does-not-work-for-configurable-products
…ce-does-not-work-for-configurable-products. Unit tests coverage: case when child should be used
…ce-does-not-work-for-configurable-products. Fixed mock objects comparison
…ce-does-not-work-for-configurable-products. Fixed static tests.
…Cart-Sales-Rule-with-negated-condition-over-special-price-does-not-work-for-configurable-products
…al-price-does… #16342 - Merge Pull Request #16342 from novikor/magento2:#14020-Cart-Sales-Rule-with-negated-condition-over-special-price-does-not-work-for-configurable-products - Merged commits: 1. 90b6803 2. 2717cb1 3. d2a0de8 4. fae98c0 5. 9a35b45 6. 887ee4a 7. 0c9aa81 8. 4e68337 9. 5b95b22 10. 618f408 11. 7c8482b 12. e7130bf 13. 5a7e78a 14. 8d417ac 15. 90ff989 16. c52e0e8 17. 5c3154b 18. 51adb9d
Preconditions
Steps to reproduce
special_price
for promo rule conditions:special_price
special
Expected result
The coupon code "special" is not valid.
Actual result
You used coupon code "special".
The intention with the above mentioned sales rule is to exclude already discounted products from further discounting via a coupon code.
The text was updated successfully, but these errors were encountered: