Vestax159 Posted March 31, 2010 Share Posted March 31, 2010 How can i move the add to cart button onto the product listing page? echo "<br>Quantity: <input type= \"text\" size=\"3\" value=\"1\" name=\"quantity\">" . tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')) . tep_draw_hidden_field('products_id', $product_id) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); The $product_id is being spit out in the while loop it's going through. Link to comment Share on other sites More sharing options...
Vestax159 Posted April 5, 2010 Author Share Posted April 5, 2010 Is more information needed? Link to comment Share on other sites More sharing options...
KJ666 Posted April 5, 2010 Share Posted April 5, 2010 I dont understand what your asking ? Link to comment Share on other sites More sharing options...
♥mdtaylorlrim Posted April 5, 2010 Share Posted April 5, 2010 Is more information needed? Yes. What file and line is that code from. What is the URL to your shop. Community Bootstrap Edition, Edge Avoid the most asked question. See How to Secure My Site and How do I...? Link to comment Share on other sites More sharing options...
Vestax159 Posted April 6, 2010 Author Share Posted April 6, 2010 That is the code which adds the quantity box and add to cart button. I moved it over to my product listing (http://gator692.hostgator.com/~aopaj/index.php?category=417) so you can directly add to cart. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.