Home / Tag Archives: Product variation in table/grid with add to cat button

Tag Archives: Product variation in table/grid with add to cat button

WooCommerce Product Variations Grid or Table form with add to cart button

woocommerce-product-variation-grid-table

WooCommerce Product Variations Grid or Table form with add to cart button. Copy and Paste the code in your theme function.php function find_valid_variations() { global $product; $variations = $product->get_available_variations(); $attributes = $product->get_attributes(); $new_variants = array(); // Loop through all variations foreach( $variations as $variation ) { // Peruse the attributes. …

Read More »
0

December 9, 2016

Clear all