VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Kuubs on May 15, 2017, 15:18:51 PM

Title: Custom fields in email template add :
Post by: Kuubs on May 15, 2017, 15:18:51 PM
Hello,

I'm trying to add : to a field if it's not already there. This is about my custom fields, sometimes the system adds an : but sometimes it does not. How can I make sure that in the invoice_items.php file the : is added if there is not one already there?

Thanks
Title: Re: Custom fields in email template add :
Post by: Kuubs on May 16, 2017, 11:29:16 AM
Ok I checked the source files and its initialized here :

https://docs.virtuemart.net/api-vm2/dc/d00/customfields_8php_source.html

https://docs.virtuemart.net/api-vm2/d1/d27/class_virtue_mart_model_customfields.html#a7a7f33682e6b0152619fdb2d6a8f8b74

The public member function is CustomsFieldOrderDisplay which is called from the customfields.php file somewhere in the virtuemart installation. Does anyone know where to find this or another possibility to add a double point ( : ) if there is not one already there in between the custom fields title display and value display.
Title: Re: Custom fields in email template add :
Post by: Kuubs on May 18, 2017, 09:46:26 AM
Nobody?