How can i add conditions?

Displaying content only if it exists.
in my case i have created acf fields for video and other items and calling them in a layout now i want that if this product having a video then only the video section is display otherwise hide that.
give screenshort as well that what conditions should i use. and for other acf field also

[{{dc:acf:post_field field=“product_resource_video”}}]

Hi Ketan,

Thanks for reaching out.
It is not very clear what type of value you are storing in the ACF field, but you can still check if that is blank or not by using the is not option as shown in the given screenshot.

Hope it helps.
Thanks

Hey thanks for your help!

Hi Ketan,

Glad that we are able to help you.

Thanks

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