Forums / Templates, Stylesheets, Page Layout / Add "+GST" to all price displays

Add "+GST" to all price displays

Locked

Views: 830

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Nov 2008, 8:02 PM
#1
kiwibrian avatar

kiwibrian

New Zenner

Join Date:
Nov 2003
Posts:
70
Plugin Contributions:
0

Add "+GST" to all price displays

How can I ensure that all prices displayed on my site have the text '+GST', or 'excl tax' or similar added to the display?

12 Dec 2008, 4:09 AM
#2
easyserve avatar

easyserve

New Zenner

Join Date:
Jun 2008
Location:
Hamilton, NZ
Posts:
4
Plugin Contributions:
0

Re: Add "+GST" to all price displays

in tpl_product_info_dsplay.php after

<h2 id="productPrices" class="productGeneral">
<?php
// base price
  if ($show_onetime_charges_description == 'true') {
    $one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';
  } else {
    $one_time = '';
  }
  echo $one_time . ((zen_has_product_attributes_values((int)$_GET['products_id']) and $flag_show_product_info_starting_at == 1) ? TEXT_BASE_PRICE : '') .zen_get_products_display_price((int)$_GET['products_id']);
?></h2>
``` Put +GST straight after that.


Nick

Easy Serve

[Web hosting](http://www.easyserve.co.nz)
[ZenCart Hosting](http://www.easyserve.co.nz)

Easy Serve - Web Hosting, ZenCart Hosting - New Zealand and US servers
Our ZenCart: Cheap Ink and Toner from PrinterFuel.co.nz