I was able to figure out where to modify the specific files to allow these types of abilities.
Currently it is always assumed the shipping will be number so anything outside of a number (such as the phrase "Please Call") will return 0.00.
Has been tested and is successful with Table Method weight and price methods.
/******************************************
/zencart/includes/classes/currencies.php
On or around line 99
******************************************/
function format($number, $calculate_currency_value = true, $currency_type = '', $currency_value = '') {
if (empty($currency_type)) $currency_type = $_SESSION['currency'];
**if( !(is_numeric($number)) )
{
// This function will catch any value passed
// number that is not a number and immediately
// return it.
return $number;
}**
if ($calculate_currency_value == true) {
/*************************************
/zencart/function/functions_taxes.php
On or around line 319
*************************************/
function zen_add_tax($price, $tax) {
global $currencies;
**if( !(is_numeric($price)) ) /* Dr 4-21-09 */
{
// This function will catch any value passed
// number that is not a number and immediately
// return it.
return $price;
}**
if ( (DISPLAY_PRICE_WITH_TAX == 'true') && ($tax > 0) ) {
return zen_round($price, $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']) + zen_calculate_tax($price, $tax);
} else {
return zen_round($price, $currencies->currencies[DEFAULT_CURRENCY]['decimal_places']);
}
}