crounauer Posted March 7, 2005 Share Posted March 7, 2005 Hi, I am implementing the following code into my store to enable customers to buy items from Amazon using the "Form" command. <form method="POST" action="http://www.amazon.co.uk/exec/obidos/dt/assoc/handle-buy-box=[ASIN goes here]"><input type="hidden" name="asin.[ASIN goes here]" value="1"> <input type="hidden" name="tag-value" value="[Associates ID goes here]"> <input type="hidden" name="tag_value" value="[Associates ID goes here]"> <input type="hidden" name="dev-tag-value" value="[Developer Token goes here]"/> <input type="submit" name="submit.add-to-cart" value="Buy From Amazon.co.uk"> </form> I am able to get the code implemented, but when the logo is "clicked", it takes me to my own store checkout and not that of Amazon's! Any suggestions would be greatly appreciated. Many Thanks, Simon Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
dblake Posted March 7, 2005 Share Posted March 7, 2005 Just use amazons iframe, works perfectly ;) Link to comment Share on other sites More sharing options...
crounauer Posted March 8, 2005 Author Share Posted March 8, 2005 Hi Dennis, Thanks for your reply. Would you by any chance be able to give me a guide in the right direction as I am just not familiar with iFrames. Many thanks, Simon. Just use amazons iframe, works perfectly ;) <{POST_SNAPBACK}> Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
burt Posted March 8, 2005 Share Posted March 8, 2005 You cannot put a form inside another form. Considering that the product_info.php page is one big form, that's why it won't work ;) You would need to rejig the product_info.php code a little bit. Link to comment Share on other sites More sharing options...
crounauer Posted March 8, 2005 Author Share Posted March 8, 2005 Hi Dennis, Thanks again. Im going to have to do some research as I still have no-idea what to do. Regards, Simon Ruddy. You cannot put a form inside another form. Considering that the product_info.php page is one big form, that's why it won't work ;) You would need to rejig the product_info.php code a little bit. <{POST_SNAPBACK}> Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
crounauer Posted March 8, 2005 Author Share Posted March 8, 2005 Hi Burt, Would you be able to point me in the right direction to re-jig the product_info.php code? Simon. Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
crounauer Posted March 9, 2005 Author Share Posted March 9, 2005 Sorry Gary, didn't mean to call you Burt! Hi Burt, Would you be able to point me in the right direction to re-jig the product_info.php code? Simon. <{POST_SNAPBACK}> Gynogapod - Great Products, Tiny Prices! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.