Good morning, I was investing to make an online store, and I need to know how I can do it so that when I hover over a product it shows me the available sizes. Something similar to what you see on this website: http://www.bobbies.com/es/117580-mocassins
Is this setting available in woocommerce adding attributes maybe?
How would you go about doing this size thing? Suggestions welcome. !
in this case you must edit your template, and use the wordpress functions that are provided for this.
Once you locate the file that lists the products, add:
global $product; $sizes = $product->get_attribute( 'sizes' );
So the variable
$sizes
will give you the sizes of that particular product, so just organize the CSS and that's it :)