Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Incorrect code on Remove Catalog Prices (pg72)


Recommended Posts

I am trying to take the price function away from my site, i tried the instruction on page 72 of the manual (code detailed below) but lost my site completely, my hosting provider says the code is not correct. Can someone correct it and tell me how it is differerent to Disable catalog prices. thanks


Remove Catalog Prices

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);


function display_price($products_price, $products_tax, $quantity = 1) {


It would be wise to keep this code and comment it out with a statement.

//removing $this->format(tep_add_tax($products_price, $products_tax) * $quantity)

removes the product prices except when adding to cart

All prices are gone except the Sub-Total: field after adding a product to the shopping cart.

I havent mastered tracking my posts, If you dont hear back from me its because I couldnt find my original post not because Im ungrateful

Link to comment
Share on other sites


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

  • Create New...