WP Shopping Cart Troubleshooting

Categories: Additional Resources

Can’t Remove an Item from the Shopping Cart

Make sure you haven’t included special characters like apostrophe (‘) in your product name.

The Price Shows up as $0.00 in the Shopping Cart

Make sure you have entered the Price to two decimal places and didn’t put any symbols or characters. eg. 10.00 or 6.70 or 1999.95 etc (Do not put currency symbol in the price field)

NextGen Gallery doesn’t show the “Add to Cart” buttons correctly

  • Make sure the wp eStore template file is in the “view” directory of NextGen Gallery.
  • You using something similar to the following to display the gallery:

left_bracket2nggallery id=1 template=wp-eStore]

Variation Control Not Working

Please make sure your theme’s “footer.php” file has a call to the wp_footer() function of WordPress or it won’t add the javascripts in the footer. Many themes are not designed according to WordPress standard and causes problems. Simply add the following line in your “footer.php” file to solve this:

<?php wp_footer(); ?>

Related posts

Subscribe to Tips and Tricks HQ to stay informed

twitter_icon

43 Responses to “WP Shopping Cart Troubleshooting”

  1. Iba Says:

    I am trying to add the shipping cost but it’s not pulling up in the shopping cart.
    Here’s the code I put in:
    [wp_cart: FFT NB Gingerbreadman:price:9.00:shipping:4.95:end]

  2. admin Says:

    @Iba, I just tested that exact same code that you are entering on my test site and it’s working fine… can you please make sure you have the latest version of the pluing? The latest version of the plugin can be download from the following URL:

    http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768

  3. DeBorah Beatty Says:

    Is there a way to set a standard shipping price, but not have it apply to digital products? I have a physical book, CDs and then several ebooks I’m selling through my site.

    Thanks.

  4. Ivy Says:

    Hi DeBorah Beatty, Yes there is a way to do this.
    The following post will explain this in more detail (option 1):

    http://www.tipsandtricks-hq.com/ecommerce/how-the-shipping-cost-calculation-works-in-wordpress-estore-50

    Ivy

  5. DeBorah Beatty Says:

    Thanks, Ivy, but I’m not using the estore plugin and the option to use the Paypal shipping option is not available in the simple shopping cart plugin. (wish it were, that would be easy)

  6. KP Says:

    Hi. Great plug-in. Variation control is not working in the simple shopping cart. Can someone show me an example of the code?
    Thanks

  7. KP Says:

    Follow up to my last post, would this be correct? This is what I have.

    [wp_cart:Banana Personalized BOOK:price:30.00:var1[HAIR COLOR|BLACK|BROWN|BLOND]:end]

  8. KP Says:

    I’m sorry for multi-posting. I got it to work but can only get 2 variables. Any tips?

  9. Ivy Says:

    Hi KP, This post should explain variation control a little more you will need to scroll down about 1/2 though the page:

    http://www.tipsandtricks-hq.com/ecommerce/simple-wp-shopping-cart-installation-usage-290

    Cheers,
    Ivy

  10. Alenka Says:

    Hi! First of all I have to say I’m very happy with your plugin (really easy to use and great documentation).
    But I have issues with the shopping cart. It works fine on one computer, and not on the other. When I click Buy button, it shows like there is nothing in the cart, then when I reload and click Buy again, the cart is shown corectly (with 1 qty), but when I hit Checkout, it shows error again, saying the cart is empty (in between it shows error -something like…..eStoreSubmissionPayment on line 227). What can be wrong?

  11. Alenka Says:

    the error is: Warning:Invalid argument supplied for foreach() in /home/…./wp-content/plugins/wp-cart-for-digital-products/eStore_payment_submission.php on line 227
    thanks for yoour reply,Alenka

  12. Ivy Says:

    Hi, Alenka

    Can you please send me a link to where this issue is happening so I can take a look at it?

    Cheers,
    Ivy

  13. Alenka Says:

    Hi,
    here is my sales page, when you click Buy, it goes to the Store (where the cart is) and then when you click Checkout, the error ocurred (in between the cart and Paypal)
    http://www.bestchildrenlessons.com/salesletters/law-of-attraction-games-for-children
    I already contacted my hosting provider and they upgraded php.ini, but the error is still there.
    Thanks, Alenka

  14. Alenka Says:

    One more thing. I tried it on one computer and it’s working, but not working on another. The only difference would be that I used the first one for PayPal payments before. When I log into Paypal on the other computer, my page works too. Anything to do with cache or cookies? I don’t use WP Cache or anything similar.

  15. Dave Says:

    I originally placed a buying spot on every page. The shopping cart won’t stay occupied. When you jump to another page, it’s empty.

    What am I doing wrong?

    I’m very new to this process…. thanks!

  16. Ivy Says:

    Hi Dave, 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.

    If you send me a link to where this is happening I can verify if it is indeed a PHP session issue.

    Let us know how this goes.

    Cheers,
    Ivy

  17. Victoria Says:

    I am trying to set up this shopping cart with the variable as follows:

    [wp_cart:Up up and away 11x14:14.99:PRODUCT-PRICE:var1[Finish|Matte|Glossy]:end]

    When I publish the post, it shows up the code, not the add to cart. Any ideas?

  18. Victoria Says:

    Sorry, to be more specific, the problem is here:
    http://www.rustykirkpatrick.com/2010/05/up-up-and-away/

  19. Ivy Says:

    Hi Victoria, It looks like you have a small error in your code

    [wp_cart:Up up and away 11x14:14.99:PRODUCT-PRICE:var1[Finish|Matte|Glossy]:end]

    The words product-price needs to me removed it should look like this.

    [wp_cart:Up up and away 11x14:price:14.99:var1[Finish|Matte|Glossy]:end]

    Please try this code and let me know how it goes.

    Cheers,
    Ivy

  20. Chris Kendrick Says:

    Im using this plugin on http://www.chromekingz.com, and it wont let me change the quantity. When I enter a quantity and press enter it remove my item from the cart. The website is up now if anyone can help, I have one rim as a product that im testing, please help me.

  21. Victoria Says:

    That fixed it! Thanks for the very quick response!

  22. admin Says:

    @Chris, it sounds like your PHP session is not working on your server. This link should guide you:

    http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

  23. Margaret Says:

    I’m having the same problem as Alenka… (above). I’m getting the following error:
    Warning: Invalid argument supplied for foreach() in /home/pagan11460/ctdrybasements.com/site/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 141

    It’s on this page: http://www.ctdrybasements.com/make-a-payment/

    Can anyone help me figure out what’s wrong? I’m using the latest version of WP and the latest version of the plugin.

  24. Ivy Says:

    Hi Margaret, I had a look at your site and I am not finding this error. Can you please tell me where this error is happening? What action are you doing when this happened?

    Cheers,
    Ivy

  25. Miguel Says:

    Hi,

    Great job!!!. I wonder if there is a way to use a custom “add to cart” button.

    Thanks

  26. Miguel Says:

    One more question:
    When selecting the products, if there ias a product already in the shopping cart, ant the page is reloaded, the quantity is automatically increased by one.

    That is, if you had selected 4 beers and the page is reloaded, it will show 5 beers.

    Is there a way around this?

    THanks.

  27. Ivy Says:

    Hi Miguel, 1.) To use a custom “Add to Cart” button image all you need to do is specify the image in the “Add to Cart button text or Image” in the settings menu of the Simple Shopping Cart.

    2.) This is how browsers work. When you refresh the page the last action you did will be repeated. So if you have added a product and you refresh the page it will then add the product again increasing the quantity. This has nothing to do with the plugin.

    Please let me know if you have anymore questions.

    Cheers,
    Ivy

  28. Gary Says:

    Just giving the plugin it’s first run. It looks good. However, the cart does not appear until I add a product. Also, if after adding a product(s) I remove all products, the cart disappears. I do not get the “Your cart is empty” message with an empty cart. Is there a setup step that I have missed?

  29. admin Says:

    @Gary, if you want to always display the cart then use the shortcode explained here:

    http://www.tipsandtricks-hq.com/forum/topic/when-nothing-is-added-to-cart-nothing-appears

  30. Tasha Says:

    I am piggy backing off of Miguel. Ivy you stated that the reason the cart adds another item is because the of the browser. Well I am having the same issue but what I have noticed is that when I refresh this site the quantity does not increase. I am using the same browser to view both my page and tips and tricks. So I’m confused. Why would the quantity increase on my site but not here. Did you do something different then when inputting your cart on the page?

  31. admin Says:

    Browsers work in mysterious ways :) (just kidding)

    If you hit refresh a page, the browser will always redo the last operation fully (remember you are not loading a page you are reloading (refresh means reload). So if your last operation was adding an item to the cart then refreshing the page immediately after this operation will add another item to the cart (Ofcourse the browser will give you a warning telling you about this… if you don’t like it then you can hit cancel and not go forward with this operation).

    Now why doesn’t it add an item to the cart when this is done on this site? Because we automatically redirect the customer to the checkout page after an item addition (this is a feature in eStore). So when you add an item there are actually two operations:

    1) Add the item to the cart
    2) Redirect the user to the checkout page

    The last operation was the redirect to the checkout page which is why the refresh do not add an item to the cart.

  32. LeeAnne Says:

    Using this at http://www.pacaqua.org/pacaqua_news/index.php?page_id=89, with paypal sandbox. On return from paypal, the cart does not clear. Can I manually reset the cart on page reload or something?

  33. Ivy Says:

    @ LeeAnne, Do you have “Auto Redirect” turned on in your “PayPal Profile”?

  34. LeeAnne Says:

    @ Ivy, yes — I’ve tried it both ways, no go.

  35. Ivy Says:

    Hi LeeAnne, I will send you an email regarding this as I will need to take a closer look at your site.

  36. jenette Says:

    I figured it out (above question).

  37. Kat Says:

    katrinauch.com/fitr

    I am having a problem with the shopping cart, it was giving me a supersized “add to cart” button and a huge shopping cart icon, which looks awful. I was able to fix it partially, but changing this code to 20% instead of the 45% that it came in as:

    .custom .format_text input, #commentform input, #commentform textarea {
    width:20%;

    }

    I am using thesis, and both my theme and wp are up to date. Please help.
    Thanks

  38. Ivy Says:

    Hi Kat, The following forum post will explain how to fix this issue:

    http://www.tipsandtricks-hq.com/forum/topic/images-appear-too-bigsmallstretched-on-thesis-theme#post-3193

  39. Kat Says:

    Thank you so much, worked like a charm

  40. Raymond Says:

    Just added the shopping cart plugin. I have a quirky problem. If I add two products to a page that are different prices, the shopping cart displays the amount of the first product selected, but not the second.

    E.g. Price of item 1 -$12.00, Price of item 2-$5.00. If I select item 1, and then item 2, the total owed is 24.00, not 17.00. If I start with item 2, the total owed is 10.00

  41. Ivy Says:

    Hi Raymond, Can you please send me a link where you are having this issue so I can take a look at what is happening?

  42. Bee Says:

    Hi,

    I just installed the shopping cart and am wondering how to use the buy button I designed rather than the button called ‘add to cart”? Is that a possibility?

    Thanks,

    Bee

  43. Ivy Says:

    Hi Bee, In the setting menu of the plugin you can specify a custom button image. All you need to do is put the URL of this image here “Add to Cart button text or Image”.


Leave a Reply

Featured Posts

Tips and Tricks Hot Items

wordpress_estore_icon
wordpress membership plugin icon
WordPress PDF Stamper Plugin
WordPress Affiliate Link Manager Plugin
infinity remix wordpress theme
wordpress_affiliate_plugin_icon