Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Admin -> Categories/Products Prices Not Showing in Main Listing

    I have installed many ZenCarts and maybe my other customers just haven't cared about this, but on one site, when I go into Admin and then the Catalog-->Catagories/Products and then navigate all the way down into a list of products within a category/subcategory, it seems that the column entitled "Price/Special/Sale" doesn't contain any information.

    Here's a screenshot. Now I know that this column contains info on several other sites I do. Any ideas on where I find the code for this and how I might fix it?


  2. #2
    Join Date
    Sep 2007
    Posts
    128
    Plugin Contributions
    0

    Default Re: Admin -> Categories/Products Prices Not Showing in Main Listing

    Through more digging on the forum, I found this answer, which worked for me. However, the prices do show up now with a third digit (seemingly a "1") so $9.99 reads $9.991. As long as it's reasonably correct, it seems like an adequate fix -

    locate the file : /admin/includes/modules/category_product_listing.php

    do a search for the following function call : 'zen_get_products_display_price'

    replace the php code in that <td> cell with the following code:

    print("$" . sprintf("%.2f", $products->fields['products_price']));


    I am not recommending this - only telling you what worked for me. I did try replacing that file from a clean install and it did nothing so I went for the suggestion.

 

 

Similar Threads

  1. Products not showing in Admin/Catalog/Categories - EZPop
    By Serious in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 29 Mar 2011, 10:07 PM
  2. Replies: 4
    Last Post: 1 Oct 2010, 05:09 AM
  3. 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
  4. listing new products for different categories on main page
    By mediathing in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2006, 06:09 PM

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