-
Possible Bug
I've encountered an unusal bug in a modification that I made to one of my sites, but now after doing some checking, the bug is not limited to the changes I made, but seems to be global.
I wrote code to create an additional sort by adding a new product field. I based this pretty close to the manufacture's setup. I created a drop down sort on the product listing page so that the listing could be sorted by this new field.
Today when adding a new product we noticed that when the new sort field was applied the new product did not show up. It was very confusing and I spent most of the afternoon looking at everything but the actual sort.
What is happening is if a sort states at the top Displaying 1 of 13 products only 12 are actually shown. I decided after exhausting all other ideas just for grins to turn on the alpha sort and check it, and low and behold - if there are 13 items to be displayed - only 12 are actually shown or if there are 10 items only 9 are shown, so this appears to be something to do with the code written for the sorts in general as of couse I cloned that in writing my sort.
I have one other issue here that is not global but reserved for what I wrote - on the global sort you are saved as it will just write the item left out on the "next" page, but for some reason on my sort I can only get "one" page only. I do not get the pagination.
Can someone point me to the standard code that refers to pushing the additional items to the next page so that I can take a look and see what i may have overlooked?
Thanks so much for any clues on this issue. Its really a major emergency for me to get this fixed right away, and I'm just stummped.
-
Re: Possible Bug
I found the issue in my code and all is working.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Content and Graphics Copyright (c) 2003 - 2026 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC