Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    Arkansas
    Posts
    177
    Plugin Contributions
    0

    Default Some products not showing up in store

    Hello,
    If this has been covered could someone send me the link, I caught myself looking but at my age I could have gone right past it.

    Using Apsona, I just uploaded one suppliers products to my store, the datafile I copied into Apsona to upload had 3611 items. I didn't receive any errors and everything looked like it went ok. Using Apsona again, I just exported a csv file from my store to check on a couple other things I was working on and got to looking at it and noticed there were only 3429 products from that supplier in the csv file. I'm missing the other 183 that looked like they were uplaoded.

    Like I said, I didn't receive any errors while uploading, where would I start looking to try to find out why those 183 didn't upload or at least not showing up?

    Thanks for any help,

    Jim
    Jim Stiles
    http://www.missyscollectibles.com
    Coming home to Zen Cart!

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

    Default Re: Some products not showing up in store

    Go to phpMyAdmin ...

    Browse the table:
    products

    and ensure that all Product Records contain a:
    master_categories_id

    that is greater than 0 ...


    Check that all Products have a Product Description ... go to phpMyAdmin and run the SQL of:
    Code:
    select p.products_id, p.products_date_added, p.products_last_modified
    from products p
    left outer join products_description pd on p.products_id = pd.products_id
    where pd.products_id is null;
    Does anything show up?


    Try checking to see if any products_id is missing from the products_to_categories table ...

    Go to phpMyAdmin and in the SQL run:
    Code:
    select p.products_id, ptoc.categories_id 
    from products p
    left outer join products_to_categories ptoc on p.products_id = ptoc.products_id
    where ptoc.products_id is null;
    Does anything show up?
    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
    Location
    Arkansas
    Posts
    177
    Plugin Contributions
    0

    Default Re: Some products not showing up in store

    Hi Linda,

    Not being to familiar with running sql stuff, I checked with Hostgator and they told me how to do it but also ran the ones that you suggested and here is the reply they suggested I reply back to you with.

    Thanks for your help,
    Jim

    Their reply:

    --------------------------------------------------------------------------------
    mysql> select p.zc_products_id, p.zc_products_date_added, p.zc_products_last_modified from zc_products p left outer join zc_products_description pd on p.zc_products_id = pd.zc_products_id where pd.zc_products_id is null;

    ERROR 1054 (42S22): Unknown column 'p.zc_products_id' in 'field list'
    --------------------------------------------------------------------------------
    mysql> select p.zc_products_id, ptoc.zc_categories_id from zc_products p left outer join zc_products_to_categories ptoc on p.zc_products_id = ptoc.zc_products_id where ptoc.zc_products_id is null;

    ERROR 1054 (42S22): Unknown column 'p.zc_products_id' in 'field list'
    --------------------------------------------------------------------------------
    Jim Stiles
    http://www.missyscollectibles.com
    Coming home to Zen Cart!

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

    Default Re: Some products not showing up in store

    You added too many zc_ ...

    Try using:
    Code:
    select p.products_id, p.products_date_added, p.products_last_modified
    from zc_products p
    left outer join zc_products_description pd on p.products_id = pd.products_id
    where pd.products_id is null;
    Code:
    select p.products_id, ptoc.categories_id 
    from zc_products p
    left outer join zc_products_to_categories ptoc on p.products_id = ptoc.products_id
    where ptoc.products_id is null;
    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
    Location
    Arkansas
    Posts
    177
    Plugin Contributions
    0

    Default Re: Some products not showing up in store

    I sent Hostgator your previous instructions as it's all still greek to me, their reply is below. Do you think it would correct the situation if I just uploaded a new csv file with these missing items on it and upload them as new and not updated?

    Thanks for the help,
    Jim


    Their reply......

    Thank you for your reply. It looks like the query they provided is different from the one before:

    select p.zc_products_id, p.zc_products_date_added.....

    versus:

    select p.products_id, p.products_date_added....

    It seems that the tables don't necessarily have zc_ in front of them.

    When I ran one of the queries they provided it returns results:
    [root@gator2008 /home2/jstiles/public_html]# mysql jstiles_zncr1 -e "select p.products_id, ptoc.categories_id
    >
    > from zc_products p
    >
    > left outer join zc_products_to_categories ptoc on p.products_id =
    > ptoc.products_id
    >
    > where ptoc.products_id is null;"
    Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.
    +-------------+---------------+
    | products_id | categories_id |
    +-------------+---------------+
    | 206 | NULL |
    | 207 | NULL |
    | 208 | NULL |
    | 209 | NULL |

    ....and so on.
    Jim Stiles
    http://www.missyscollectibles.com
    Coming home to Zen Cart!

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

    Default Re: Some products not showing up in store

    I am thinking that you have possibly invalid categories_id in the products_to_categories table as none should be blank, NULL or set to 0 ...

    You might try backing up your database and redoing the update from your cvs but I do not use tings to import Products so I really cannot tell you the "best" solution ...

    Perhaps contacting Apsona about your issues might be a solution, or posting on the support thread for it ...
    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!

 

 

Similar Threads

  1. v150 Products not showing up in SOME categories
    By iconicity in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 24 Jul 2012, 07:41 AM
  2. Some products not showing...
    By WayOnHigh in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 10 Nov 2009, 05:32 PM
  3. Store pickup for some products and not others
    By Sushigal in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 29 Apr 2009, 11:48 AM
  4. Bank module - some orders not showing in my store
    By ellivir in forum Addon Payment Modules
    Replies: 0
    Last Post: 27 Jan 2009, 08:25 AM
  5. Some Products not showing in catagories
    By gardengirl in forum General Questions
    Replies: 11
    Last Post: 31 Jul 2008, 03:42 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