Skip Navigation

[Resolved] Field in Views doesn't get returned

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 1 reply, has 2 voices.

Last updated by Minesh 1 month, 4 weeks ago.

Assisted by: Minesh.

Author
Posts
#2779011
Screenshot 2024-10-23 125033.png
Screenshot 2024-10-23 124321.png

I am trying to:
Create a loop to return values from the CPT "Speisen". All other fields are working correctly but the price field gets returned empty

Link to a page where the issue can be seen:
hidden link
the output is on:
hidden link
under the Title "Unsere Favoriten"
I expected to see:
the value of "speise-preis"

Instead, I got:
empty field

#2779024

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please check now: hidden link

I see you set the field to save as number field but the value you added is like: 12,90 that is not the number format and that is why its not displaying the value using the Types shortcode:

[types field='speise-preis'][/types]

To make this work, I've replaced the above shortcode as given under:

[wpv-post-field name="wpcf-speise-preis"]

Can you please confirm it works as expected now.

#2779044

Yes it works