• Resolved immolaine

    (@immolaine)


    Is it possible to add billing_first_name and billing_last_name to PDF invoice in Buyer information area?

    I have tried code like this:

    <?php if($order->get_meta( ‘billing_last_name’)) {?><p>Name: <?php echo $order->get_meta( ‘billing_last_name’); ?></p><?php }?>

    without success. Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support rzepsen

    (@rzepsen)

    Hello @immolaine

    The plugin allows you to add first and last names in the buyer information area without modifying the plugin.

    Add first and last name while placing an order. Leave the company name field blank, then the plugin will add the first and last name to the invoice in the buyer information area. Have you tried this solution?

    If you have another solution in mind, please provide more details about the scenario you want to implement in your store.

    Best regards,

    Thread Starter immolaine

    (@immolaine)

    Thank You! I have to try that!

    Plugin Support rzepsen

    (@rzepsen)

    Hello @immolaine,

    Yes, please try this solution.

    If you have any questions, I will gladly help you!

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order data to buyer.php document template’ is closed to new replies.