Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #217: variant bug when page has several cartButtons
We have to properly reset the view params, so that we do not accidentially pick up params from an earlier rendering. Unfortunately, we are using some dynamic properties, what makes that slightly harder and more brittle than necessary. We also have to make sure that there is only ever a single element with a certain ID. Since there is no need to have an ID for the cart buttons, we change that to a class. This is a BC break, though, due to customizations.
- Loading branch information
Showing
4 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters