Adding the id/class of the active variant in the archive / shop page
-
Is it possible to add a class or id to the active variant in the archive/store?
For example:
<ul class=”products columns-3″>
<li class=”wvs-archive-product-wrapper product current-variation-id”>
…
</li>
</ul>
I would like the current-variation-id class to change dynamically when the variant changes.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.