Skip to content

Commit

Permalink
Update ajax-add-to-cart.php
Browse files Browse the repository at this point in the history
  • Loading branch information
crftwrk committed May 31, 2023
1 parent 4c9daef commit c29635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion woocommerce/ajax-cart/ajax-add-to-cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function filter_wc_loop_add_to_cart_args($args, $product) {
// JS for AJAX Add to Cart handling https://aceplugins.com/ajax-add-to-cart-button-on-the-product-page-woocommerce/
function bootscore_product_page_ajax_add_to_cart_js() {
?>
<script type="text/javascript" charset="UTF-8">
<script>
jQuery(function($) {

$('form.cart:not(.product-type-external form.cart)').on('submit', function(e) {
Expand Down

0 comments on commit c29635d

Please sign in to comment.