• Resolved ctuxboy

    (@ctuxboy)


    Hello,

    Another question: How to use the ‘barcode’-shortcode?
    If insert it don’t show on a invoice document.

    Can’t find information about shortcodes on the website https://booster.io

    Looking in the changelog, barcode shortcodes are available in the latest update.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi again, @ctuxboy,

    Yes, sorry we still didn’t released the documentation for barcodes. In a couple of words to output barcodes in Booster’s invoices:

    1. [wcj_order_tcpdf_barcode] shortcode. E.g.:

    [wcj_order_tcpdf_barcode code="%id%"] – will output order ID as barcode.

    [wcj_order_tcpdf_barcode code="%url%"] – will output view order URL as barcode.

    [wcj_order_tcpdf_barcode code="%doc_number%" doc_type="invoice"] – will output invoice number as barcode.

    2. [wcj_tcpdf_barcode] shortcode. E.g.:

    [wcj_tcpdf_barcode code="http://yoursite.com"] – will output your site URL as barcode.

    3. product_barcode column in [wcj_order_items_table] shortcode. E.g.:

    [wcj_order_items_table table_class="pdf_invoice_items_table"
    	columns="product_barcode|item_name|item_quantity|line_total_tax_excl"
    	columns_titles="Barcode|Product|Qty|Total"
    	columns_styles="width:30%;|width:50%;|width:5%;|width:15%;text-align:right;"]

    There are more option in shortcodes (e.g. 1 dimensional or 2 dimensional, width, height and more). I will post links to docs here, as soon as it’s ready.

    Hope that helps.

    Best regards,
    Tom

    Thread Starter ctuxboy

    (@ctuxboy)

    Hi Tom,

    Thats awesome!
    Thanks for the documentation!
    It works perfectly!!!!!

    Happy with your support and awesome plugin. Keep up the good work 🙂

    It gives me motivation working on new webshops 😉

    Regards,
    Christophe

    Thank you Christophe!

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

The topic ‘Barcodes’ is closed to new replies.