August 15, 2013 at 10:24 pm #9497
Dear Tech Support:
When I click the Add to Cart button it does not go to the Checkout page. On the WP eStore settings page I have triple checked the following:
1. I have the correct URL for the checkout page
2. I have the box checked for Automatic Redirection
I have read all the forum support posts regarding this issue. I do not have a cache plugin, I do not have any conflicting plugins from your list, and I called my server host and the php session is working properly. I switched to the TwentyTwelve WP theme and the Add to Cart button still does not work. I tried the button both on FireFox and IE.
Here is the code that I have on my Checkout page:Code:[wp_eStore_cart_fancy1]
This is the code that I have on the product page:Code:[wp_eStore_fancy_display id=1 type=1 style=3 show_price=1]
Here is a link to the web site that is under construction:
Any help you can give me is greatly appreciated.August 16, 2013 at 1:40 am #57193wpCommerceModerator
Hi, I believe you have enabled the ajax option for “Add to Cart” buttons:
Your “Add to Cart” button is still functioning properly but it’s adding the product to the shopping cart via ajax. If you go to your checkout page afterwards you will see that the product has been added to the cart already: [http://thetravelingsoulpress.com/checkou]
If you want to dynamically add a product to the shopping cart (using ajax) I don’t think you need to use the “automatic redirection” option. You can just directly show the shopping cart on your ebook page.
Alternatively, Turn off the ajax option on the add to cart buttons and then you can use that auto redirection after the item is added to the cart.August 16, 2013 at 2:56 pm #57194
Thank you for your reply. Having the cart directly show on the same page as the products is not a good look for my client’s web site. They prefer having a dedicated checkout page.
When I submitted my support post to you I did know that if you click the Add to Cart button that the item does appear on the Checkout page. What the Add to Cart button does NOT do is automatically take you to the Checkout page when it is clicked…like yours does on this web site [http://www.tipsandtricks-hq.com/checkout]
I am not sure “where” I might have enabled the ajax option for the Add to Cart buttons. Where might that ajax option be? I have looked on the Settings page and do not see anything regarding ajax.
Also, I followed the instructions on the link you provided above changing the “0” to “1” in the line of code found in the eStore_advanced_configs.php file and my entire web site stopped working giving me this error message:
“blockUI requires jQuery v1.2.3 or later! You are using v1.10.2”.
Even my WP Dashboard was effected. Seeing if it was my theme causing the issue I changed the line of code back to “0” and then changed my theme to the default WP TwentyTwelve. I then changed the line of code to “1” again. I got the same “blockUI” error message with the TwentyTwelve theme. I did the same test process using the new WP TwentyThirteen theme. Same error message.
So I don’t think changing that line of code in the eStore_advanced_configs.php is the answer.
Thank you for your help in this.August 16, 2013 at 11:50 pm #57195
No, you shouldn’t’ have to do any change. Load a fresh copy of the plugin to erase any changes you made:
Are you using the advanced variations addon? That one uses ajax so it could be coming from there. I have sent you an email to get access to the site so I can check it out.August 17, 2013 at 3:05 pm #57196
I did not load a fresh copy of your plugin yet. However, I did deactivate your eStore Variations UI Addon and now when I click the Add to Cart button it does redirect to the Checkout page. So it has something to do with your Variations plugin.
It is important that I have the Variations plugin as my client will be selling books in several formats (epub, mobi, paperback, etc).
Thank you, again, for your assistance.August 18, 2013 at 12:27 am #57197
okay yeah the advanced variations addon uses AJAX.
You actually don’t need to use that addon just to be able to use variations. That addons makes it easier to configure the variations but the plugin will work fine without it.
The following documentation tells you how to configure variation in the core plugin without that addon:
Can your setup work without that addon by any chance?August 18, 2013 at 1:26 am #57198
I added some enhancement in the advanced variations addon so it will do the auto redirection to checkout page too. Please download a new version of the advanced variations addon now and test it out.August 19, 2013 at 3:47 pm #57199
IT WORKED!!! Thank you for adding the enhancements to the addon. My client would NEVER have been able to do all that coding for their variation products.
I truly appreciate all your assistance. You guys rock!
- You must be logged in to reply to this topic.