Zen Follower
- Join Date:
- Mar 2010
- Posts:
- 258
- Plugin Contributions:
- 0
Attribute Link to bypass product display?
Hi,
Does anyone know how I can add my attributes as a link on index categories page that goes directly to shopping cart and bypasses the product_info_display page?
I have tried to implement this link code ```php
<form action="http://[your domain name]/index.php?main_page=product_info&cPath=[your cPath]/&products_id=[your products_id]/&action=add_product" method="post" enctype="multipart/form-data" name="cart_quantity" id="cart_quantity"> <input type="hidden" name="cart_quantity" value="1" maxlength="6" size="4" /> <input type="hidden" name="products_id" value="[your products_id]" /> <input name="image" type="image" title=" Add to Cart " src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" /> </form> ``` that I found in this thread - [http://www.zen-cart.com/forum/showthread.php?t=43054](http://www.zen-cart.com/forum/showthread.php?t=43054) and the product goes straight to cart, which is great. However I can not get the attributes of that product to go straight to cart. Anyone know of any solutions or what needs to be replaced in the above code for attributes to work?