heidess
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Custom fields in templateI feel a little bit dumb now – I was using the incorrect ID for that field :
<td><?php $this->custom_field('_billing_wooccm14', 'Kadastra numurs:'); ?></td>This worked for me!
Thanks a lot for the great support!
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Custom fields in templateHello, if I use this snippet, I don’t get the parse error anymore, but the field doesn’t show up on the invoice.
If I use the snippet with a different (field not from the checkout plugin), it seems to work fine. (for example billing-address)
Could the issue be that the fields generated in the checkout plugin cannot be used in the template?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Custom fields in template<?php $this->tr-billing_wooccm14(‘tr-billing_wooccm14’, ‘My Field:’); ?>
Hi, I’m sorry – when originally posting the previous comment I added only a part of the snippet I used.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Custom fields in templateHello,
I tried adding the code snippet like this (in the template), but this returns parse error :
tr-billing_wooccm14(‘tr-billing_wooccm14’, ‘My Field:’); ?>
I don’t have a lot of knowledge in php so I might be adding something completely wrong.
Janis