add-to-cart-form-shortcode icon indicating copy to clipboard operation
add-to-cart-form-shortcode copied to clipboard

Support ajax add to cart

Open helgatheviking opened this issue 3 years ago • 0 comments

could possibly add a parameter to toggle ajax? typically an add to cart button needs to have add_to_cart_button and ajax_add_to_cart and the data-product_id attribute for it to automatically have the WooCommerce ajax add to scripts kick in.

Unsure how quantity inputs would be handled (possibly add data-quantity to the button. and finally, may not work well with custom product types.

helgatheviking avatar Jun 16 '21 22:06 helgatheviking