Hi,
I created custom field group for upload datasheets, manuals.
Also I have custom Content Template for single products.
Problem is not every product have manual file. I would like show download buttons only if there is url linked.
I found conditional container, but I got confused how to setup it to show single button in multiple buttons group if there is a url.
At the moment second button in Content Template generate product url to fill field if there is no url in current product.
From your screenshot I see that you're using a conditional block. You should be able to use this to check if the field is not empty and then display your button.
Click on the Add new condition button from your screenshot in order to add your conditional to check the custom field.
I managed use conditional blocks:
NOT (
Field Datasheet from Current Post is empty .
)
but I had to do single conditional per buttons group > button couldn't add conditions to single button in buttons group. Anyway it helps thanks.
Also I found that after I open content template editor I do not see source - custom fields at all. I have to reload content first -> view with: other product. After that I see source - custom fields