Jump to content

Recommended Posts

Posted

I want to generate a 'buy now' button on an external website (not the shop's URL) which puts an item into the shop's basket and shows the basket directly (in a new window) ready for check out.

My imagination is: it must be something like <form action="http://myshop.com/cart.php" method=POST> as the URL to call. But then there must be some hidden fields telling the cart.php what to display.

Any help is welcome!

Thanks.

Posted

It is more like this:

<a href=\"http://www.YOUR_URL.com/view_cart.php?add=PRODUCT_ID_HERE&quan=1\"><img src='WHERE_EVER.COM/_YOUR_IMAGE_IS_LOCATED.JPG'></A>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...