Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default No Prices in ADMIN

    I can't see the prices when opening a category under admin>catalog.
    I have tried to switch to show prices with taxes and back but no change.
    Probably some file have been corrupted.
    Caould someone tell me to which file I should look for?
    Thankd

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: No Prices in ADMIN

    Are you using Customer Authorization? Such as Customer settings on the Login for price etc.

    If so, please check the fix on the Known Bug Fixes for v1.3.8 ...
    http://www.zen-cart.com/forum/showthread.php?t=82619
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: No Prices in ADMIN

    Yas I am using customer auth
    I copied the code at the end of the file but then when logging in to admin I get an error message.
    Could you tell me in which line I should copy the code? thanks
    enzo

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: No Prices in ADMIN

    Are you saying you made the changes in #6 of the Known Bug Fixes to the file:
    /admin/includes/functions/functions_prices.php

    What error are you seeing?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: No Prices in ADMIN

    Yas I copied the code, but I do not know exactly how to do it so I have probably messed up something.

    The last lines fo the file are
    //echo 'zen_get_discount_qty: ' . $product_id . ' - ' . $check_qty . '<br />';
    if ($discounts_qty_query->RecordCount() > 0 and $check_qty > 0) {
    return true;
    } else {
    return false;
    }
    }

    ?>
    where the last one is line 1248.
    Where the code should be pasted?
    Thanks

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: No Prices in ADMIN

    Start over ... I think you are misunderstanding the change ... and I am not really sure just what you are trying to do where ...

    Look again at post #6 and then edit the function zen_get_products_display_price and change it to:
    Code:
      function zen_get_products_display_price($products_id) {
        global $db, $currencies;
    
        if (false) {
    // 0 = normal shopping
    // 1 = Login to shop
    // 2 = Can browse but no prices
        // verify display of prices
          switch (true) {
            case (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == ''):
            // customer must be logged in to browse
            return '';
            break;
            case (CUSTOMERS_APPROVAL == '2' and $_SESSION['customer_id'] == ''):
            // customer may browse but no prices
            return '';
            break;
            default:
            // proceed normally
            break;
          }
        }
    
    // show case only
        if (STORE_STATUS != '0') {
          if (STORE_STATUS == '1') {
            return '';
          }
        }
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: No Prices in ADMIN

    Now I got you!!!
    I was adding the full code at the end of the file instead of editing.
    Sorry
    enzo

  8. #8
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: No Prices in ADMIN

    Done!!!
    It works perfectly.
    Thank a million

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: No Prices in ADMIN

    You are most welcome ... thanks for the update that this corrected the issue of no prices in the admin on the category/products listing ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Oct 2008
    Location
    newcastle upon tyne (UK)
    Posts
    876
    Plugin Contributions
    2

    Default Re: No Prices in ADMIN

    Hi, Has this bug fix been added to 139?

    as my site uses Customer Authorization to view prices... (and i will be upgrading asap once 139 is out of testing)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Admin Panel - prices missing
    By misssaucy in forum General Questions
    Replies: 8
    Last Post: 12 Feb 2010, 01:18 PM
  2. No Prices in Admin>Products/Categories
    By SnowBlind in forum Upgrading from 1.3.x to 1.3.9
    Replies: 5
    Last Post: 22 Jan 2007, 08:38 PM

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