Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove the price displayed


mee901

Recommended Posts

Posted

i'd like not to display the price at all, even $0.00.

it's for on-line catalog purpose only, not sale.

 

anybody knows how to get rid of the price?

 

thanks.

Posted

Edit /includes/classes/currencies.php

 

Change the last function to return a ''

Posted

i can read this like,

 

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

 

return $this->format(tep_add_tax($products_price, $products_tax) * $quantity);

 

}

 

}

 

please tell which one and how to.

 

thanks.

Posted

ok, i got it

i changed it like this,

 

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

 

return '';

 

}

 

}

Posted

yeps ... that is all there is to it ... just return nothing and you see nothing.

 

Now make all the buttons vanish and you are set.

Posted

What is the "Display Product Price" setting for nder Admin->Configuration->Product Listing? I thought this would turn off the price display on the product page.

Posted

That only sets what is shown in the product listing not the product_info.php file or anywhere else in the store.

Archived

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

×
×
  • Create New...