Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Help Help!


duvall

Recommended Posts

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

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...