Jump to content

Buy anywhere buttons ?


Guest adessowebs

Recommended Posts

Guest adessowebs

Hello,

Havent used CubeCart before, Can anyone tell me quickly if it is possible to create 'Buy Anywhere' buttons that I can create and put into my site, which when clicked would automaticaly take you to a checkout page?

Thanks in advance.

Conor.

Link to comment
Share on other sites

Yes, you can put a buy button for any product on any page.

Simply use the following code:

	<form action="" style="text-align:center;" method="post" name="prod#">

	<input type="hidden" name="add" value="#" />

	<input type="hidden" name="quan" value="1" />

	<input type="image" class="cart_icon" src="YOURIMAGE.gif" alt="Buy Now" title="Buy Now" />

	</form>

Simply replace the # with the product ID and replace YOURIMAGE.gif with the location and name of your add to basket button image.

Of course, if you're new to cubecart, this isn't necessary at all, since the shopping cart adds all of this on each product automatically. You simply add your categories and products, and the page with images and info and buy button is automatic.

Hope this helps!

Link to comment
Share on other sites

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...