Woocomerce get product variation info (size, color, etc)
-
So currently, im using the get_sku() function to list out my products, but id like to create something a little more readable.
At the moment its creating something like this
Product name
PRODUCT SKU SIZE COLOR 1
PRODUCT SKU SIZE COLOR 2
PRODUCT SKU SIZE COLOR 3what im trying to do, is instead of just using get_sku(), and letting that spit anything out, id like to echo out just its variation atributes(size, color, whatever the variation is)
so something like
Product name
SIZE COLOR 1
SIZE COLOR 2
SIZE COLOR 3except i dont know which function to use to get those.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Woocomerce get product variation info (size, color, etc)’ is closed to new replies.