Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Products Price (Gross)

    Very often, with all browser (chrome, firefox, it) I see Products Price (Gross) and Products Price (Net) with the same value.
    If I logout from admin and re-login all works well.
    Is there a way to solve it?

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,252
    Plugin Contributions
    58

    Default Re: Products Price (Gross)

    I have never experienced that.... I found no bug reports to that effect. I would guess it's a problem arising from customization, caching problem or a slow database server.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Products Price (Gross)

    Maybe I don't understand the situation, but what is expected to be seen differently in this situation? Ie. What is expected to change the net as compared to the gross at least in the admin?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Products Price (Gross)

    net price is without vat, gross is with vat.
    Database works well, I think maybe caching issue, because when I logout and then re-login problem disappear.

  5. #5
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Products Price (Gross)

    I've also try to add this:
    HTML Code:
    <meta http-equiv="cache-control" content="max-age=0" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
    <meta http-equiv="pragma" content="no-cache" />
    to admin products, but none, often gross price is = to net. Only logout and then re-login gross is right!

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Products Price (Gross)

    Quote Originally Posted by 100asa View Post
    Very often, with all browser (chrome, firefox, it) I see Products Price (Gross) and Products Price (Net) with the same value.
    If I logout from admin and re-login all works well.
    Is there a way to solve it?
    What third party modules are installed? What modifications have been made to the store (especially the admin interface)? Is there a recognizable sequence of events (and page clicks) one can use to duplicate the behavior?

    Providing answers to these questions (and the other questions in the "Posting Tips" - scroll up when posting to read them) will help us help you. Otherwise, all we can say is: "We are unable to duplicate this in a stock installation of Zen Cart on the supported server software. Our best guess is some customization (changes to Zen Cart or third party modules) are present".

    My personal guess is some custom code is being run in the Zen Cart administrative interface (and setting $_SESSION['customer_id']). Why? Because when set, Zen Cart will use the specified customer's information to determine if a TAX / VAT rate should be applied to "Products Price (Gross)" instead of using the configured STORE_COUNTRY and STORE_ZONE.


    NOTE: My guess is based upon knowledge of a disclosed bug in Edit Orders. If (for example) we were informed Edit Orders (version >= 4.1.0 || version <= 4.1.4) is installed in the store -- and -- the behavior occurs after editing an order (any order)... A quick search on Google reveals this posted BugFix.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  7. #7
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Products Price (Gross)

    I use this addon http://www.zen-cart.com/downloads.php?do=file&id=1771
    There is no particularry situation so this issue do happen. Only browser in admin, after some minutes, gross price is = to net price.
    I've just send email to twitchtoo... hope you reply

  8. #8
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Products Price (Gross)

    I have seen this happening in all versions of Zen cart, and all kinds and versions of browsers. Also in vanilla installs. Sometimes it happens and then you won see this bug for weeks.
    I suspect it has something to do with the JavaScript failing to fire, but since there are no consequences for the actual saving of the price, I never bothered searching for the real case and a solution.

  9. #9
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Products Price (Gross)

    Not seeing the use of "$_SESSION['customer_id']" in the admin changes introduced by "Twitch Wholesale with Twitch Wholesale Attributes", so doubt it will be the culprit. If you have no other modifications, I'd lean towards what Design75 mentioned.

    Quote Originally Posted by Design75 View Post
    I have seen this happening in all versions of Zen cart, and all kinds and versions of browsers. Also in vanilla installs. Sometimes it happens and then you won see this bug for weeks.
    I suspect it has something to do with the JavaScript failing to fire, but since there are no consequences for the actual saving of the price, I never bothered searching for the real case and a solution.
    Very true, almost forgot those values are updated dynamically by JavaScript (running on the end users computer - not the web server). I have yet to experience the JavaScript not running myself, but could see it as a cause...

    When the browser blocks the inline JavaScript (by end user request or a browser helper object / addon), a web proxy strips or removes the JavaScript, a very slow ISP / internet connection is being used (and the page has not finished loading), an error occurs before the page is completely output (would be a debug log), etc... The values would not be updated.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  10. #10
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Products Price (Gross)

    After many tries, I've tested with internet explorer never happens!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h Adding tax to 2000 products, but would like to make gross price the same as it is now
    By mcpisik in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 3 Apr 2012, 09:54 AM
  2. Products Price nett =gross
    By aarbee in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 10
    Last Post: 27 Apr 2011, 08:57 PM
  3. Problem with value in "Products Price (Net):" and "Products Price (Gross)
    By doubletiger in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 5
    Last Post: 4 Mar 2011, 01:22 PM
  4. Replies: 0
    Last Post: 26 Jun 2008, 01:29 PM
  5. Products Price Net vs Gross
    By rstevenson in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 15 Oct 2007, 05:45 AM

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