• Resolved tigerrockmartialarts

    (@tigerrockmartialarts)


    I have discovered that line 184 will mark variable products to have the ‘ajax_add_to_cart’ class. This unfortunately will cause their buttons to add the parent product to the user’s cart, instead of just linking to the product page, so that user’s can choose which option they want.

    I believe this should fix the issue:
    if ($ajax_cart_en && $mmaxEnable == 0 && $product_type !='variable') { $ajax_class = 'ajax_add_to_cart'; }

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add to Cart on Variable products’ is closed to new replies.