add-to-cart-form-shortcode
add-to-cart-form-shortcode copied to clipboard
Add [add_to_cart_form] shortcode that display a single product add to cart form for WooCommerce
Hi. We just had a client report that the shortcode isnt working correctly with variable products all of the sudden. Inside the variations_form div you start to see malformed or...
We are intentionally killing the current `$wp_query` [here](https://github.com/helgatheviking/add-to-cart-form-shortcode/blob/trunk/wc-add-to-cart-form-shortcode.php#L134) but that means that we have no way to detect what page we're currently on when we are inside the shortcode... making...
Hi, Great code but it doesn't seem to work for yith Booking and Appointment for WooCommerce. Any hack can be done? Thank you. X.
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_car`t and the` data-product_id` attribute for it to automatically have the...
When submitted, multiple shortcodes on the same page all get the same posted value. https://share.getcloudapp.com/geuwOr9z 
When an add to cart button is clicked, the page reloads but there's no "this product has been added" notification. Pages/posts probably don't have the `wc_print_notices()` function and not sure...
This should do nothing if WC is not active.