Forum

Thread tagged as: Question, PayPal, Addons

Shop (Paypal) App link to cart?

Is there a means of linking to the cart using the basic Paypal Shop app?

I have a basic shop setup with a few products in, but want a link to view the cart should someone close the popup, keep browsing then decide they don't want to buy anything else and need to make the cart popup appear again.

Phil Bowell

Phil Bowell 0 points

  • 5 years ago

This will do it, with appropriate CSS to make the button or link match your other navigation. Substitute the xxxx for the email address of the PayPal account.

<div id="basket">
    <form target="paypalx" class="viewbasketx" action="https://www.paypal.com/cgi-bin/webscr" method="post">
        <input type="hidden" name="cmd" value="_cart">
        <input type="hidden" name="business" value="xxxx">
        <input type="hidden" name="display" value="1">
        <input type="submit" class="basket" value="Basket">
    </form>
</div>
Drew McLellan

Drew McLellan 2638 points
Perch Support

Thanks Graham!

Thanks Graham!