On search page i want to show only products

i used the search modal of the builder, and on search page, i want to show only products so i applied condition on the looper


all the product have similar name post also.
but on front end it shows gap between two product why?
can you please solve my issue to remove this extra space.

Hi Ketan,

Thanks for reaching out.
What you are expecting is required custom development, I would suggest you hire a developer who can assist you to do the customization or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.

Alternatively, you can go through the following thread where only posts are included in the search result, you need to change it to the product.

Please remember that the above code will work if copied as it is and doesn’t conflict with any existing style.

Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.

We really do not provide support for custom codes, which means we can’t fix it in case it conflicts with something on your site nor will we enhance it. Further customization should be directed to a third-party developer or you can avail of One, where we answer the questions beyond normal theme support.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.