Adding quantity and variation to products
-
I have added this to my functions.php:
remove_action(‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’); add_action(‘woocommerce_after_shop_loop_item’,’woocommerce_template_single_add_to_cart’);I am using a shortcode on a page to show products from a specific category:
[product_category columns=”3” category=”XYZ”]The first code should add the variation dropdown and the quantity selector to the product, which it does.
However, the dropdown does not show the title and it can’t be selected. Also the add to cart button becomes sort of invisible?
Please see these this pictures:
What I get>
https://www.dropbox.com/s/9pzksoqhmn9bmm1/Image%202.png?dl=0Compared to this (single product):
https://www.dropbox.com/s/wr8qmqmazo2hbvg/Image%203.png?dl=0Any idea?
Running woowcommerce 2.2.7
The topic ‘Adding quantity and variation to products’ is closed to new replies.