Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    help question Duplicate Product Display

    I am running version 1.3.8a. I upgraded from 1.3.0. I have a mod Products with Attributes Stock.

    I have pages that show products in a category, for example Halloween shows all my Halloween related products. On the 1.3.0 install this worked fine, but on my 1.3.8a install every product display is doubled. These products have different Item Numbers. In my debugging I've found that the correct install has this partial WHERE clause:

    Code:
    p.products_status = 1 and p.products_id = 
    
    p2c.products_id and pd.products_id = p2c.products_id and 
    
    pd.language_id = '1' and p2c.categories_id = '16' AND 
    
    p.products_model LIKE 'B%' AND p.products_model LIKE 'B%' 
    
    AND p.products_model LIKE 'B%' order by 
    
    p.products_sort_order, pd.products_name limit 0, 6
    AND p.products_model LIKE 'B%' AND p.products_model LIKE 'B%' AND p.products_model LIKE 'B%'

    while on the incorrect install I have this partial WHERE clause(No LIKE filtering):

    Code:
    p.products_status = 1 and p.products_id = 
    
    p2c.products_id and pd.products_id = p2c.products_id and 
    
    pd.language_id = '1' and p2c.categories_id = '16' order by 
    
    p.products_sort_order, pd.products_name limit 0, 6
    My question, is there an admin setting or is there a PHP file I need to update/modify so that the LIKE section is added to the updated 1.3.8a install?

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

    Default Re: Duplicate Product Display

    Be sure to check that you have applied the Known Bug Fixes for v1.3.8:
    http://www.zen-cart.com/forum/showth...860#post610860

    You did not specify where you have the duplicates nor an URL that we could peek at ... but this sounds like you need to apply the Bug Fixes ...
    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
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Duplicate Product Display

    Quote Originally Posted by Ajeh View Post
    Be sure to check that you have applied the Known Bug Fixes for v1.3.8:
    http://www.zen-cart.com/forum/showth...860#post610860

    You did not specify where you have the duplicates nor an URL that we could peek at ... but this sounds like you need to apply the Bug Fixes ...
    Every page that shows actual products. pages that show just a category image are okay, every thing else is duplicated. The site is currently on an internal development site, I'll need to see if I can expose that to the outside world.

    I've seen the Known Bug fixes page, and this one http://www.zen-cart.com/forum/showpo...7&postcount=30 looked slightly relevant. I made the first fix but the second block of code is not in that file.

    This entry also looked related and I applied that fix as well: http://www.zen-cart.com/forum/showpo...4&postcount=31

    Applied this fix as well: http://www.zen-cart.com/forum/showpo...88&postcount=3

    None of these fixes however worked and I am still seeing duplicates.

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

    Default Re: Duplicate Product Display

    It might help to see your site as it could just be missing images and you are seeing the Product name twice in FireFox because of 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!

  5. #5
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Duplicate Product Display

    Quote Originally Posted by Ajeh View Post
    It might help to see your site as it could just be missing images and you are seeing the Product name twice in FireFox because of it ...
    It's not missing images. I see all the images. I've attached a screen shot. The issue, at least from my point of view is that the item numbers that start with A should never be shown. Where do I control that?
    Attached Images Attached Images  

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

    Default Re: Duplicate Product Display

    Sorry ... I just cannot see enough about this issue from a picture ...

    You might switch to the Classic Template to rule out if this is your template or not ...
    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
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Duplicate Product Display

    Quote Originally Posted by Ajeh View Post
    Sorry ... I just cannot see enough about this issue from a picture ...

    You might switch to the Classic Template to rule out if this is your template or not ...
    Could I PM you the link to the site? It's still under development and I'd like to not expose the url to the web quite yet.

  8. #8
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Duplicate Product Display

    Quote Originally Posted by Ajeh View Post
    Sorry ... I just cannot see enough about this issue from a picture ...

    You might switch to the Classic Template to rule out if this is your template or not ...
    if I switch to the Classic template I get my sidebars header and footer and this Sales Message Goes Here in the middle content. I've added some debug print statements to the tpl_ files in my custom theme and I can confirm that the tpl_ files are being processed.

    I compared the tpl_ files for the 1.3.0 install to the tpl_ files in the 1.3.8a install and aside from minor differences they are all the same. This still comes down to the SQL is not completely filtering and is passing too much to the templates. I know how to change the SQL, what I don't know is where this needs changed. Either there is some module that is doing this, or some admin setting. That is what I need to figure out.

  9. #9
    Join Date
    Aug 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Duplicate Product Display

    Just to follow up with the solution to my problem. Under index_filters, there is a file called default_filters.php. This had been updated from the 1.3.0 version. Once I replaced it on my 1.3.8a install the dupes were gone.

    Thanks for your help.

 

 

Similar Threads

  1. [Duplicate] product name gone when editing a product
    By Rob Musquetier in forum Bug Reports
    Replies: 1
    Last Post: 24 May 2011, 02:57 AM
  2. duplicate product
    By mipavluk in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 13 Sep 2009, 04:45 PM
  3. Display all product categories (linked too) on product display page
    By christinapupo in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Aug 2009, 06:08 PM
  4. Duplicate Product Listings in New Product Box??
    By res in forum General Questions
    Replies: 2
    Last Post: 2 Jul 2008, 07:53 PM
  5. Duplicate Product Links ???
    By DiZZ in forum General Questions
    Replies: 2
    Last Post: 16 Oct 2006, 01:24 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