Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Remove the Gross Price from Admin

    I have to admit, i agree with my client on this one. The Gross price is just confusing as it goes against what anyone things when they think of gross or net price. So my client would like me to remove it from the admin. Is there a setting to do this or do i have to modify a file?

  2. #2
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Remove the Gross Price from Admin

    there does not look to be a setting for it...

    i think the easiest/simplest way to handle it would be to add the class "hidden" to the collect_info.php

    Code:
              <tr bgcolor="#ebebff">
                <td class="main hidden"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td>
                <td class="main hidden"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet()"'); ?></td>
              </tr>
    good luck.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #3
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Remove the Gross Price from Admin

    Quote Originally Posted by carlwhat View Post
    there does not look to be a setting for it...

    i think the easiest/simplest way to handle it would be to add the class "hidden" to the collect_info.php

    Code:
              <tr bgcolor="#ebebff">
                <td class="main hidden"><?php echo TEXT_PRODUCTS_PRICE_GROSS; ?></td>
                <td class="main hidden"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '##' . zen_draw_input_field('products_price_gross', $pInfo->products_price, 'OnKeyUp="updateNet()"'); ?></td>
              </tr>
    good luck.
    yes that works.. i also commented out the coding and that worked also. thanks.

  4. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Remove the Gross Price from Admin

    what coding?

  5. #5
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Remove the Gross Price from Admin

    Quote Originally Posted by carlwhat View Post
    what coding?
    i commented out the entire table row with <!-- -->

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Remove the Gross Price from Admin

    yeah, i would do some testing prior to doing that.....

    i'm not sure which price is getting stored, and if ZC is storing the gross price, your code may now store that price as 0.

    you would have to explore further...

    just my 2c.

    good luck

  7. #7
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Remove the Gross Price from Admin

    thanks.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Remove the Gross Price from Admin

    Or you could just rename "gross" to "base price" and "net" to "after-tax price".

    But keep in mind that Zen Cart (actually osCommerce) was architected on gross only. That's all it stores.
    The display of "net" or "tax in" price is really only a helper to allow tax-included stores to enter an after-tax price and auto-calculate the base/gross price to store in the db.

    And a downside of displaying the "net"/after-tax field is that it only works based on the tax rate of the store's zone, and doesn't consider any other tax zones .... such as various states having different tax rates.

    So, while your client may only think of tax one way, there are hundreds of other ways tax could be rendered if their store was selling in a different geographic area, and then those fields would have new meanings than you and they can see at this moment.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. net and gross price in admin not updating properly
    By barricades in forum General Questions
    Replies: 0
    Last Post: 13 Dec 2012, 03:48 PM
  2. Gross Price Error in Admin (VAT doubles up)
    By enigma666666 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 1 Jun 2010, 08:22 PM
  3. Net and Gross price the same when entering product price
    By Craig Robbo in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 6 Feb 2009, 09:47 AM
  4. Replies: 0
    Last Post: 26 Jun 2008, 01:29 PM
  5. Possible tp calculate tax from the net price, not gross
    By raymasa in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 2
    Last Post: 8 Aug 2006, 11:06 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