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

Changes to cart.items results in unwanted class/functionality duplication #216

Open
LRV opened this issue Jan 24, 2022 · 0 comments
Open

Comments

@LRV
Copy link

LRV commented Jan 24, 2022

I am modifying the markup created with rv-each-item="cart.items", adding a class and extra on click to one line item after event "cart.requestComplete" fires. Which works fine, but as soon as I remove an item or add a new item from the cart page, that class and new onClick gets duplicated on the the new line item. I don't see why this would happen or the purpose for this, so it seems like a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant