I saw the below on another thread, where the table rate is ignored depending on (greater than or less than) a certain price. I was wondering if the same thing can be done for a certain price and if so, can it be easily switched from (greater than or less than) as well?
thank you!
http://www.zen-cart.com/showthread.php?205841-Use-Table-rate-to-a-point-then-ignore&highlight=table+price+range
"So are you saying you want it to turn off on a weight > .25?
If so, you can customize the file:
/includes/modules/shipping/table.php
and in the function quote, add the code in RED:
Code:
// bof: disable shipping module > .25
if ($shipping_weight > .25) {
// skip shipping
} else {
// show shipping
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_TABLE_TEXT_WAY,
'cost' => $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) ));
}
// eof: disable shipping module > .25"
Bookmarks