- This topic has 6 replies, 2 voices, and was last updated 14 years, 7 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Add to Cart button not adding to WP Cart
We 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
Hi, 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
Ivy,
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]
Example 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>
Hi, Are you using the Simple Shopping Cart or the eStore?
Cheers,
Ivy
We 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.
Hi, 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