Dropship Core

This plugin adds the core capabilities for the support of drop shipments in Zen Cart. Pages and profiles are added to allow administrative users to maintain drop shipment information about suppliers and products. An observer watches for reference numbers to be added to the session and records them into the order history upon checkout.

A base shipping class is provided to handle existing shipping requirements (including using Curl to retrieve shipping data) and provide access to the new drop shipment information. A base shipping module (subclass of the base shipping class) provides convenience functions for quickly building a shipping module utilizing the base shipping class.

By abstracting how shipping is handled for drop shipments, many different shipping backends can be implemented without the need to duplicate code.

Forum Support Thread

Zen Cart® Versions v1.5.0, v1.5.1
Original Author lhungil
Last Updated by lhungil - 15 Apr 2013
Downloads 1,103

Version History

Dropship Core   -   Version: 1.2
Enhancements (Since last version):
[*] The database has been expanded to provide support for additional product shipping information and packaging options.
[*] The "packaging types" admin page has been updated to allow assigning additional package shipping information such as a package's dimensions and weight.
[*] The "products" admin page has been updated to allow selection of one package type and the maximum number of this product fitting in the package type.
One package type may be specified per shipping provider (installed dropship_carrier_module implementation).
[*] Updated language files to provide a better indication of what each field should contain and to add some additional comments and messages.
[*] Moved common messages used by in shipping modules into a language file.
[*] Moved all (un)installation messages into a language file to make future changes and support for additional languages simpler.
[*] Added support to the installation script for upgrading the database and configuration from a previously installed version of Dropship Core.
[*] Installer checks if the new files used by Dropship Core have been installed in Zen Cart. No verification of file content or affected files is currently done during installation.
[*] Installer will add a version reference to Zen Cart to be used in the future when upgrading.
[*] When product and shipping information is returned from the dropship class as a stdClass numeric values will already be converted into a respective int, float, or double. This allows the use of is_int, is_float, and is_double in classes as well as passing the values directly to zen_db_prepare.
[*] Updated the update, preview, and collect files used when editing or adding a product to handle the new database tables and fields.
[*] When a product is completely removed from the database (and no linked products exist) product shipping information and package mapping data will be deleted from the database.
[*] Added additional comments to aid when merging affected files.
[*] Added additional phpdoc and inline comments to document various functions and classes.
[*] Added some abstraction to the process of used to split an order into packages. A default implementation is provided, but can be overridden by individual shipping modules if desired.
[*] Added an option to log quote requests and responses to a file after order confirmation. This can be used when debugging or to check what options were sent to the shipping carrier as a quote request.
[*] Moved installation of "common" packaging types for a specific carrier into a new menu option to allow selectively installing and removing them.
[*] Added numerous convenience methods accessible to subclasses of "dropship_carrier_module".

Bugfixes (Since last version):
[*] The "packaging types" and "shipping locations" admin pages will now split the results displayed into multiple pages to make navigation easier.
[*] When retrieving products valid for the current shipping carrier the products_array converts Unique Product ID's (id:attributehash) to Product ID's. This fixes product <==> packaging calculations.
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 15 Apr 2013
Author lhungil
File Size 200.3 KB
PHP 5.3 Safe? Yes
Downloads 847
Dropship Core   -   Version: 1.1
Added support for recording shipping quote reference information.

Updated the observer to use zen_db_perform when updating the database and to perform additional safety checks.

Updated comments in source code and moved the extra_datafiles to the correct location in the zip file.
Zen Cart® Versions v1.5.1
Date Added 25 Oct 2012
Author lhungil
File Size 40.7 KB
PHP 5.3 Safe? Yes
Downloads 205
Dropship Core   -   Version: 1.0
Zen Cart® Versions v1.5.1
Date Added 24 Oct 2012
Author lhungil
File Size 40.0 KB
PHP 5.3 Safe? Yes
Downloads 51

Zen-Cart, Internet Selling Services, Klamath Falls, OR