Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Shopping cart doesn't appear on first click of "Add to Cart" button
- This topic has 2 replies, 2 voices, and was last updated 14 years, 5 months ago by kdelapla.
-
AuthorPosts
-
April 23, 2010 at 5:09 pm #1121kdelaplaMember
Just put together a site that uses your plugin. My only problem at the moment is that on my products page …
http://www.critical-thinking-tutorials.com/video-tutorials/
… if the page has been refreshed, the first click of an “Add to Cart” button doesn’t open the shopping cart on the page. It seems to just refresh the page, but I have to click the button a second time to get the cart to appear.
FYI, I’m just using the shortcodes on a wordpress page and the shopping cart widget in the sidebar. I’ve got the shopping cart shortcode at the bottom of the page, and the sidebar widget. I’ve tried it with all combinations (only shortcode, only widget, both) and I get the same behavior.
Any insight would be appreciated. Thanks.
Update:
I think I see the issue. When I click on the “Add to Cart” button it goes to the shopping cart anchor, but the URL is different. Here’s the URL after the click:
http://critical-thinking-tutorials.logic-fu.com/video-tutorials/#wp_cart_anchor
Notice the “logic-fu.com” addition. http://www.critical-thinking-tutorials.com is a subdomain of my logic-fu.com domain, and this is an equivalent URL I suppose. But it’s not really equivalent, it seems. Clicking the add to cart button jumps to this page with the anchor, but the shopping cart itself doesn’t appear, I need to click it again.
So, any advice would be appreciated. This is awkward functionality for my visitors.
Kevin
April 24, 2010 at 12:12 am #20045amin007ParticipantYou seem to have some URL rewriting issue on your server.. these are easy to fix up. Please read this post and it will explain the whole thing:
Incorrect Server Setup related to URL ReWriting – Cause and Effect
Let me know if it makes sense.
April 24, 2010 at 2:42 pm #20046kdelaplaMemberThis for the tip.
Update: problems are resolved; shopping cart appears now on first click
http://www.critical-thinking-tutorials.com/tutorial-store/
The problem was with the subdomain. This site was sitting in a subdomain of my primary domain. I needed to change this subdomain to be my primary domain. The support guys at Bluehost initiated that change for me. Then I had to move my wordpress installation into the public_html folder. Then I had to update my permalinks.
-
AuthorPosts
- You must be logged in to reply to this topic.