Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

want to delete the quantity from the shopping cart


Recommended Posts

Ive been trying to figure out how to delete the quantity column from the shopping cart page. The problem im having is that when i remove the code that deals with adding the column for quantity from catalog/shopping_cart it breaks the option to remove items from the shopping cart. In the file catalog/shopping_cart.php i have commented out


$info_box_contents[0][] = array('align' => 'center',

'params' => 'class="productListing-heading"',



and the code that is giiving me issues is:


$info_box_contents[$cur_row][] = array('align' => 'center',

'params' => 'class="productListing-data" valign="top"',

'text' => tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']));



everything i have tried to do in attempts to remove the quantity and its column result in breaking the option to remove things from the cart. Since i have been bludgining my head against my monitor for days now trying to figure this out, any help that anyone could lend would be more than greatly appreciated. This is the first project that ive worked with osCommerce on, and im not exactly a php guru but, i can wing it.. Ill be checking in hourly, as unfortunately this message board is my last hope on resolving this. Thanks for your time in advance, Jason.

Link to comment
Share on other sites


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

  • Create New...