My site has only 7 products so for the related products, I want it to show all products other than the one on the current page. Basically, I have 7 products so on each product page I want to show the other 6 products. I’ve updated the config file in the config-woocommerce directory and changed $avia_config[‘shop_single_column_items’] fron 4 to 6 but it caused it to only show a max of 5 per page, not 6. And to make things more confusing, sometimes it shows only 4 and sometimes it shows 5 – totally random. All of my products have the same category name as well.
Anyway I can show all 6 on a page?
Unfortunately related products has no way to force it to show any specific content. Its something WooCommerce just doesn’t have a hook or code or any way to alter other than modify that code within the plugin.
So changing the column count will allow for it to show more but it wont always choose those items to show.
The topic ‘Related Products Maxing out at 5’ is closed to new replies.