Contributions
Add Multiple Products to Cart, in columns, for SPPC
What this contribution is/does:
1. It's written for sites that use Separate Pricing Per Customer (SPPC).
2. It displays product listings in three columns (or 2, or 4, however many you want) instead of one long tall column as the stock osC product_listing.php does.
3. It gives the option of adding many different items to the cart at once, by having a quantity box underneath each item. Just enter in the quantity you want and hit the add to cart button!
4. It's really easy to install- just one new file and a few quick edits and you're off!
Expand All / Collapse All
Thanks again to JanZ who made this version possible!
This is version 2.1 of Add Multiple Products to Cart, in Columns, for SPPC.
It has been modified from version 2.0 in the following ways:
1. Fixed display issues when displaying the buy now column
2. Added a new case, product_list_buy_now_multiple, and re-enabled the original version of product_list_buy_now. This allows for toggling off/on of the various cases via admin.
3. Adjusted code for the product_list_buy_now_multiple case to have two instances of the buy now button: one if there are attributes, and one if there aren't.
Version 2.0!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
This is version 2.0 of Add Multiple Products to Cart, in Columns, for SPPC. It has been re-worked essentially from scratch and now includes product attributes.
This release was developed by combining the following contributions:
---------------------------------------------------------
Product Listing with Attributes:
http://www.oscommerce.com/community/contributions,1098
Original contribution by Jeff Stewart
Upgraded for MS2 by Diego Calvo
Packed with fresh files by Ryan Xmatic
----------------------------------------------------------
Column Product Listing (for Separate Pricing Per Customer v4.0)
http://www.oscommerce.com/community/contributions,3007
Product Listing Column v1.0 by Ian C Wilson
Upgraded for MS2 by Randy Pertiet
Updated for SPPC v4.0 by Brian Neuman (bdneuman)
Improved by Adam Bradley and Janz for proper HTML
----------------------------------------------------------
Additionally, I got the idea to put the checkout button at the bottom of the page from a contribution, but I don't remember which one...
----------------------------------------------------------
Also, thanks to Janz, I took some code from Master Products Attributes Add-on Rev 4 by Matt McGinnis
http://www.oscommerce.com/community/contributions,1681
----------------------------------------------------------
Finally, it was Janz who provided the last and crucial line of code that I needed to get the product attributes to pass to the cart correctly. Without Janz' help I would not be able to release this contribution!!!
----------------------------------------------------------
Released under the GNU General Public Licence(GPL)
Version 1.1!
Includes updated instructions, because I left out the install stuff from the original Add Multiple Products contribution (the mods to application_tiop.php).
Also, included the file in the proper folder tree (I hope so anyway).
Finally, mad props to all who wrote this code (because I sure didn't!)-
Thanks!
Thanks to Jan Zonjee, James Warner, and everyone else involved with Separate Pricing per Customer.
Thanks to Ian C Wilson - original mod for Add Multiple Products and also of Product Listing in Columns
Thanks to HairyJim and others who posted corrections for Add Multiple Products
Thanks to Chad Singer - fix for adding only quantities above 0 on Add Multiple Products
Thanks to MrPHP.com.au - make the product_listing_multi.php look like the standard product_listing.php
Thanks to everyone else involved in this crazy chain!
What this contribution is/does:
1. It's written for sites that use Separate Pricing Per Customer (SPPC).
2. It displays product listings in three columns (or 2, or 4, however many you want) instead of one long tall column as the stock osC product_listing.php does.
3. It gives the option of adding many different items to the cart at once, by having a quantity box underneath each item. Just enter in the quantity you want and hit the add to cart button!
4. It's really easy to install- just one new file and a few quick edits and you're off!
Note: Contributions are used at own risk.