Guest adessowebs Posted February 19, 2009 Share Posted February 19, 2009 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. Quote Link to comment Share on other sites More sharing options...
techmistress Posted February 20, 2009 Share Posted February 20, 2009 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.