In productlist, same product shows more than once(10+ times)


  • Default avatar
    Mrthetree    
     14 years ago
    0

    Hi

    Great component by the way

    I'm testing the component.
    When Ik create a product coupon, the product list shows a lot of my products more than once.
    I do have some of them in more than one categorie, but max in 2.

    Any idea if this can do any harm?

    Thanks
  • Your avatar
    seyi    
     14 years ago
    0

    That is strange. The products should only show up once in the product list. Do you have unpublished products with the same names?
  • Default avatar
    Mrthetree    
     14 years ago
    0

    No.

    This behaviour only shows with products(published and unpublished) that are in more than one VM categorie for as far as I can see.
    Some get extra info behind their product name.
    Some have "Standard" and some have "Sandbox warning" behind it.
  • Your avatar
    seyi    
     14 years ago
    0

    We are talking about the product list when creating a coupon right? How about parent/children products, do yo use that?

    I have read the code, and the products that are listed are simply from the products table. It does not do any joins based on categories, so it is literally spitting out each product in your database.
  • Default avatar
    Mrthetree    
     14 years ago
    0

    Yep, I know what is causing this, thanks to your last post.

    Last year we had a (shirt) designer working on our site (connected to VM).
    Every time a customer made a design it was saved as a new product in VM.
    I do not see them in the VM admin, but I know they are there.

    I'll see if I can do a clean up.

    Thanks for pointing me in the right direction.