Home Forums Pro Themes Clean Commerce Pro Carousel shows hidden products

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #50058
    Donna Ng
    Participant

    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

    #50183
    wensolutions
    Keymaster

    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!!

    #50194
    Donna Ng
    Participant

    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.

    #50207
    wensolutions
    Keymaster

    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!!

    #50209
    Donna Ng
    Participant

    No worries.

    Thanks for your help as well.

    #50210
    wensolutions
    Keymaster

    @quintorium,

    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.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.