Actually it works with WC 3.0 and WP 4.81,
there’s just two php notice:
1) accessing directly to WC object properties is now deprecated, this happens on $product->product_type, instead you need $product->get_type() from WC 3.0
2) undefined variable $args in woocommerce_template_loop_add_to_cart, it has been sufficient to add it ad default variable in function, like this:
woocommerce_template_loop_add_to_cart($args = array())
and everything works as expected
-
This reply was modified 7 years, 2 months ago by bluantinoo.
-
This reply was modified 7 years, 2 months ago by bluantinoo.