Viewing 2 replies - 1 through 2 (of 2 total)
  • It is sort of out of scope of this plugin. The plugin supplies a couple of hooks that you can use do basically anything you like. Be it a barcode or an image of an elephant ??

    Anyhow, maybe I can help. Can you supply:

    • The barcode plugin you are using
    • Any errors you get (have WP_DEBUG on in wp-config.php?)
    • A snippet of the code you are using and in which file this is?

    Hi,

    Try to add the following code to your child theme/woocommerce/print-order/print-content.php

    <?php
    echo WC_Order_Barcodes()->display_barcode($order->id);
    ?>

    NOT the following one:
    <?php
    echo WC_Order_Barcodes()->display_barcode($order_id);
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order barcode in print’ is closed to new replies.