Skip to content
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

Customize button don't update ProductContext correctly #79

Open
gustavopvasconcellos opened this issue Dec 9, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@gustavopvasconcellos
Copy link
Contributor

Describe the bug

TL;DR: We configurated an assembly options attachment in some products and while we tested native components they didn't work.

This product below have other assembly as an assembly options, this enables the "Customize" button and opens a Modal on click.

https://mcdon144--acctglobal.myvtex.com/mcproductrefid136/p

But the ProductContext is updated with the assembly options of the combo:

image

And the combo haven't been updated on his assembly option, the correct assembly is "Lanche Generico":

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://mcdon--acctglobal.myvtex.com/mcproductrefid136/p
  2. Try to change the options and debugg the add to cart button.

Expected behavior
The correct behavior is to change the assembly option items, not to add new assemblies on the main product.

@gustavopvasconcellos gustavopvasconcellos added the bug Something isn't working label Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant