Skip Navigation

[Resolved] Second Conditional Block on a page doesn't display the value of custom field

This support ticket is created 3 years, 1 month 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.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 3 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2253541

I have a custom Content Block created in Blocksy. It's used to display Product custom fields in additional tab on Single Product.

The Content block has two Conditional blocks that display information only when the fields are not empty or have value 1.

The problem is, that for the second Condtional block I'm alway getting shortcode value, not the value of the custom field.
See here: hidden link
The condition works ok, because when the field is empty - nothing is displayed.

The conditional block configuration: hidden link
The conditional block conditon: hidden link

#2253939

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where I can see the issue.

#2253945

Sure - here - hidden link in the tab "Informacje"

#2254077

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The thing is that we do not have any tight integration with Blocksy premium addon you are using.

The conditional block is not rendering as it should. As a workaround, I've created a content template using "classic mode" (not using blocks) and added the conditional shortcode within it:
=> hidden link

And then added the content template to your Blocksy content block using shortcode block at bottom:
=> hidden link

I can see its displaying the content as expected: hidden link

I suggest you should not use the Toolset Blocks within the Blocksy content block as sooner or later you find it not working as expected as we do not recommend to use Toolset Blocks inside third party plugin content build area.