Plugin Description

This extension for WooCommerce allows you to render an AJAX button with an associated quantity field. Create effective and functional buttons to use for your or your customers convenience anywhere on your site you want!

Shortcode Documentation

The required field for every button is the product_id, with two optional fields, variation_id and title (to reflect the label before the button)

Use only the required parameters to make a quantity box and add to cart button for a simple product with the title to the left:
[enh_ajax_add_to_cart_button product=42 /]
Refer to screenshot 1 below to see the output

Use the product and variation parameters to make a quantity box and add to cart button for a specific variation of a variable product, with the fully qualified name:
[enh_ajax_add_to_cart_button product=3312 variation=3313 /]
Refer to screenshot 2 below to see the output

Use the product and variation parameters to make a quantity box and add to cart button for a specific variation of a variable product, with only the variation attributes listed separated with a space as the name:
[enh_ajax_add_to_cart_button product=3312 variation=3313 title=attributes /]
Refer to screenshot 3 below to see the output

Use the product and variation parameters to make a quantity box and add to cart button for a specific variation of a variable product, with no name listed:
[enh_ajax_add_to_cart_button product=3312 variation=3313 title=none /]
Refer to screenshot 4 below to see the output

Manual Installation

Upload the entire /enhanced-ajax-add-to-cart-wc directory to the /wp-content/plugins/ directory.

Activate WooCommerce Cost of Shipping through the ‘Plugins’ menu in WordPress.

Enjoy the easy input of the flexible AJAX add to cart buttons on any page on your site!