Tips and Tricks HQ Support Portal › Forums › General Stuff › Instructions/F.A.Q › Explanation of Why the Cart Adds Another Item After a Page Refresh
Tagged: extra item in cart, refresh page, reload page
- This topic has 5 replies, 5 voices, and was last updated 13 years, 5 months ago by verity.
-
AuthorPosts
-
November 17, 2010 at 1:38 am #2248IvyMember
A few of our customers have asked the following question.
“After I refresh the page another item gets added to the cart why does this happen?”
The answer is:
If you refresh the page using the refresh button or the “F5” key, the browser not only reloads the page it performs your last action on that page too. So if the last action that you performed on that page was “add an item to the cart” it will do that action again which is why you see the same item being added to the cart. This is just how browsers work. If you want to just load the page then simply place your mouse cursor on the address bar and hit enter… this will just load the page rather then refreshing the page which reloads the page including your last action.
December 8, 2010 at 8:26 am #26622twoonbayMemberThe only way I found to prevent this, or at least try to, is to place WP-eStore in a text widget and display a text block
“PLEASE NOTE: Reloading or refreshing a page will result in the same item being added to the cart twice. We recommend you use the website navigation menu ONLY.”
Not the perfect solution by any means but refunds are a pain in the butt.
December 8, 2010 at 2:45 pm #26623wzpModeratorJune 3, 2011 at 8:41 pm #26624verityMemberI have a related question. When I add something to the shopping cart, the page acts like it’s reloading, but it comes up blank. So then I refresh. Nothing happens, the page it still blank. So then I refresh again. Still nothing. One more time. Still nothing. Then I hit the back button, and my page loads, but I have three of the same item in my shopping cart.
Is there a trick to getting the page to load correctly after adding something to the shopping cart?
On a related note, can you explain how to “place WP-eStore in a text widget?” I know how to make a put a text widget on a page, but not how to add a plug-in to a widget.
June 4, 2011 at 2:22 am #26625amin007ParticipantTo me it looks like you have checked the “Automatic redirection to checkout page” option from the settings but did not specify a value in the “Checkout Page” field in the settings so the plugin doesn’t know where to redirect to. Have you left the “Checkout Page” field empty?
June 4, 2011 at 3:01 am #26626verityMemberThat was it! Thanks. I just unchecked that option and it works fine.
-
AuthorPosts
- You must be logged in to reply to this topic.