Jump to content

Latest Products on Homepage switches to only showing 5 instead of 6.


UGAChance

Recommended Posts

Latest Products on Homepage switches to only showing 5 instead of 6.

Has anyone seen this?

This keeps happening and I have no idea why.

The Homepage Layout Settings still says 6, but only 5 show.... the first 5. The last one is empty/blank. I can change it to say 9 and 8 display. It doesn't matter what number I change it to, it is always 1 less.

Link to comment
Share on other sites

It has been doing this I think since 5.0.0... I am on the latest and have been updating every version. I fixed it once, but it came back. I am not sure what I did to fix it because I was clearing cache, rebuilding Sitemap, etc.

Link to comment
Share on other sites

I think CubeCart works it like this:

Construct the WHERE filter to include only those products such that the product's status is enabled and show featured is enabled,

but not any product that must be hidden if out of stock (from general settings) unless the visitor is an admin.

Fetch the number of records limited by latest products count of all products that satisfy the above.

Then subtract out any product that is not in a category with its status enabled.

Then, the skin may have a control ('ctrl_stock') that determines the inclusion of the product if the product's settings says to use stock levels but stock is at zero.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...