Contributions

Features (Category Index)
Search: 

Add Multi Products Checkbox v1.0

Add Multi Products Checkbox 1.0 (March 24, 2005)

This Add Multi Products Checkbox Contribution adds a checkbox in your products listing behind every product.
You can simply check multiple products at once and add them to the Cart with one click.

This contribution is tested for osCommerce 2.2 Milestone 2 (CVS-2)

-------------------------------
This contribution was first released as a contribution called Add Multi Produtcs in 2003 by Ian C Wilson for osCommerve 2.2.
http://www.oscommerce.com/community/contributions,1129

Later in 2004, it was changed by Steve Oliveira and called Add Multi Products Revived.
http://www.oscommerce.com/community/contributions,3022

This last contribution from Steve was changed for osCommerce 2.2 Milestone 2. Both contributions removed the Buy Now
option and replaced it with a text field so customers could add a quantity before they adding the products to the shoppingcart.

Because of many request I saw in the Community Support regarding a checkbox in the productlisting instead of a Buy Now or quantity
field and I need ths solution for a customer, I changed the contribution from Steve Oliveira a little so we have now CHECKBOXES!!!
Also there was a little bug in the last contribution from Steve, if you tried to add the last product of the page in the
shoppingcart, it didn't work. That is solved!

Have Fun!!

Expand All / Collapse All

application_top.php problem 10 Mar 2011

If previous version works okay for you, don't try this. You will know if add to cart doesn't add the first two products selected in product listing page.

in ReadMe.txt change this:

for ($i=1; $i<=sizeof($HTTP_POST_VARS['products_id']);$i++) {

to this

for ($i=-1; $i<=sizeof($HTTP_POST_VARS['products_id']);$i++) {

Because it started at the third element in the array before but with this it starts with the first.

Add to Cart problem 4 Jan 2010
Add Multi Products Checkbox v1.0 fix fro also in advanced_search_result.php 22 Oct 2008
add to cart problem 21 Apr 2006
Hide buttons if empty... WillRoss 25 Mar 2005
Add Multi Products Checkbox v1.0 John Andriessen 23 Mar 2005

Note: Contributions are used at own risk.