• Resolved mikemkt

    (@mikemkt)


    Hello support, I installed the Print Invoice & Delivery Notes for WooCommerce plugin and entered the item in the PIVA checkout, but I don’t see it when I print the invoice.
    How can I do?
    Thank you for the support.
    Michele

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @mikemkt,

    Do you mean that you have added an extra field and that is not visible in the print invoice? If yes, then please let us know which plugin are you using on your site for adding the extra field.

    Please let us know if we have misunderstood your query.

    Regards,
    Kenil Shah

    Thread Starter mikemkt

    (@mikemkt)

    Good morning Kenil Shah
    Thanks for the reply. I am using “Manages WooCommerce Checkout, QuadLayers” and “Print Invoice & Delivery Notes for WooCommerce”
    I am waiting … thanks 1000
    Michele

    Hi @mikemkt,

    I have replicated the issue where the extra field is not getting printed on the invoice. However, I will ask the developer whether it is possible to make our plugin compatible with the Manages WooCommerce Checkout plugin or not and get back to you with an update.

    Regards,
    Kenil Shah

    Thread Starter mikemkt

    (@mikemkt)

    Thanks i’m waiting.
    Possibly also the possibility to view Paypal transaction code.
    I really hope it works out
    Michele

    Hi @mikemkt,

    Regarding your query of showing the extra field in the invoice, you have to add the below code in the functions.php file of your active theme.

    An example that adds a ‘VAT’ and ‘Customer Number’ field to the end of the list:

    function example_custom_order_fields( $fields, $order ) {
    $new_fields = array();
    if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
    $new_fields[‘your_meta_field_name’] = array(
    ‘label’ => ‘VAT’,
    ‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
    );
    }
    if( get_post_meta( $order->id, ‘your_meta_field_name’, true ) ) {
    $new_fields[‘your_meta_field_name’] = array(
    ‘label’ => ‘Customer Number’,
    ‘value’ => get_post_meta( $order->id, ‘your_meta_field_name’, true )
    );
    }
    return array_merge( $fields, $new_fields );
    }
    add_filter( ‘wcdn_order_info_fields’, ‘example_custom_order_fields’, 10, 2 );

    You have to add the correct meta key of the new field you want to add in the order info section in the invoice.

    Please let us know how it goes.

    Regards,
    Kenil Shah

    Thread Starter mikemkt

    (@mikemkt)

    Thanks for the reply, I entered the code in the flatsome functions.php theme of the site and it gives me an error on line 3. Please help me I’m desperate … can I provide the passwords for help, can i send screenshots or other? I entered the billing VAT number in the Checkout Manager for WooCommerce plugin as seen on the site https://www.adapter3dmotorrad.it and in the orders I see the VAT number but when I print it does not display it.
    Help help help
    Michele

    Hi @mikemkt,

    Could you please email us your query on “support at tychesoftwares dot freshdesk dot com” along with the access details of your site so that we can debug the issue.

    Regards,
    Kenil Shah

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Print Invoice & Delivery Notes for WooCommerce’ is closed to new replies.