dylee33 Posted February 20, 2007 Share Posted February 20, 2007 To any1 that can help, i'm trying to create drop down menus with an add to cart button. For example, I'll have 2-4 seperate drop down menus and i will use drop down menu page ------------------------------------- <form action="process.php" method="post"> <select name="size"> <option value="139">11 x 4</option> <option value="79">3 x 4</option> </select <select name="color"> <option value="red">Red</option> <option value="blue">Blue</option> </select> <input type="submit" value="submit"/> </form> -------------------------------------- process.php page ------------------------------------- check wat product is selected(which i can do) and the "SCRIPTING I CANT FIGURE OUT" to add product to cart ------------------------------------- I know the basic add to cart button is the xx on the next line does effect anything <form name="cart_quantity" action="http://www.web.com/product_info.php?products_id=xx&action=add_product" method="post"> the xx in the value assigns which product to add to cart <input type="hidden" name="products_id" value="xx"> <input type="image" src="http://www.web.com/images/button_in_cart.gif" border="0" alt="Add to Cart" title=" Add to Cart "> any recommendations would help. Thanks Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 to add products to the cart with a pull-down menu is the same as adding from the products list. If you get a contribution for example that uses a popup menu for categories you simply change the categories to products and you append the action=buy_now But the thing I don't know are the attribute selections. How you're planning to select attributes with the popup menus at the same time? It won't be practical. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.