First off… wow.
I have been using X and Pro exclusively now for years, and it’s been a blast !
loopers, layout builders, grids, and the amazing list just goes on and on ! thank you ThemeCo !
I usually figure everything out myself, but right now I cannot figure this one out… maybe its not possible.
well… I can do this in PHP, easy, but i’m trying to move away from the custom php code, and trying to use Cornerstone, and Layout builder as much as I possibly can so that clients can do their own work if they want
ok… so…
on to the task…:
I’m using the Layout builder.
Creating a Woocommerce category page
for a clothing shop.
some products have variations.
for example T-shirt has colors
each variation has its own image, custom fields, and whatnot…
I’m trying to create a looper provider that loops over these variations and attributes, so that I can for example display the variation images, and variation custom fields.
could be used for a image slider, and so much more…
see example here:
and here is another example:
so the ultimate task was to see if I could loop over these variations, and then with some javascript magic switch the main image on hover
but i’m stuck on the first step…: how can I loop these variations in the amazing Layout builder.
please loop me
thanks