Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Items not being added to cart
Tagged: add to cart, empty cart
- This topic has 7 replies, 3 voices, and was last updated 14 years, 2 months ago by amin007.
-
AuthorPosts
-
September 22, 2010 at 2:23 pm #1901lclarke522Member
Hi. I am setting up a new store, and I am finding that the Add to Cart button only works when called from the main http://lisaclarke.net/downloads page. If I try to include a product on a post, or on a category page like http://www.lisaclarke.net/downloads-paint-shop-pro-scripts/ the Add to Cart button does nothing.
Any ideas?
Thanks!
September 22, 2010 at 2:40 pm #24664wzpModeratorWhich version of eStore are you using, and what short codes or PHP codes are you using for those buttons?
When I first tried link #2, the Add To Cart did nothing, like you said. I then tried link #1 and it worked. But then when I went back to link #2, it suddenly started working.
September 22, 2010 at 2:48 pm #24665wzpModeratorWhich version of eStore are you using, and what short codes or PHP code did you use?
When I clicked link #2, it behaved as you described (nothing happens). I then tried link #1, which worked. But when I went back to link #2, it began working.
September 22, 2010 at 2:56 pm #24666lclarke522MemberI’m using eStore v4.3.4.
When adding products individually (like the test one on the main download page, and on any posts I’ve tried to add to) I use the shortcode [wp_eStore_fancy1 id=#]
On the category pages, I am using [wp_eStore_category_products:category_id:#:end], but I was initially also using that code on the main page (before I decided to make separate category pages) and it worked then.
(or did it? It’s all getting very confused in my head at this point!!)
Thank you for your quick reply.
September 22, 2010 at 3:14 pm #24667lclarke522MemberIn looking at it again, I’d say there’s a delayed reaction. It appears items are being added to the cart, but they don’t display there for a while. I don’t have a cache plugin running or anything. Is there something else that can cause a several-minute delay like that?
September 22, 2010 at 4:03 pm #24668lclarke522MemberI figured it out! In some cases, the URL is being prefaced by a “www” and in others, it’s not. The system is seeing that as two separate shopping carts.
Now I just have to figure out how to ensure that the URL remains consistent throughout the session…
Thanks for your help!
September 22, 2010 at 4:43 pm #24669wzpModeratorThe neat thing about time zones, is that it encourages us to “mull things over” while waiting for the other person to respond
I think an audit of all WordPress, eStore and any other places where you have your URLs set would resolve the matter.
September 23, 2010 at 3:16 am #24670amin007ParticipantPlease make sure you have the “http” in your URLs otherwise WordPress thinks it’s a relative URL and it doesn’t work out nice.
-
AuthorPosts
- You must be logged in to reply to this topic.