Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving add to cart button


Vestax159

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...