Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Add to Cart button not adding to WP Cart
- This topic has 6 replies, 2 voices, and was last updated 15 years ago by
Ivy.
-
AuthorPosts
-
April 13, 2010 at 7:51 pm #1065
livelydesigns
MemberWe have used this plug-in on other sites and it works well.
We cannot seem to get the cart to show clicked “Add to Cart” items.
Please advise
April 13, 2010 at 11:59 pm #19687Ivy
MemberHi, I had a look at your site and I believe you may be using the “Buy Now” shortcode instead of an “Add to Cart” shortcode.
Try using the following shortcode [wp_eStore:product_id:1:end] (Displays an “Add to Cart” button in a post or page)and see if this fixes the issue.
You can find a list of all the shortcodes and PHP functions here:
Let me know if you need anything else.
Cheers,
Ivy
April 14, 2010 at 4:23 pm #19688livelydesigns
MemberIvy,
Thank you for the reply.
I have tried the above you suggested.
I have made the “Add to Cart” buttons in PayPal and pasted the code in to get them to display as you can see.
I have also pasted this code in as well and do not get any buttons:
[wp_eStore:product_id:100-5:end]
[wp_eStore_fancy2:product_id:1:end]
[show_wp_shopping_cart]
April 14, 2010 at 4:25 pm #19689livelydesigns
MemberExample of code generated when making a button in PayPal
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="XXXXXXXXXXXXX">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>April 14, 2010 at 11:32 pm #19690Ivy
MemberHi, Are you using the Simple Shopping Cart or the eStore?
Cheers,
Ivy
April 15, 2010 at 1:33 pm #19691livelydesigns
MemberWe are using Simple Shopping Cart and we have been able to get the items to add to the cart.
The problem now is it will add only one of the last selected items to the cart. It is not adding multiple items.
April 15, 2010 at 2:00 pm #19692Ivy
MemberHi, This sounds like a PHP session issue. You will need to contact your hosting provider to fix this issue. They will need to check that the PHP session is turned on and configured properly. This should only take them a few minutes to do.
Let us know how this goes.
Cheers,
Ivy
-
AuthorPosts
- You must be logged in to reply to this topic.