Default product sorting setting of woocommerce not working when not login
-
I am using woocoommerce Version 3.4.6. I have made the setting of Default product sorting to Sort by price (desc). This setting is working when a user is logged in. But if I check it as a logged out user then the products are not showing as per the setting made.
I have tried to debug it but I have not added anything in the theme that will affect the sorting order as the products are showing as per the Default product sorting setting when logged in.
I tried with
woocommerce_get_catalog_ordering_args
filter hook but this hook is also not working on page load when logged out. It only work when logged in to the account.Can you please help me with this.
Thanks
- The topic ‘Default product sorting setting of woocommerce not working when not login’ is closed to new replies.