Support » Plugin: WP eCommerce » [Plugin: WP e-Commerce] Disable ajax on add to cart
4 years, 8 months ago
Is there a way of disabling ajax on add to cart button so it goes to the cart/checkout page when clicked? This is very useful for stores where people buy just one product at a time.
4 years, 4 months ago
A quick workaround, without hacking WP E-Commerce core :
Open these files (located in your current theme) :
And find the product form in each of them :
<form class="product_form" ... >
All you need to do is to add within this form is :
<input type="file" name="fake_file_to_disable_ajax" style="display: none;" />
Nice! what a cool way to avoid messing with core files!