Loopers and product variations

Hey guys,

We’re building a site that requires a layout for variations. i wanted to try loopers with that to make a gallery, show the variations info like swatches, prices and descriptions.

I couldn’t find a way to setup the looper query builder to do that and before i jump right into the query strings, i wanted to see if there was a way around it.

Specifically what looper provider should i use to get:

  • Price of the variation (normal and sale)
  • Name of the variation
  • Custom meta data “swatch”

I take it i just have to use the standard WC ones like price or name in the consumer but i have no idea what to do wit the looper provider here.

Hope you can help us out.

Hello @franticape,

Thanks for writing in! You would need a custom PHP code for your Looper Provider Custom that will return product variations. We recommend using the prefab WooCoomerce “Add to Cart” Form element and the Product Gallery in your custom layout. These articles may help you:

Cheers.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.