Missing from cart

Ron-Doughty
Contributor
Contributor

Reference:

http://supersabresociety.com/reunionregistrationformpaypal2013.htm

After using this page for a reunion registration for several months, now when the "Registration"  "Add to Cart" button is selected, and then "Continue Shopping" is selected, and then another "Add to Cart" button is selected, the Registration item disappears from the cart.  This has been reported by several customers and it happens to me when I test the system.  -Ron

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Looks like more of a web browser behavior issue, the more I test, the more browser pages are left opened.  Suggest trying the following tweaks to your item button code.

 

In Step 3 of the button creation process look at the bottom you will see "Advanced Variables".
Note the text box near the bottom of the page.
There you can insert extra variables.
Insert the "shopping_url" variable and value:
shopping_url=http://www.yourwebsite.com/your_page.html
There's no HTML extras, just the name of the variable, an equal sign and the value.

Enter the variable and value, then save the code.  Do this for each item button.  

Next,  Modify the Form target line for each of your item buttons on your web page:
Replace the variable target="paypal" with the variable target="_self".
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">

 

Also make the same change to your View Cart button. In addition to that change add

 the "shopping_url" variable to your View Cart button code
Add this line:

<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/your_page.html">

You can add this line after the first line of code:

 


Finally, after you have made your changes to your item button code, be sure to delete your web browser's cookies before testing the changes.   This ensures a clean start.    Delete the browser's cookies, temp files and history, then close the browser, reopen it and test your code. 

View solution in original post

Login to Me Too
3 REPLIES 3
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Looks like more of a web browser behavior issue, the more I test, the more browser pages are left opened.  Suggest trying the following tweaks to your item button code.

 

In Step 3 of the button creation process look at the bottom you will see "Advanced Variables".
Note the text box near the bottom of the page.
There you can insert extra variables.
Insert the "shopping_url" variable and value:
shopping_url=http://www.yourwebsite.com/your_page.html
There's no HTML extras, just the name of the variable, an equal sign and the value.

Enter the variable and value, then save the code.  Do this for each item button.  

Next,  Modify the Form target line for each of your item buttons on your web page:
Replace the variable target="paypal" with the variable target="_self".
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">

 

Also make the same change to your View Cart button. In addition to that change add

 the "shopping_url" variable to your View Cart button code
Add this line:

<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/your_page.html">

You can add this line after the first line of code:

 


Finally, after you have made your changes to your item button code, be sure to delete your web browser's cookies before testing the changes.   This ensures a clean start.    Delete the browser's cookies, temp files and history, then close the browser, reopen it and test your code. 

Login to Me Too

Ron-Doughty
Contributor
Contributor

Thanks for the info!

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.