A client of ours is currently using the MarketPress eCommerce platform. Due to the nature of the product, we needed to create a custom template to handle the configuration of the product that was being ordered. The issue is that while everything displays properly on the front end, upon adding the item to the shopping cart by clicking the "add to cart" button (which seemed to work on previous version of this eCommerce plugin, i.e. before version 22.214.171.124), a) the page redirects to the cart page and b) no items are added to the shopping cart. Here is what the custom form looks like on our custom page template:
<form class="mp_buy_form" method="post" data-ajax-url="https://www.move2perform.com/wp-admin/admin-ajax.php?action=mp_update_cart" action="http://www.move2perform.com/store/cart/">
<input type="submit" class="mp_button mp_button-addcart" name="addcart" value="ADD TO CART" />
I made the data-ajax-url similar to the default add to cart functionality, but nothing seems to be happening still. When I try to view my cart, it is always empty. Has there been a fundamental change regarding to the add to cart functionality recently? Thank you for pointing me in the right direction.