Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › eStore 'add to cart' button not working
- This topic has 7 replies, 5 voices, and was last updated 8 years, 4 months ago by admin.
-
AuthorPosts
-
December 16, 2013 at 4:33 pm #10245DianaMember
On the following page I’m using an eStore add to cart button with a customised image for the button: [www.babysignlanguagerocks.com/courses/register]. When I click on the button instead of adding the item to the cart, it tries to access paypal directly and the paypal page says Error Detected Some required information is missing or incomplete …
I’m using the exact same thing with a different product ID on this page and here it works fine: [www.babysignlanguagerocks.com/] courses. I compared the product set up and cannot find any differences. In both cases I’m using ‘wp_eStore_fanci1 id=product ID’
Any thoughts why it’s not working in the first case I mention here?
December 16, 2013 at 9:50 pm #59686DianaMemberI have just done some more testing on that same page and what’s happening is strange:
I thought that maybe the product ID was corrupt, so I created a new one. I still have the same issue. When I use the exact same product ID further down on the page it’s working though.
[www.ourmamasrock.com/courses/register]
You can see the January course in position 1 is not working (linking to paypal with error message instead of adding to cart)
The FEbruary course underneath is working as intended, i.e. is adding to cart
The January course (used the same product ID as at the top of the page) underneath the February course is working.
Here is the code I used
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post” target=”_top”><input type=”hidden” name=”cmd” value=”_s-xclick” />[eStore_multi_currency_widget code=”USD,AUD,GBP,CAD,EUR”][wp_eStore_fancy1 id=11][wp_eStore_fancy1 id=8]
[wp_eStore_fancy1 id=11]
[wp_eStore_cart]
Thanks in advance,
Diana
December 16, 2013 at 10:06 pm #59687mbrsolutionSpectatorHello Diana, Can you add only the following shortcodes to the page in question. Remove all the HTML form code you added there (those are not necessary when you use eStore). Only use eStore’s shortcode to embed the purchase buttons.
[eStore_multi_currency_widget code=”USD,AUD,GBP,CAD,EUR”]
[wp_eStore_fancy1 id=11]
[wp_eStore_fancy1 id=8]
[wp_eStore_fancy1 id=11]
[wp_eStore_cart]
Remember, you can switch to the “Text” mode of the editor to see if you have any unnecessary hidden HTML code on that page.
Let me know how you go.
Kind regards
December 17, 2013 at 7:22 am #59688DianaMemberThank you, I have no idea where that additional code came from as I started out with exactly what you have put in your response. I regularly see things change in the code e.g. I use “center text” and my text centers as expected, then I work on other parts of the page and when I save my center command is gone. Is it possible that there is an issue with my WP theme?
Thank you.
December 17, 2013 at 10:14 pm #59689adminKeymasterYou may have another plugin which modifies your editor content (a plugin or theme like that could cause the kind of issue you explained). Also, when writing HTML code, if you make mistakes then that can also cause it when the editor goes to parse the code (it doesn’t work well with broken HTML code).
July 17, 2016 at 7:28 pm #59690highmountainMemberSuddenly, my add to cart buttons are not working. Nothing is being added to the shopping cart!
I’ve used [wp_eStore_add_to_cart id=2] for all of my products (different id #’s).
I have a checkout page with [wp_eStore_cart] on it and I have checked the redirect box in the settings. I did add the checkout URL for re-direction.
Clicking on a product add to cart button does nothing!
It was working yesterday, what happened?
I can’t do any business without my order buttons working..
Please Help!
July 17, 2016 at 10:25 pm #59691wzpModeratorPlease provide a link and test procedure, to replicate the error.
July 18, 2016 at 3:33 am #59692 -
AuthorPosts
- You must be logged in to reply to this topic.