Contributions
Multi Vendor Shipping
This module allows you to assign a shipping method to each product. This will allow you to have an order containing items that ship by multiple methods and still calculate an accurate shipping rate
See install.txt for more information.
Expand All / Collapse All
Just a little change to a SyntaxError contribution. Helps to find an actual place of this error, which is in the catalog/includes/classes/shopping_cart.php
There is a bug in the installation instructions for this enhancement that prevents the product shipping method from being included in the product array.
The instructions state:
Add a line for products_shipmethod like this
$products_array[] = array('id' => $products_id,
//changes mltship
'ship_method' => $products['products_ship_mthod'],//mltship
'products_ship_mthod' should be changed to 'products_ship_method'
('e' was missing in 'method')
I have no plans to update the module in anyway and no longer use it myself. There is so much more this module could do (not to mention it could be polished up and made much more user friendly). So if anyone want to take the time please feel free to update Multivendor Shipping and make the project your own.
- The bug can be found in
catalog/includes/classes/shopping_cart.php on this
line:
// old OSC line $product_query = tep_db_query("select
products_id, products_price, products_tax_class_id,
products_weight from " . TABLE_PRODUCTS . " where
products_id = '" . (int)$products_id . "'");
//changes mltship
$product_query = tep_db_query("select
products_ship_method, select products_id,
products_price, products_tax_class_id, products_weight
from " . TABLE_PRODUCTS . " where products_id = '" .
(int)$products_id . "'");
The change that is made has two select statements
which generates an SQL error when someone performs any
action with the shopping cart. It's a simple fix of
course; remove the second select command :)
---------------
I never had a problem with this but I no longer use this module so it might be an issue with newer versions of OSC.
This is a quick HACK to bring most of it to be compatable with MS2.
As per request on the forum.
Feal free to update - no support.
This module allows you to assign a shipping method to each product. This will allow you to have an order containing items that ship by multiple methods and still calculate an accurate shipping rate
See install.txt for more information.
Note: Contributions are used at own risk.