Email-Vorlagen: Funktionen von Smarty?

in den Email-Vorlagen wird solcher Code wie folgt verwendet:

{$details.quantity | fill:6}
{$details.price | currency}

… …

Was sind eigentlich ‘fill’ und ‘currency’? Sind sie Smarty Funktionen?

Ich habe selber bei smarty.net recherchiert: es gibt aber keine Funktion ‘fill’ oder ‘currency’ (es gibt z.B. ‘wordwrap’, ‘indent’)

Hat jemand da eine Idee?

 

Das sind Filter und Modifikatoren   in smarty.

https://developers.shopware.com/designers-guide/smarty-plugins/

https://www.smarty.net/docs/en/plugins.modifiers.tpl

Danke erstmal. Habe ich das smarty-plugin ‘currency’ gesehen.

Aber woher kommt ‘fill’? Es gibt auch keine Funktion oder Plugin von ‘fill’ in irgendeiner Dokumentation…

 

1 „Gefällt mir“

Jawohl! Vielen Dank!