Home › Forums › Jevelin Theme › Woo Recent Products : for certain categories
Home › Forums › Jevelin Theme › Woo Recent Products : for certain categories
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]:
and for this page [2] :
http://www.ahmadbukhori.com/petrologmum/industries/
Thank youu 🙂
Bukhori
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 🙂
If you need services beyond standard support, we've got your back!
If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.
We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.
More complex styling changes, theme option modifications, and third-party integrations.
If you need something that's not included in the theme, we can code it for you.
Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.
Full website builds, custom theme development, or plugin creation from scratch.
We'll provide a clear quote based on what you need. No hidden fees.