- This topic has 18 replies, 5 voices, and was last updated 12 years, 6 months ago by .
- 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 › eStore – want to keep cart contents unless successful transaction
Tagged: download link, empty cart, not empty cart, return cart
Well, looks like your PDT is working fine. So the cart should have gotten cleared after displaying the links on the “Thank You” page. What version of the plugin are you using?
the latest I think 6.6.2
Just to make sure… you don’t have multiple copies of the eStore plugin in your “plugins” folder do you? (you can log in via FTP and browse to the plugins folder to check this).
Lets try the following:
Open the “eStore_payment_submission.php” file from the eStore plugin and find the following block of code:
if(empty($PDT_auth_token)){
reset_eStore_cart();
}
Once you find it change it to the following:
reset_eStore_cart();
Now, save your changes and do a test.
Admin,
That did the trick I ommited that line and I uncommented reset_eStore_cart (); all is well.
Thanks for your help.