Skip to content

Category Condition in cart price rule not working #16205

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

Closed
shachiarkatkar opened this issue Jun 18, 2018 · 3 comments
Closed

Category Condition in cart price rule not working #16205

shachiarkatkar opened this issue Jun 18, 2018 · 3 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@shachiarkatkar
Copy link

shachiarkatkar commented Jun 18, 2018

When we setup a cart price rule with category condition in product sub-selection, all categories are not shown in category tree and even after selecting any of the visible category coupon is invalid

Preconditions

  1. Magento 2.2.4
  2. PHP 7.0.27
  3. Mysql 5.7.21
  4. Nginx

Steps to reproduce

  1. Navigate to Cart price rule tab and create a cart price rule
  2. Add condition of category
  3. Apply coupon on cart or checkout

Expected result

  1. All categories should be visible in category condition tree
  2. Discount Coupon should be successfully applied / Discount should be shown in summary

Actual result

  1. Not all categories are shown in category tree of condition tab in cart price rule
    screen shot 2018-06-18 at 11 56 10 am

  2. After selecting any category the coupon is invalid
    screen shot 2018-06-15 at 7 27 55 pm

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Jun 18, 2018
@hostep
Copy link
Contributor

hostep commented Jun 18, 2018

@shachiarkatkar: this sounds like a duplicate of #15121, for not being able to see all categories, although I don't know if the fix mentioned in that thread (d9dc66c), will also fix the fact that the coupon is invalid.

Feel free to close this issue, if you believe this is a duplicate.

@shachiarkatkar
Copy link
Author

@hostep its not a duplicate, I am facing two issue the category tree not loading properly and coupon code invalid even after . I can see some categories in tree but not all of them there is no error in console. The coupon code is invalid even after applying visible categories as shown in screenshot.

@kkrieger85 kkrieger85 added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Jun 19, 2018
@ghost ghost self-assigned this Jul 5, 2018
@ghost ghost added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Fixed in 2.3.x The issue has been fixed in 2.3 release line Fixed in 2.2.x The issue has been fixed in 2.2 release line and removed Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release labels Jul 5, 2018
@ghost
Copy link

ghost commented Jul 5, 2018

Hi @shachiarkatkar Thank you for your report. The issue has been fixed in 2.2.5 release https://github.com/magento/magento2/tree/2.2.5

@ghost ghost removed the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jul 5, 2018
@ghost ghost removed their assignment Jul 6, 2018
@ghost ghost removed the Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed label Jul 20, 2018
@ghost ghost closed this as completed Jul 20, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

4 participants