Community Add-Ons
Multi Vendor Shipping
for osCommerce Online Merchant v2.2
This is the alpha release for development only. This is for developers ONLY and should NOT be installed by a store owner on a production site.
Once the code is in a production state it will be released by the code authors below.
**NOT TO BE INSTALLED**
***FOR DEVELOPMENT ONLY***
Based on the work by:
Craig Garrison Sr
aka blucollarguy
and coauthor
Jim Keebaugh
aka kymation
Forum topic is located here: http://forums.oscommerce.com/index.php?showtopic=101973
Legend:
Download
Report
MVS is no longer in development, it is now MVS V1.0, and can be found here:
http://www.oscommerce.com/community/contributions,4129
The forum thread is still the same:
http://forums.oscommerce.com/index.php?act=ST&f=22&t=101973
Don't bother downloading this file, I used it to simply be able to add this note.
Craig :)
Individual Shipping Updated with bugfix
This is an add on for MVS. It allows you to charge an individual flat rate for each item. This add on adds a column to the products table products_ship_price.
Copy and paste the files into the appropraite directories, run the SQL file in your database and install them via the Vendor Manager.
Credit goes to the authors of the original Individual Shipping and to the guys who wrote the MVS contribution.
This is an add on for MVS. It allows you to charge an individual flat rate for each item. This add on adds a column to the products table products_ship_price.
Copy and paste the files into the appropraite directories, run the SQL file in your database and install them via the Vendor Manager.
Credit goes to the authors of the original Individual Shipping and to the guys who wrote the MVS contribution.
This package contains 3 additional shipping modules for MVS. They should work with any after RC3, and perhaps earlier, I have not tested any earlier versions.
These are simple copy and paste modules with no file modifications needed. Simply copy them into the appropraite directories, and install them via the Vendor Manager just like every other module.
All 3 are being used on live stores, so I am confident there will be no problems, but as usual, I offer no guarantees.
These are all modified from other modules: SPU(Store Pickup, Free Amount and First Item Plus).
I am not including the instructions for those here, but can be found in the contributions section.
Most of the credit for goes to their original authors, and again, thanks to the osCommerce community for this wonderful piece of work.
Craig :)
aka blucollarguy
Same Rollup I just updated the SQL file.
Full roll up package as described below with all references to mzmt removed. This is a seperate mod designed for MVS. This roll up is meant to be an upated version of MVS0.9RC4 with all corrections and changes for MVS included since June 5, 2005. I also included the RFQ mod because it seemed like a necessary addition to a great piece of software. This also includes the newer version of UPS XML Rates and Services with JanZ's new packing algorythm, insurance option and sort order function. The only credit I take is putting this package together to help people save an immense amount of time as there have been many bugs worked out since June 5, 2005 and I also rewrote the UPS XML so that it will function for this MVS program.
All credits go to Craig Garrisin, Jr., Jim Keebaugh, JanZ, Torin Walker, djmonkey1and many many more.
This fix is for the stock download function that comes with osCommerce and was broken once the roll up version of MVS was installed.
Only two 2 small changes:
Find in catalog/checkout_shipping.php near the top line 52 or so (depending if you CCGV
installed)
if (!tep_session_is_registered('shipping')) tep_session_register('shipping');
$shipping = false;
$sendto = false;
tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}
and comment out the redirect statement so that reads like this
CODEif (!tep_session_is_registered('shipping')) tep_session_register('shipping');
$shipping = false;
$sendto = false;
// tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}
next in catalog/checkout_confirmation.php find
MVS start
// load the selected shipping module
if (($total_weight > 0 ) || (SELECT_VENDOR_SHIPPING == 'true')){
include(DIR_WS_CLASSES . 'vendor_shipping.php');
} else {
if ($total_weight > 0 ){
include(DIR_WS_CLASSES . 'shipping.php');
} else {
}
}
//MVS End
and change it to
MVS start
// load the selected shipping module
if (($total_weight > 0 ) || (SELECT_VENDOR_SHIPPING == 'true')){
include(DIR_WS_CLASSES . 'vendor_shipping.php');
} else {
if (($total_weight > 0 ) || (SELECT_VENDOR_SHIPPING == 'false')){
include(DIR_WS_CLASSES . 'shipping.php');
} else {
}
}
//MVS End
I added this || (SELECT_VENDOR_SHIPPING == 'false') in order to make sure the correct
classes get loaded. You get an error message without it.
This is RC4 with all changes and fixes and new mods listed below added in. I spent 10 hours working with this froma fresh install of the latest osC release and all postings from June 5, 2005.
Another way for me to give back to this awesome community!
Enjoy!
I needed a catch-all for vendors who only ship within a prescribed zone and vendors who will consider shipping further afield on a case-by-case basis. This was the perfect solution... Dan Naegle's Request for Quote contribution, modified for MVS
info:
"MVS v0.9RC5" is a bit buggy in terms of matching curly braces:
catalog/admin/includes/classes/orders.php --------- line 119: closing brace not necessary.
catalog/admin/invoice.php ----------------------- line 203: closing brace not necessary. ------> (found via forum-thread.)
catalog/admin/orders.php ----------------------- line 538: the else statement: no matching found for opening and closing braces at all (I'm still searching).
TIP: stick to the "RC4"-Release and do RC5-improvements by hand. Only 2 files to change:
catalog/admin/prods_by_vendor.php
catalog/admin/includes/languages/english/prods_by_vendor.php
so long
mikeman
This is an update to the catalog/admin/packingslip.php file for MVS. There was one small typo that resulted in product attributes not displaying properly; this has been addressed.
A small change to the vendors table was originally left out from the instructions - these have been added. mzmt for mvs files and install.txt included.
This is a quick hack I threw together to update admin/packingslip.php for MVS. It's entirely optional- the only purpose is for store owners who don't actually have multiple vendors, just multiple classes of goods with different shipping options, and/or who want to be able to print off a packing slip with every item on the order displayed on it.
This is a full package. Only the prods_by_vendors.php pages were changed from RC4 (both the actual page and it's language page)
1) I added the Product status, just like in the catalog pages, so that you can now quickly view and turn on/off products related to one specific vendor.
2) Added a "highlight" on mouse over to make it easier to know which line you're looking at.
A port of the multi-zone multi-table shipping module for mvs 0.94. See install.txt in archive file for installation/usage instruction.
This release contains many bug fixes, including shipping zones, sort order for ship modules and several others. It also includes a MAJOR update to the Vendor Email portion of MVS and an imporved Vendor's products report and a new Vendor's Orders report.
The MVS_options folder was removed to avoid the oversize package, and has been uploaded seperately.
See the included readme.txt for details.
As usual, post any suggestions or bug reports in the forums.
New release candidate.
Version 0.9rc3
Many Bug Fixes, options added and overall updates, and now inclulding detailed instructions.
See the enclosed "readme" file for details,
Post any questions or bugs in the forums, thanks,
Craig
This is another release candidate and IS NOT INTENDED TO BE USED ON A LIVE STORE, if you do, it is YOUR FAULT IF IT BREAKS. That said, we haven't yet had any such reports. As usual, the forum thread is here:
http://forums.oscommerce.com/index.php?act=ST&f=22&t=101973
This release includes the following Updates:
Many bug fixes
Moved much of the code work from "checkout_shipping.php" to catalog/includes/modules/vendor_shipping.php
New Order Views from the Admin
Detailed Customer Email Confirmation added as an option
Customer Order View from "my account"
UPS module
USPS module
This update fixes bugs in the shipping modules.This update fixes bugs in most of the shipping modules. Please replace all of the modules in includes/modules/vendor_shipping with the ones in this release.
This release also includes the instructions for modifying shipping modules to work with this contribution (see the modules.txt file). This is not a simple modification, so I believe that some knowledge of PHP will be required to do this properly. If you need help with a modification please post in the forum thread and we will try to help.
As always, bug reports and fixes will be gratefully accepted.
***** Not Ready for Prime Time *****
***** This is a release candidate only -- do not use on a production site *****
Except ALL the files are included this time, I think. SORRY FOLKS!
**********DOWNLOAD THIS PACKAGE**********
*******DO NOT DOWNLOAD THE ONE BELOW*****
==============================================================
Multi-Vendor Shipping, v 0.9rc1.2 2005/03/18
by Craig Garrison Sr and Jim Keebaugh
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright (c) 2005 osCommerce
Released under the GNU General Public License
For the terms of this license please see
the file gpl.txt included in this distribution
==============================================================
version History:
0.2 Original design by Jim Keebaugh with help from Craig Garrison Sr. Abandoned
due to problems with useability.
0.3 Internal testing version. By Jim Keebaugh and Craig Garrison Sr. Rewrote a
majority of the code, and included Craig's Vendor Email contribution.
0.9rc1 By Craig Garrison Sr and Jim Keebaugh. First Release candidate.
0.9rc1.1 By Craig Garrison Sr and Jim Keebaugh. Second Release Candidate.
==============================================================
change log
2005/03/18 Updates: Limited install info added to this "readme.txt" file
A new table added for "vendor shipping data" storage (orders_ship_update.sql)
admin/orders.php updated to show new stored data
admin/includes/classes/order.php updated to show new stored data
admin/categories.php updated small bug that did not allow product to be copied
admin/categories.php updated to show "Vendors Name" at product list screen
2005/03/13 First Release Candidate
==========================Some Instruction===============================
I suggest using a quality diff tool to install this contribution, my choice is WinMerge, a free windows app that is available at SourceForge:
http://winmerge.sourceforge.net/
After installation, you must populate your "default" vendor with shipping data before you enable the module in the Admin->Configuration->Shipping/Packaging section of your Admin. When this is not done, NO shipping options at all will display to the customer if any product with the default Vendor is in the basket.
If you have already installed 0.9rc1, use the supplied "orders_ship_update.sql" for this update.
All modified files are included as is, this is a package for testing purposes only, no real instructions are included in this release, future releases will have complete installation instructions.
Please remember, this is not intended to be used on a production site, this is intended for debugging and beta testing, please post your comments on the osC forums: http://forums.oscommerce.com/index.php?act=ST&f=22&t=101973
And at our site at SourceForge:
http://sourceforge.net/projects/true-mvs/
The demos:
http://true-mvs.sourceforge.net/
http://true-mvs.sourceforge.net/admin
Login to the Admin with username - demo
and password - demo
Please submit bug reports at SourceForge
Multi-Vendor Shipping, v 0.9rc1 2005/03/13
by Craig Garrison Sr and Jim Keebaugh
============================
What this Contribution Does:
============================
This contribution changes the way osCommerce handles shipping. You can now set the
shipping parameters for each product individually. All of the following (and more)
are possible:
1. Most products ship by a selection of standard shipping methods, but certain large
and heavy items ship by truck.
2. Products ship from one of two or more locations.
3. Some products ship by a selection of standard shipping methods, some must ship
by a specific method, others ship directly from several different suppliers.
4. Any combination of the above.
You can have orders sent directly to your supplier in the case of products that are
shipped directly from that supplier.
All of the necessary settings are controlled in the admin panel. There is an Admin page
to set up each Vendor (or shipper, or shipping method). There is an Admin panel for
setting shipping modules for each vendor, similar to the Shipping Modules page in the
current Admin. There is also a configuration setting to turn this whole Contribution
off if it is no longer needed.
All modified files are included as is, this is a package for testing purposes only, no real instructions are included in this release, future releases will have complete installation instructions.
Please remember, this is not intended to be used on a production site, this is intended for debugging and beta testing, please post your comments on the osC forums: http://forums.oscommerce.com/index.php?act=ST&f=22&t=101973
We also have a demo running at SourceForge:
http://true-mvs.sourceforge.net/
http://true-mvs.sourceforge.net/admin
Login to the Admin with username - demo
and password - demo
Please submit bug reports at SourceForge
=============
Known issues:
=============
Some of the modules are not fully functional yet, and some have not been fully tested at all, this will be dealt with.
I'm sure there will be more!
===================
Versions Supported:
===================
This version supports osCommerce 2.2 MS2. Due to the complexity of this code,
getting it to work with any other version would require major code changes.
Added a missing file. If you already have this installed, just add includes/classes/shopping_cart.php and you should be fine. Also, you don't need includes/classes/shipping.php at all. If you are not using the (included) modified files, please comment out all instances of require(DIR_WS_CLASSES . 'shipping.php'); in your code so this doesn't cause problems.
I forgot a file when I put this package together. If you have already installed 0.2, you need to add catalog/includes/classes/shipping.php to your test site. All other files are unchanged.
***** Test code only *****
*****Do not install on a live site!*****
This is the alpha release for development only. This is for developers ONLY and should NOT be installed by a store owner on a production site.
Once the code is in a production state it will be released by the code authors below.
**NOT TO BE INSTALLED**
***FOR DEVELOPMENT ONLY***
Based on the work by:
Craig Garrison Sr
aka blucollarguy
and coauthor
Jim Keebaugh
aka kymation
Forum topic is located here: http://forums.oscommerce.com/index.php?showtopic=101973
