How do I program the continue shopping button to return to my site?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just setup Paypal add to cart button and it works great. Where I need help is when I click on the button it takes me to paypal shopping cart area but when I click on the continue shopping button I doesn't return to my website. How do I program this?
Thanks in advance for the help!!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am looking at my web page and they are there. The little arrow next to T-Shirts and Books. If you click on either one, a drop down appears with names. Click any of those and you will enter the page and see the buttons. If is not that obvious maybe I should rethink the layout? Anyway, click on one and slide over to click the second. Hopefully it will happen for you. I've been doing it and they all work, and the second screen overlaps as well. Third time's a charm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep, now I see the buttons.
You need to go back and read my other post in thread and then modify the code as I had explained.
*** If you are using "hosted" 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.
Next, after you have modified and saved your "hosted" item button code.
Modify the Form target line:
Replace the variable target="paypal" with the variable target="_self".
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_self">
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, close the browser, reopen it and then test your code.
Regards,
skier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I received your message and will try it. Thanks again. I don't remember this problem the first time I set up the account though. Curious. Is this a modification to the code that the button generated or an addition? Or a replacement? Bear with me, I will pick this up quickly. I promise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this is a tweak to the generated code because not all web browsers are equal when it comes to reading HTML code, the fix was developed sometime back through trial and error.
Many of us old dogs manually code our items for better functionally across the board because the online button creator has it limitations. It's just one of those tricks you pick up along the way.
You need to use the "shopping_url" variable to ensure that your web browser knows that you want to return to a specific page.
The HTML command target = "_self" puts the new document in the same window as the current document. Some web browsers like FireFox, Chrome and older versions of IE will open a new or second window to display a new document. In order to prevent having multiple windows open while doing a task, it's recommended to use target = "_self".
Regards,
skier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Once again. I get the _self okay. That seemed to work something. I think my problem is with the additional code for the button. I typed: shopping_url=http://www.grandpaandgranny.com/home_page.html. Is this wrong for the home to be the page or should it be the actual page that particular button is on? If so, does my name for the page go there, like book, or where do I get the ID? Please once more. My stomach is ripping my back out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get page can't be found now that I have put in HOME at the end of the shopping url. I guess this is hopeless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for trying to help. After all was said and done, switching the Paypal with _self was all it took. I made life easier, thanks to your indication that the multiple pages may have been a little unnecessary, and used only one level for the books and T-Shirts. It looks better anyway. If we get overwhelmed, I'll try something else. Ciao!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry so soon. I am not a programmer as I said. Am I typing in what you wrote verbatim after Insert the "...or am I supposed to look up something. What variable are you referring to? If I modify this button do I delete the first and replace it with this one? Or add this fix? SSS (Sorry So Stupid)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this still working for people? In MSIE8, if I change the target to _self from paypal, when I go to Add to Cart, Paypal tells me it can't figure out what I'm trying to do. Interestingly enough, it works in Chrome just as it's supposed to -- opening in the same window. Am I doing something wrong or has MSIE behavior changed?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.