Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a buy button that adds a quantity of two


Enzo_UK

Recommended Posts

Posted

On my site I use some normal html pages to display the items, and link the buy buttons to the buy.php page of the oscommerce cart....

 

I need a way of making some buttons that add a quantity of two.

 

I know it would be simpler to sell them as a pair, but I would like to keep the pricing as each.

 

Thanks in advance for any ideas.

Posted

there are contributions that display quatities input boxes in listing pages and in the product_info page. This one is simple enough to get the concept.

http://www.oscommerce.com/community/contributions,2039

 

So basically once you do the change in application_top.php you can pass the quantity parameter you need from the other pages using a form (either with a qty input or qty hidden field)

Archived

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

×
×
  • Create New...