Currently in Woocommerce if you have a variable product, it will replace the ‘add to basket’ button with a ‘select options’ which then takes you to the product page were you can select the option from dropdown and then add to your basket –
I’m looking to modify this so if the product has variations – display the dropdown in the loop_shop.php with a ‘add to basket’ button so users can add variable products to their basket straight from the catalogue page – like this:
Would be awesome, I’m looking to do something like this too. Have you had any luck yet?
The file single-product\add-to-cart\variable.php handles the processing, so would need to modify this then call it on the product archive page. If I have any luck I’ll post back but might be a bit too much for me.