Woo Recent Products : for certain categories

Home Forums Jevelin Theme Woo Recent Products : for certain categories

Home Forums Jevelin Theme Woo Recent Products : for certain categories

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    RESOLVED Posts
  • Dear Jevelin Team,

    How to manage category for Woo Recent Product element?

     

    For this page:

    http://www.ahmadbukhori.com/petrologmum/oilgas/

    I would like to only displaying this category [1]:

    • Wefic
    • Halliburton

    and for this page [2] :

    http://www.ahmadbukhori.com/petrologmum/industries/

    • Alfa laval
    • CEJN
    • Circutor
    • Equalizer
    • Hazkel
    • Powerram
    • VenAir

    Thank youu 🙂

     

    Bukhori

    Attachments:
    You must be logged in to view attached files.

    Solution for this topic

    Hi Bukhori,

     

    I hope you are well today and thank you for your question.

     

    There isn’t any element option to achieve this but we can try achieving this by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .page-id-1671 .sh-recent-products span.sh-filter-item {
    display: none;
    }
    
    
    .page-id-1671 .sh-recent-products span.sh-filter-item[data-filter=".product_cat-halliburton"],
    .page-id-1671 .sh-recent-products span.sh-filter-item[data-filter=".product_cat-wefic"] {
    display: inline-block;
    }
    
    .page-id-1687 .sh-recent-products span.sh-filter-item[data-filter="*"],
    .page-id-1687 .sh-recent-products span.sh-filter-item[data-filter=".product_cat-halliburton"],
    .page-id-1687 .sh-recent-products span.sh-filter-item[data-filter=".product_cat-wefic"] {
    display: none;
    }

     

    Best regards,
    Shufflehound team

    I’ve added the code. But in some buttons, the product does not appear and only partially appear. Is there something wrong?

     

    –> http://www.ahmadbukhori.com/petrologmum/oilgas/

    products that do not appear when I click the button:

    Halliburton –> 0 –> should be 3 products

    WEFIC –> 4 –> should be 7 products

     

    –> http://www.ahmadbukhori.com/petrologmum/industries/

    products that do not appear when I click the button:

    Alfa Laval –> 0  –> should be 3 products

    CEJN –> 0  –> should be 13 products

    Circutor –> 0  –> should be 4 products

    Equalizer –> 0 –> should be 4 products

    Hazkel –> 0 –> should be 3 products

    Pneumatics –> 0 –> should be 8 products

    Powerram –> 3

    VenAir –> 3

     

    Thanks for your help.. 🙂

    Solution for this topic

    Sorry,

    I just customizing of Woo Recent Product element –> product limit –> I set to the maximum and it fix now.

     

    Thanks a lot 🙂

    You are most welcome here 🙂

Viewing 5 posts - 1 through 5 (of 5 total)