Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default [Done v1.3.9] new products listing not random

    The New Products box on the main page isn't randomly picking new products to display. As I add new groups of items, I have repeatedly noticed that the New Products box always groups the products together. For example, in the last 30 days I have added PowerBlocks, lifting straps, and cable attachments. Whenever you see any cable attachments, you'll see 9 of them at once, not mixed in with other new products.

    See a current example of this at my site: www.adamantbarbell.com.

    If you keep doing refreshes, you'll see what I'm talking about.

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

    Default Re: new products listing not random

    The randomizer will be better in v1.3.8 when it is released to give a better variety ...

    Be sure that you have also defined the date period for what New Products are in the Maximum Values ...

    Nice looking site btw ...
    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: v1.5.5]
    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 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: new products listing not random

    I'm guessing 1.3.8 could be months away. I see that the code for randomizing the new products listing would have to be in includes/modules/new_products.php, though I can't determine how to modify it. Any suggestions?

    I think it would have an impact on my sales, as customers might see 9 different types of products that would attract their attention instead of 9 different sizes of rubber olympic weight plates that they don't want anyway. :)

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

    Default Re: new products listing not random

    You appear to either not have the New Products limit set or an old version of Zen Cart ...

    Configuration ... Maximum Values ...
    New Product Listing - Limited to ...
    Limit the New Product Listing to
    0= All Products
    1= Current Month
    7= 7 Days
    14= 14 Days
    30= 30 Days
    60= 60 Days
    90= 90 Days
    120= 120 Days
    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: v1.5.5]
    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 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: new products listing not random

    Yes, I have that setting correct and the newest version of zencart. The limit setting isn't a problem. The problem is that the 9 new products displayed each time on the index page show in groups of either the order I added them or the category they're in - I'm not sure which, but either way, you see what I mean? It isn't obvious on every refresh, but for instance I just did a refresh and it shows 8 weight plates from a particular category and one weight plate from another category. I did another refresh and it shows 2 exercise balls, 2 weight plates, and 4 weight sets. On another refresh it shows 6 weight machines and 3 weight racks. So it mixes them up a little, sometimes, but not really.

    In your first reply in this thread I think you understood my issue, but that was a month ago so that might add to the confusion.

  6. #6
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: new products listing not random

    bump

    Can anyone help with this?

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

    Default Re: new products listing not random

    Your site appears to have images that are changing and being displayed in random order on the products ...

    Have you fixed this?
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: new products listing not random

    What I've been trying to explain in this thread is different products do come up for every refresh, but no, they aren't random selections from among the products that qualify as new. They are heavily grouped by either the category or the date I added them - I can't tell which, because I often add a whole category at the same time.

    Here are more examples on each refresh, showing 21 new items on the main page:

    - 20 fixed pro-style barbells and 1 weight vest
    - 13 pro-style rubber-encased dumbbells and 8 vinyl coated dumbbells
    - 8 fixed pro style curl barbells and 13 fixed pro-style rubber encased barbells

    If it were random, the products displayed would usually be spread out proportionally. They never are. The problem is that it doesn't help anyone to see 13 different weights/sizes of the same exact barbell, when that space could have been used to actually pick another random product instead of taking a huge chunk from a single category. And I'm not asking to pick only one product per category - What I'm saying is that if it were actually random, the selection process would not come up with what it does.

    Let me explain another way. Here's what I think it's doing (wrongly): Say I added 400 new products over the past month. Say the products are gathered into a list sorted by date/time added, with the most recent added being number 400. The program picks a random number from 1 to 400, settling on 212. It then displays 21 products, items 212-232. It randomizes the order that these products display, but all 21 items are still the 21 barbells that I added on 2/4. The next time it goes through this whole process, it displays in random order 21 of the sequential items that were added on 1/30 and 1/31. Does this make sense? I don't know that this is the way it actually works, but based on the results I've gotten for the last several months it seems to be something very close to this.

    I'd be happy to try to fix this myself with my limited PHP skills, if someone can point me to what section of code is responsible.

  9. #9
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Re: new products listing not random

    I seem to be experiencing the same sort of thing with the featured products. I am using the scrolling featured sidebox mod which is set to scroll 10 featured products.

    I have 10 catagories on my site and I would like to make all items featured and have it randonly pick 1 item from each catagory. I could just make 1 item from each catagory featured but then it will be the same all the time.

    The way it is working at the moment is it will pick a random product and then display that and the following 9 products which in most cases are variations of the same item.

    Oh and I'm using zen cart 1.3.8a if that makes any difference.

    Thanks

  10. #10
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: new products listing not random

    Well I'm glad someone else notices what I do, even if it hasn't been officially acknowledged as a bug yet!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 12 Dec 2015, 11:00 PM
  2. v151 Random display of products on Product Listing
    By Kevin205 in forum General Questions
    Replies: 2
    Last Post: 16 Mar 2013, 08:42 PM
  3. Replies: 1
    Last Post: 19 Aug 2009, 10:29 AM
  4. Replies: 0
    Last Post: 5 May 2009, 03:20 PM
  5. Make new products not random?
    By prezzz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Jul 2008, 07:40 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