Creating a "View Shopping Cart" Button

davidbappleton
New Community Member

 I've been updating my website and creating new Add to Cart buttons, and all that's been going just fine.  At one point, I created a "View Cart" button, but failed to save the html code (my fault, I know.  I should save everything!), and I don't find it in my Saved Buttons page on PayPal.  Now, when I go back to create a View Cart button, I cannot find an option to do that anywhere.  How do I create a View Cart button at this point?

 

David

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Go back to your account and create a test or dummy add to cart button. When you go to view the test button, you should see a link to create View Cart button below your test button code.   Generate the View Cart code and copy to your site or page.  You can then go back and delete the test button.   Very easy!  Note, the View Cart button code only needs to be created one time, after that all you need to do is copy it from your web page.

View solution in original post

Login to Me Too
4 REPLIES 4
Solved

snowshoe
Frequent Advisor
Frequent Advisor

Go back to your account and create a test or dummy add to cart button. When you go to view the test button, you should see a link to create View Cart button below your test button code.   Generate the View Cart code and copy to your site or page.  You can then go back and delete the test button.   Very easy!  Note, the View Cart button code only needs to be created one time, after that all you need to do is copy it from your web page.

Login to Me Too

davidbappleton
New Community Member

Bingo!  Thank you so much!  That was exactly what I needed.

 

David

Login to Me Too

soapmom
New Community Member

This is making me nuts now... I have the same problem, but cannot find the 'view button'... it just shows the button (buy now) in a window to the side, no options to view, no options to view cart.

 

I found the Advanced option with a code, but I have no idea how to tweak the code to my store, so end up with an error. 

 

Not sure why this has to be so complicated, everything else about setting up buttons is simple.

 

How do I create a View Shopping Cart button, when I have no idea how to set the parameters? Ie., <input type="hidden" name="business" value="your business name.com ">

 

I somehow found another link for view cart. However, it automatically places one of my products in the cart. That's why I wanted to regenerate it, so when you click on View Cart, it's empty until you actually put a Buy Now product in it, not default add a Buy Now product someone may not want (and looks like you're trying to shove at them).

 

Please, how do I create a blank View Cart? Thank you for your help.

Login to Me Too

snowshoe
Frequent Advisor
Frequent Advisor

Assuming you do have either a Premier or Business Account, if you follow my previous post, you should be able to find the link for creating the code.   If still no luck, see the example below:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<title>Test</title>

<!-- START META TAG SECTION -->
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta http-equiv="Content-Language" content="en">
<!-- END META TAG SECTION -->



</head>

<body>

<!-- INSERT TEST CODE HERE -->

<!--  Start of View Cart Button Code  -->
<form target="_self" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- If using a Business or Company Logo Graphic, include the "cpp_header_image" variable in your View Cart code. -->
<input type="hidden" name="cpp_header_image" value="https://yourwebsite.com/logo.jpg"> 
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="display" value="1">
<!-- Replace "business" value with your PayPal Email Address or Account ID -->
<input type="hidden" name="business" value="your email address">
<!-- Replace value with the web page you want the customer to return to -->
<input type="hidden" name="shopping_url" value="http://www.yourwebsite.com/Shop.html">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_viewcart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form> 
<!--  End of View Cart Button Code  -->




<!-- END TEST CODE SECTION -->



</body>
</html>

 

Login to Me Too

Haven't Found your Answer?

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