Russ
Well-known member
- Affected version
- 2.3.4
We like having the style variation menu in other places outside of the footer navigation area. Some areas we've done have been the user dropdown, off-canvas, next to the search icon in the nav. I've realized though the JS appears to really only properly work if the footer one is completely removed from PAGE_CONTAINER.
Guessing it's to do with the approach on the JS:
- Menu won't auto close when a new variation is selected
- The "is-selected" won't toggle for each variation
Guessing it's to do with the approach on the JS:
Code:
const menu = document.querySelector('.js-styleVariationsMenu')
Last edited: