Magento2: Magento 2.2.6 Cart Price Rules for Bundle Product Items

Created on 8 Jul 2019  路  21Comments  路  Source: magento/magento2

Preconditions (*)

  1. Magento 2.2.6
    2.

Steps to reproduce (*)

  1. Create 2 simple products
    2.Create a Bundle product and add those 2 simple products as options in Bundle product
  2. Create a cart price rule Condition : Items in cart matching SKU is one of simpleproduct1, Bundle product and Action as 100% discount
  3. When i have added Bundle product with Simple product 1 , apply coupon gave me 100% discount
  4. when i have added Bundle product with simple product 2, apply same coupon gave me 100% discount

Expected result (*)

  1. [Screenshots, logs or description]
  2. Coupon should only applied for Bundle Option given in rule , it should not apply for other options in Bundle

Actual result (*)

  1. [Screenshots, logs or description]
  2. All Bundle Options are able to apply for coupon
Format is valid non-issue

Most helpful comment

@krishprakash i am not able to reproduce this issue in 2.2.9-dev , i think this issue might be fixed in later versions 2.2.6 i guess. Thanks for helping with testing this and appreciate your help.

All 21 comments

Hi @mangamuri. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@mangamuri do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

Hi @krishprakash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [x] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [x] 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [x] 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • [ ] 6. Add label Issue: Confirmed once verification is complete.

  • [ ] 7. Make sure that automatic system confirms that report has been added to the backlog.

Hi @mangamuri.
This is not an issue.
You should add that specific SKU in Action conditions if you want to apply rule just for such SKU (or cart items you specify in action conditions).
image
You can find "action conditions" just below Actions.
Feel free to reopen it in case you can confirm that it's reproducible on Vanilla Magento instance.
Thanks.

@magento give me 2.2.6-develop instance

Hi @mangamuri. Thank you for your request. I'm working on Magento 2.2.6-develop instance for you

@krishprakash thanks for testing it. Could you please share your bundle product details and conditions screenshots . I have tried action rule as per your screen shot but no luck. Anyways I am requesting instance to reproduce this.

FYI:-
Bundle product child:
image

Action Condition:
image

@krishprakash Thanks.

Here is my screenshots:

Bundle product:

image

image

Sales Rule -> Rule setup

image

Sales Rule -> Condition and Action

image

StoreFront Behavior: with simple1 product

image

with simple2 product

image
If I use sku is simple1 in condition and action coupon is not applying so I have tried adding bundle sku using one of or contains also..

Hi @mangamuri. Thanks for response.
Please review attached screenshot
image

@krishprakash
I have tried that option as well when i use sku is simple1 condition my coupon is not working as expected.

image

I have tried tweaking both conditions and actions with various combinations, only working one is for me is the sku is one of simple1,bundle.

Please verify once in Vanilla Magento instance
image

@krishprakash Thanks i assume you have tested this in 2.3.x?

develop

Hi @mangamuri. Thank you for your request. I'm working on Magento 2.2.6-develop instance for you

@magento could you please give me 2.3.x instance as i would like to test that with latest release.

@magento give me 2.3-develop instance - upcoming 2.3.x release

Hi @krishprakash. Thank you for your request. I'm working on Magento 2.3-develop instance for you

Hi @krishprakash, here is your Magento instance.
Admin access: https://i-23610-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@magento give me 2.2-develop instance

Hi @krishprakash. Thank you for your request. I'm working on Magento 2.2-develop instance for you

Hi @krishprakash, here is your Magento instance.
Admin access: https://i-23610-2-2-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

Please verify once in above both Vanilla Magento instances and add your feedback
Thanks.

@krishprakash i am not able to reproduce this issue in 2.2.9-dev , i think this issue might be fixed in later versions 2.2.6 i guess. Thanks for helping with testing this and appreciate your help.

Was this page helpful?
0 / 5 - 0 ratings