Woocommerce – Product variations on category/product list page with add-to-cart
-
Hello,
I have setup a site on https://www.metrorestaurantnoida.com/menu/ with wordpress+woocommerce+grid/list plugin. This is a restaurant site for many food items with half and full plate with different price. I have created product variations in admin half/full for such food items with their prices respectively. But these products are showing ‘select options’ button on category pages which take it to product detail page. I want to display product variation dropdown on category/product-list page itself so that customer can select and add the food half/full plate to cart without going to product detail page. The selected variation can reflect the price for easier user understanding. I tried a lot and also spent many hours on net for its proper solution but no good findings. I think woocommerce should be compatible for such kind of functionality with little customization.
Please help me in this, if its possible.If its not possible with woocommerce, alternatively it will be also okay to open a popup on clicking ‘select options’ button on product-list page, showing variations in that popup window with variations dropdown and their price with add to cart button that can add products to cart without going to product detail page.
The overall thing needed I think is to get the product object on product list page for each items in loop along with their variations and prices with add-to-cart and proper links. But dont know what and how to write where to obtain this in full result. Hope someone help with little help idea and code.
- The topic ‘Woocommerce – Product variations on category/product list page with add-to-cart’ is closed to new replies.