In v 1.5, I need to place an add to cart button for one particular product on an external page or an EZ Page. I have done it in other versions, but that way does not seem to work in the new version. Could someone please help?
Thanks,
Angel
In v 1.5, I need to place an add to cart button for one particular product on an external page or an EZ Page. I have done it in other versions, but that way does not seem to work in the new version. Could someone please help?
Thanks,
Angel
When you did it before, did you use the method in post #11 here ?
http://www.zen-cart.com/forum/showthread.php?t=84257
Yes, but I did forget to mention that I need to be able to add a text attribute. Ideally, I would like to be able to process an external form, mainly because I want to get the attribute data into text form and only use one product. Something like this:
<form name="cart_quantity" action="http://mydomain.com/index.php?main_page=product_info&cPath=1&action=add_product" method="post" enctype="multipart/form-data">
Sample attribute: <input type="text" name="id[txt_2]" size="32" maxlength="32" value="" id="attrib-2-0" /> <br /><br />
Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" />
<br /><br />
<input type="hidden" name="products_id" value="1" />
<input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />
</form>
Make sense?
Bookmarks