Skip Navigation

[Resolved] Displaying Custom Fields on my Woodmart Single Product Page

This support ticket is created 4 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#1993897

I created Custom Fields for my products per your tutorial. Easy enough.
Now I am trying to figure out how to get them to display on the product page.
I am using the Woodmart Theme.
I looked at this article: https://toolset.com/lesson-placement/lesson-placements-1666453-1666547/
But this article talks about creating a template from scratch. I want to use the Product Template already designed in WoodMart and just insert the custom fields where needed to display. Is this possible? If so how?

What is the link to your site? hidden link

#1994207

Hello and thank you for contacting the Toolset support.

To display custom fields in a single post page, you can either create a content template for the post type, or you can update the theme's template files. Content template only replaces the return of the the_content function from the theme's templates. Read more about theme's templates in this article:
- https://developer.wordpress.org/themes/basics/template-hierarchy/
Check how Toolset supports theme's functions on this article https://toolset.com/documentation/programmer-reference/theme-support-for-content-templates/

If you would like to use the theme's templates, read this article https://toolset.com/documentation/customizing-sites-using-php/creating-templates-single-custom-posts/

I hope this makes sense. Let me know if you have any further questions.