Please help!!!
I have a client who wants to set an individual shipping rate per product, but have the catalog default to a table rate when a person buys two or more items. It does not have to be two of the same things, it can be a mixture of any items.
I installed the Individual Product Shipping Prices - v1.0 (http://www.oscommerce.com/community/contri...ons,1333/page,5).
I think I just need one line changed, but I don't know what to change it to.
This code is in catalog/includes/classes/shipping.php
if (tep_get_configuration_key_value('MODULE_SHIPPING_INDVSHIP_STATUS') and $shiptotal) {
$include_modules[] = array('class'=> 'indvship', 'file' => 'indvship.php');
} else {
// All Other Shipping Modules
while (list(, $value) = each($this->modules)) {
$class = substr($value, 0, strrpos($value, '.'));
// Don't show Individual Shipping Module
if ($class != 'indvship') {
$include_modules[] = array('class' => $class, 'file' => $value);
}
}
}
{
I think that first line just needs to say if Individual Shipping Module is active AND quantity in cart = 1 AND $shiptotal (I don't know what that is for), then use all that, otherwise use the "All Other Shipping Modules".
Thank you for any help!