Skip Navigation

[Resolved] Conditional display of a view's filters if there is results in it

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.04 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by romanB-3 7 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#557685

Hello,

I have a view that shows all offers for a specific product. The view is on the single product page.

If there is offers for this product, the list loads, so does the filters.

If there is no offers for this product, the list is empty so doesn't load, but the filters still do.

I'd like to add a conditionnal output that would allow the view to load only if it has results.

Thank you.

#557872

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Roman,

What you can do is to try using this shortcode [wpv-found-count] it will only display a value when the view has results.

Thanks,
Shane

#558024

Perfect.
Thank you.