Announcement

Collapse
No announcement yet.

products array not containing all products for a category

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    products array not containing all products for a category

    Hello,

    I have a custom category template that iterates through the array of products and lists each of them. The issue is that in a certain category it is being limited, strangely, to 12 products. When using the token list to investigate, the products array only goes to 12, but I can see that there are 14 products assigned to the category.

    Any ideas?

    #2
    Re: products array not containing all products for a category

    Of course I figured out what the problem was right as I posted this. And it had nothing to do with the template (the products were inactive....).

    Comment


      #3
      Re: products array not containing all products for a category

      Do you have pagination set on this category? Go to the category page template, Category Product List and check.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
      phosphormedia.com

      Comment


        #4
        Re: products array not containing all products for a category

        I did have pagination set. That was responsible for a lot of my confusion because even though the products were inactive, they still seemed to be included in the product count for pagination. I've got it settled now though.

        Comment


          #5
          Re: products array not containing all products for a category

          well, active/inactive would have been the next guess...but default pagination is 12...hence that's the first thing that popped into my head.
          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
          phosphormedia.com

          Comment

          Working...
          X