Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Plugin Contributions
    0

    Default Displaying (GST incl.) or (GST free) after price?

    Hey all,

    After trawling through the forums I cannot find any answer as to how to display either (GST incl.) or (GST free) after a product's price. This would obviously be dependant on whether the product is subject to tax or not.

    Now I've already set up tax zones and all that, and it all works correctly however GST (Australian Tax) is not explicitly shown anywhere in the product detail nor checkout - rather it is merely included in the price of the product.

    How do I change the pricing information of each product from:
    -----
    Product A
    $10
    -----

    to:
    -----
    Product A
    $10 (GST Incl.) or (GST free)
    -----

    I would prefer not to include it in the product description as it does not show on internal search pages.

    Any help in this matter would be much appreciated!

  2. #2
    Join Date
    Jan 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Hi,
    Have you found an answer to this question yet, as this is exactly the question I have as well.

    cheers

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Hi Guys,

    > Have you found an answer to this question yet, as this is exactly the question
    > I have as well.

    To the best of my knowledge the only way to do this is with a little bit of custom coding.
    However, before you even consider doing that, I trust that you are aware that by law, you must specify your prices as GST inclusive.

    Cheers
    Rod

  4. #4
    Join Date
    Jan 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Hi,I have been able to add the words Incl GST before my prices and am happy with this at the moment

    I went into includes/functions/functions_price.php changed the bit that says


    if ($display_normal_price == 0) {

    // don't show the $0.00

    $final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;

    } else {

    $final_display_price = $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;

    }

    to read

    if ($display_normal_price == 0) {

    // don't show the $0.00

    $final_display_price = $show_special_price . $show_sale_price . $show_sale_discount;

    } else {

    $final_display_price = 'Incl GST ' .[/B] $show_normal_price . $show_special_price . $show_sale_price . $show_sale_discount;

    }
    and it nows shows in the front of every price.

    if you find a way to move it to behind the price, that would be great

    Cheers

  5. #5
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Displaying (GST incl.) or (GST free) after price?

    G'day partyparcels,

    > Hi,I have been able to add the words Incl GST before my prices and > am happy with this at the moment
    > I went into includes/functions/functions_price.php

    zencart offers an easier way. log onto admin, browse to localisation/currencies. Edit the "symbol" fields.

    eg, if you wish it to display "Inc GST" to the right of the currency fields, define "symbol right" as "Inc GST". Simple eh ;-)

    Cheers
    Rod

  6. #6
    Join Date
    Jan 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Wow- that is much easier! Thanks for that! Does that need to be backup somewhere in the template files? Is there a way for there to be a space between the last number at the Incl? When I put a space before it in admin it doesn't translate through.
    Last edited by partyparcels; 21 Jan 2008 at 03:18 AM.

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Displaying (GST incl.) or (GST free) after price?

    > Wow- that is much easier! Thanks for that!

    <smiles>

    > Does that need to be backup somewhere in the template files?

    No. It is stored in the database.

    > Is there a way for there to be a space between the last number at > the Incl? When I put a space before it in admin it doesn't translate >through.

    Spaces can be added using the html 'space' format, namely:
    &nbsp;

    Simply add that where ever you want a space character to appear.
    The leading "&" and trailing ";" are required.

    If you wish to add two spaces, it would look like this:
    &nbsp;&nbsp;

    Cheers
    Rod

  8. #8
    Join Date
    Jan 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Thanks for all your help. I am now trying to use the space &nbsp; to line up some attributes at one word is a lot shorter than the others to the radio buttons do not line up. This seems to be working, but in the attribute name box in admin there isn't enough space to type that space command enough times so I have an attribute that reads cups&nbsp;&nbsp;&nbsp but need 2 more to make things line up. Is there and easier way or can i get to the coding and add them there?

    http://partyparcels.com.au/index.php...products_id=54

    Here is the url.

    Cheers again.

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Displaying (GST incl.) or (GST free) after price?

    G'day partyparcels,

    > so I have an attribute that reads cups&nbsp;&nbsp;&nbsp but
    > need 2 more to make things line up. Is there and easier way or can > i get to the coding and add them there?

    Sure you can get your hands dirty and tweak the coding if you desire, but generally speaking the less of this you do, the less problems you'll have when you do an upgrade.

    As for the html "&nbsp;", it isn't really designed for multiple spaces and text formatting, and you try it you may get unexpected or inconsistent results depending on the the browser used and the fonts available.
    The best way to keep text formatting in html is by using the "<pre></pre>" tags. Anything placed within these tags *should* get dispayed exactly as entered (preformatted).

    Cheers
    Rod

  10. #10
    Join Date
    Mar 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Displaying (GST incl.) or (GST free) after price?

    Hi Folks,

    I have added the "Inc GST" in the Symbol Right field.

    But now I get after the price the "Inc" displayed over the frame border and the "GST" on the next line down below the price. This only happens in pages 2 & 3 in "cart total" of the checkout process, but doesn't occur when it displays the cart contents on page 3.

    Is it just me experiencing this? How do you fix it, any ideas please!

    Cheers

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Taxes are getting 3 trippled?? not sure why 5% GST + 5% GST + 5% GST should be only 1
    By imfsub12 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 19 Dec 2013, 04:42 AM
  2. HOw to move the ex gst and gst tags ?
    By newbie456 in forum General Questions
    Replies: 0
    Last Post: 13 Sep 2011, 01:53 AM
  3. Displaying Prices ex GST
    By iceman007 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 17 Jun 2011, 06:45 AM
  4. Add "+GST" to all price displays
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Dec 2008, 05:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR