Woocommerce for each attribute loop
how do you output variation attributes for an woocommerce product, where each attribute is in a seperate div? add_action( 'woocommerce_after_shop_loop_item_title', 'display_color_attribute', 5 ); function display_color_attribute() { global $product; if ( $product->is_type('variable') ) { $taxonomy = 'pa_color'; echo '<span class="attribute-color">' .…