#Featured Products not showing on landing page
17 messages · Page 1 of 1 (latest)
Individual products showing up fine
@ornate tundra some assistance would be appreciated, sorry for ping
export const getProductsList = cache(async function ({
pageParam = 1, <- alter 0
queryParams,
countryCode,
}
Am I just replacing the whole function with this?
Oh isee what you mean
Change it to 0?
Will give it a shot
yes,
Thank you so much ❤️ that fixed it
Was wondering how do I limit to only one collection
For example if I create a "Featured" collection, and display only that
Nvm I can figure that out actually ^^
// /src/lib/data/collections.ts
export const getCollectionByFeatured = cache(
Add a new function to add the conditions you need
Will do thanks
Setting pageParam to 0 worked for me to solve this problem. But I have to admit, that I do not understand why. getProductsList is not called from the product-preview or any of the imports. Mystery...