Individual Order Buttons

Have a question about how SurfShop™ works? Post it here.

Moderator: frankjan

Post Reply
davewebwalker
Posts: 11
Joined: Mar 20, 2009 6:54 am

Individual Order Buttons

Post by davewebwalker » Mar 23, 2009 6:14 am

Version 1.4.6a

I can’t post products into the new cart from an external page as I could in earlier versions. When I try it does not add the product and simply displays an empty cart.
The view cart page is empty when trying to add the product.
This area is really important to the function of our website as we use bespoke pages for some items. Is there something I am not passing in the form to make it add the product?

Any help would be much appreciated.

frankjan
Site Admin
Posts: 392
Joined: May 03, 2004 8:57 pm
Contact:

Re: Individual Order Buttons

Post by frankjan » Mar 23, 2009 7:54 am

davewebwalker wrote:I can’t post products into the new cart from an external page as I could in earlier versions. When I try it does not add the product and simply displays an empty cart...
Is there something I am not passing in the form to make it add the product?
The 3rd line in your code appears to be incorrect. Try this:

Code: Select all

<input type="image" src="ssimages/store/checkout.gif" name="addToCartButton" alt="ADD TO CART" />
<input type="text" name="i_emturf" value="1" size="3" />
<input type="hidden" name="itemid" value="emturf" />
<input type="hidden" name="c" value="viewcart.htm" />
Frank Jance
SurfShop Forum Admin

Setting Up Shop Has Never Been Easier!

davewebwalker
Posts: 11
Joined: Mar 20, 2009 6:54 am

Re: Individual Order Buttons

Post by davewebwalker » Mar 23, 2009 5:47 pm

Brilliant, Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest