Custom fields does not work in custom template
-
Hello,
I have your plugin installed on my site. I have created a custom template to add the custom fields, however, reading your documentation, I followed all the steps and the custom fields are still not shown on the invoice.I have added the following:
<?php $this->custom_field(“nombre_empresa”); ?>
<?php $this->custom_field(“_nombre_empresa”); ?>
<?php $this->custom_field(‘_nombre_empresa’); ?>
<?php $this->custom_field(‘nombre_empresa’); ?>No option is valid, because it does not show me the custom fields in the invoice.
These custom fields have been created in the checkout using the WooCommerce Custom Fields plugin (created by RightPress).
These custom fields are conditional, they are displayed in the checkout depending on the user role. Therefore, they only appear when the client fulfills the user role and completes them in the checkout.
Attached screenshot of the custom checkout fields in the Custom Fields plugin.
https://prnt.sc/hc3n1iIn the individual order of the client they are shown as follows:
https://prnt.sc/hc3pxxWhat am I doing wrong? Why are not the custom fields shown in the custom invoice?
On the other hand, in the settings of your plugin, it does not let me upload the logo. When I click on the “upload image” button nothing opens. Look image.
https://prnt.sc/hc3r38How can I put my logo on the invoice?
Thank you very much
The topic ‘Custom fields does not work in custom template’ is closed to new replies.