• Resolved andreafrassine

    (@andreafrassine)


    Hi, I find the plugin that generates the QR code from the woocommerce order number very useful.

    I need to print the QR CODE that contains the order number in the PDF that the Print Invoice & Delivery Notes for WooCommerce plugin generates.

    I wrote this function but it doesn’t work, can anyone help me?


    // Inserisce funzione in PDF Print Invoice & Delivery Notes for WooCommerce
    add_filter( ‘wcdn_order_info_fields’, ‘qrcodetag_from_goaskle_com’, 10,2 );
    function qrcodetag_from_goaskle_com( $fields, $order ) {
    $new_fields = array();
    if( get_post_meta( $order->id, ‘qrcodetag_from_goaskle_com’, true ) ) {
    $new_fields[‘qrcodetag_from_goaskle_com’] = array(
    ‘label’ => ‘QR CODE ORDER’,
    ‘value’ => get_post_meta( $order->id, ‘qrcodetag_from_goaskle_com->getQrCodeUrl($content, $size, $encoding, $ecc, $margin, $version);’, true )
    );
    }
    return array_merge( $fields, $new_fields );
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author www.15.to

    (@www15to)

    Hello!

    Let me look at this plugin and I will add support of this plugin asap

    Plugin Author www.15.to

    (@www15to)

    I just released new version 1.9.10 with support of plugin

    Print Invoice & Delivery Notes for WooCommerce

    By?Tyche Softwares

    So just6 upgrade verion of my plugin and you will have automatic support

    If you still want to use your own code

    then maybe you still prefer to use semi-automatic way? then use in php code

    echo wp_kses_post(“

    “.do_shortcode(‘[qrcodetag_from_goaskle_com/]’).””);

    Plugin Author www.15.to

    (@www15to)

    If you still have any issues

    try to reinstall my plugin

    or

    if you stll want to use your own php function – please let me know your goal and I will help you for sure with php code

    Thread Starter andreafrassine

    (@andreafrassine)

    Perfect, now I’ll check right away and see if everything works!

    Thread Starter andreafrassine

    (@andreafrassine)

    Sorry, I’ve updated your plugin, but where do I find the option to add the QR to my PDF?

    Plugin Author www.15.to

    (@www15to)

    Hello

    its automatic must work after update

    if not let me know

    Check settings

    checkboxes disable auto and disable some emails must be unchecked

    Thread Starter andreafrassine

    (@andreafrassine)

    Perfect! Thanks so much

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘QRCODE PDF Print Invoice & Delivery Notes for WooCommerce’ is closed to new replies.