Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Displaying 'plus GST' after product price


fatback1975

Recommended Posts

Posted

Hi,

 

My store is set up to display prices excluding tax (Australian GST).

 

I would like to display the text 'plus gst' after the price to let customers that

the price excludes tax.

 

I haven't been able to find a setting in admin to do this, but spotted the feature on

this store.

 

Any help would be greatly appreciated.

Posted

Try something like:

 

 

In catalog/includes/classes/currencies.php look for:

 

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

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

 

Change to to:

 

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

return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . ' plus GST' ;

Posted
Try something like:

In catalog/includes/classes/currencies.php look for:

 

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

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

 

Change to to:

 

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

return $this->format(tep_add_tax($products_price, $products_tax) * $quantity) . ' plus GST' ;

 

That did the trick! Thanks very much for your help :D

Archived

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

×
×
  • Create New...