This issue copied from an email dated 7th November 2023.
Since the implementation of #59 there's been a reduction in the number of separate products displayed on the home page.
This is a side effect of the logic that filters duplicate products ( products in the same range) converting them into the drop down.
On the store page the number of products per page is up to 50
On product category archives it's 32 - see below
Unless all the products to be displayed on the page have unique values for Product Range there'll be a reduction in the number of product ranges that are shown.
But the total products displayed per page actually increases
Page
Product ranges displayed
Total Products represented
1
22
84
2
17
85
3
17
85
Prior to implementing this solution we attempted to reduce the number of duplicates being displayed on the first two pages by setting the menu_order for the most popular products
-26 for the products on the first page, -25 for the second page, etc.
Note: This option was chosen over a solution that adjusted a product's visibility... it had even more unwanted side effects
It's still possible to use the menu_order to fine tune the number of Product Ranges displayed on the first few pages, but it is a complex manual process.
We could try to improve the display to make it less obvious to the observant user by replacing the pagination controls
with a load more button, that would support infinite scrolling.
A load more solution could also help for product category archive pages, and the store home page when sorted by other than the default sorting
This issue copied from an email dated 7th November 2023.
Since the implementation of #59 there's been a reduction in the number of separate products displayed on the home page. This is a side effect of the logic that filters duplicate products ( products in the same range) converting them into the drop down.
Prior to implementing this solution we attempted to reduce the number of duplicates being displayed on the first two pages by setting the menu_order for the most popular products
-26 for the products on the first page, -25 for the second page, etc.
See https://github.com/bobbingwide/gardenvista/issues/21#issuecomment-1612676556
Note: This option was chosen over a solution that adjusted a product's visibility... it had even more unwanted side effects
It's still possible to use the menu_order to fine tune the number of Product Ranges displayed on the first few pages, but it is a complex manual process.
We could try to improve the display to make it less obvious to the observant user by replacing the pagination controls
with a load more button, that would support infinite scrolling.
A load more solution could also help for product category archive pages, and the store home page when sorted by other than the default sorting