Saltar navegación

[Resuelto] content template – display numeric value to include a comma for pricing.

This support ticket is created 4 years, 2 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, 2 months ago.

Asistido por: Shane.

Autor
Mensajes
#2341259

We are using toolset and trying to take a numeric displayed value and display it with a comma using toolset content template.

We have added a leading $ but no comma.

As suggestions?

Phil

#2341315

Shane
Colaborador

Idiomas: Inglés (English )

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

Hi Phil,

Thank you for getting in touch.

In order to add the comma you're going to have to convert your number value to currency. You will need to use a custom shortcode to do this.

Please follow the instructions in the link below in order to do this.
https://toolset.com/forums/topic/display-numeric-value-as-money-format/

Thanks,
Shane