Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Quantity Box to Product Info page (product_info.php)


makphisto

Recommended Posts

I'm trying to use the "Tips and Tricks" to add a quantity box to my product info page. The Trick is here:

http://www.oscommerce.info/docs/english/e_...ducts_page.html

 

Anyway, the first step went fine, but the next step says:

Then in includes\application_top.php around line 143 find this code:

 

$cart->add_cart($_POST['products_id'], $cart->get_quantity(tep_get_uprid($_POST['products_id'], $_POST['id']))+1, $_POST['id']);

 

My application_top.php does not have that code at all. I've looked it all over, I've done a find. It's just not there.

 

Any idea?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...