- This topic has 5 replies, 2 voices, and was last updated 7 years, 2 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Clean Commerce Pro › Carousel shows hidden products
Tagged: carousel hidden product
The featured carousel present on the static front page and shop page shows hidden products.
How can I alter the behaviour of the carousel to display only products that have been set with catalog visibility to “Shop and search results” or “Shop only”?
Thanks
Hello @quintorium,
Please once try by including below given code in your child theme functions.php file .
https://gist.github.com/anonymous/3ddd86d2af6eb1139c02a32a3edade10
Hope this helps.
Best Regards!!
I sent you a comment on GitHub. I added a few lines of code.
Basically there is still an issue when there is no product category configured in the back end. That means you have also to change the query when featured_carousel_product_category is empty or equal to 0.
Hello @quintorium,
We are glad that you figured out your issue .
Also thank you very much for your suggestions and help .
Let us know if you have any confusion further .
Best Regards!!
No worries.
Thanks for your help as well.
You are welcome .
And we are always here to help you so please feel free to post your queries .
Best Regards!!
Have a good day.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |