Hi, i think this code make the same result:
open: includes/classes/currencies.php
find :
function display_price($products_price, $products_tax, $quantity = 1) {
return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
}
Replace:
function display_price($products_price, $products_tax, $quantity = 1) {
if ($products_price > 0.01){ //for change price by 'contact'
return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);
}else{
return 'Contact us';
}
}
note: only one text file include
More...



LinkBack URL
About LinkBacks









Bookmarks