duvall Posted June 15, 2004 Share Posted June 15, 2004 Please help. Installed Free Call for Price and this error popped up! Fatal error: Call to undefined function: clean_html_comments() in /home/duvall/public_html/shop/includes/functions/html_output.php on line 124 Go to rent-a-toy.com I am troubled to tears... Please help... Link to comment Share on other sites More sharing options...
♥yesudo Posted June 15, 2004 Share Posted June 15, 2004 was that function part of the contrib ? if so it needs to go in the includes/functions/general.php Your online success is Paramount. Link to comment Share on other sites More sharing options...
GNA Posted June 15, 2004 Share Posted June 15, 2004 If you dont want to use the contribution try this which I found in the forum that worked so well with a minor chance to currencies.php Change this in catalog/includes/classes/currencies.php function display_price($products_price, $products_tax, $quantity = 1) { return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); } to this: function display_price($products_price, $products_tax, $quantity = 1) { if ($products_price > 0){ return $this->format(tep_add_tax($products_price, $products_tax) * $quantity); }else{ return "Call for price!"; } } I changed the "call for price" to "POA" and it works like a dream. If you get errors with this add another } at the end of the script. G GNA Easy Populate Assistant Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.