Saltar navegación

[Resuelto] WooCommerce custom fields not showing on front end product page

This support ticket is created 4 years, 4 months 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Zona horaria del colaborador: America/Jamaica (GMT-05:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Shane 4 years, 4 months ago.

Asistido por: Shane.

Autor
Mensajes
#2271415
Custom fields.png

Ive added a set of custom fields and successfully add this to the woocommerce add/edit screens. These are however not showing on the frontend for the user. Im using a theme called Peakshops and I cant find anythig related to this in then source code of then output page so I dont think its hiding these. For example I added a file called "Test-upload-4p7cur.pdf" and I cant find this in out output HTML.

I can give admin access if required and modify templates as necesary.

Thanks

#2271585

Shane
Colaborador

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi John,

Thank you for getting in touch.

In order for the custom fields that were created to show on the frontend then you either have to create a custom php template and include the functions for retrieving the custom fields or you can use our views plugin to create a custom content template for your product.

We actually have some documentation on this and can be seen at the link below.
https://toolset.com/lesson-placement/lesson-placements-1666453-1666547/

This document should cover how to create and design your custom template as well as include your custom fields onto the product page.

Thanks,
Shane