On variation direct URL load, the “selected” state is not applied
-
Hello.
Example setup: product named “hat123” has variations “size”: s,m,l,xl… The default size is set to “s”.
When you visit a direct variation URL (for example domain/product/hat123/?attribute_size=xl) the “selected” state is not applied to the radio buttons.
Also, the “woovr-variation-active” class is applied to the default variation’s radio button (“s” in this case) instead to “xl” radio button.
The price, SKU, description… are correct, the user will actually add “xl” to the cart, but just the CSS is not properly applied to the radio buttons.
- The topic ‘On variation direct URL load, the “selected” state is not applied’ is closed to new replies.