miklereverie
New member
- Aug 21, 2019
- 14
- 11
- 3
Hello everyone, I've been trying to pull this off for a couple of days with no success, so I decided to look for help here.
Basically, I'm building a website for a client who has a product catalog, but has no intention of using woocommerce or selling his products online.
I created a custom post type using CPT UI named "Products" and added the needed fields with Advanced Custom Fields (for example: Brand, a checkbox for determining if the product is featured or not, an image for the product, etc). So far, so good, here's the problem though: I'm editing the home page and I need to build a slider which ONLY displays the featured products. I thought, customizing the query filter for doing that would be easy but I couldn't find a way to, for example, tell elementor to ONLY show products which have the "Featured" checkbox I created selected.
The only elements I need to display in the slider are: Product image, product title and a "View more" text.
Another interesting fact is that, while I created a "Product image" custom field which works just fine when creating products, I don't know how to query the images from the products on the slider.
Do you guys know a way to do this? Any ideas are welcome as I'm having a really hard time pulling this one off.
Thanks in advance for your time!
Basically, I'm building a website for a client who has a product catalog, but has no intention of using woocommerce or selling his products online.
I created a custom post type using CPT UI named "Products" and added the needed fields with Advanced Custom Fields (for example: Brand, a checkbox for determining if the product is featured or not, an image for the product, etc). So far, so good, here's the problem though: I'm editing the home page and I need to build a slider which ONLY displays the featured products. I thought, customizing the query filter for doing that would be easy but I couldn't find a way to, for example, tell elementor to ONLY show products which have the "Featured" checkbox I created selected.
The only elements I need to display in the slider are: Product image, product title and a "View more" text.
Another interesting fact is that, while I created a "Product image" custom field which works just fine when creating products, I don't know how to query the images from the products on the slider.
Do you guys know a way to do this? Any ideas are welcome as I'm having a really hard time pulling this one off.
Thanks in advance for your time!