Cart not updating after adding product
-
Products in my project has two attributes: size and color.
I need link variations by color, not by size. Products is a variable product.I create few products by guide, it’s ok, plugin work. But if i select second attribute, button still stay inactive.
OK, i set for each product default attribute settings. OK, selected product sizes is work and add to cart button too. But, minicart don’t refresh after product added to cart, only after page refresh.
I tryed added plaguin html into variations form by shortcode:
add_action('woocommerce_before_add_to_cart_button', 'replace_color_variations');
function replace_color_variations() {
echo do_shortcode( "[wpclv]" );
}but this doesen’t work.
Please help my theme autoupdate cart functional work with plaguin.
- The topic ‘Cart not updating after adding product’ is closed to new replies.