Saltar navegación

[Resuelto] Display woocommerce product weight on single product page

This support ticket is created hace 3 meses, 1 semana. 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)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Clay hace 3 meses, 1 semana.

Asistido por: Minesh.

Autor
Mensajes
#2794781

Tell us what you are trying to do?

I'm trying to display the product size and weight on my single product template.

For dimensions I;ve got this (which works): Dimensions: [types field='product-length'][/types]" L x [types field='product-width'][/types]" W x [types field='product-height'][/types]" H

I need to do something similar for weight.

Is there any documentation that you are following?

No

Is there a similar example that we can see?

What is the link to your site?

enlace oculto

#2794825

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you enable the "_weight" field from hidden custom fields section:

More info:
- https://toolset.com/course-lesson/using-third-party-hidden-fields/

And later you should try to display the weight as: [types field='_weight'][/types]

Does that helps?

#2794926

Great. Thanks!