• Resolved Peter Leenders

    (@peterleenders)


    When I use [wcj_order_customer_meta key=“billing_first_name”] in the template for PDF invoices nothing is showing.

    Other shortcodes work and show the info, but this one not.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor David G

    (@gravid7)

    Hi @peterleenders,

    Thanks for reaching out to us.

    It looks like the issue is caused by using curly quotes (“ ”) instead of straight quotes (“).

    Please try updating the shortcode to use straight quotes like this: [wcj_order_customer_meta key=”billing_first_name”].

    Thread Starter Peter Leenders

    (@peterleenders)

    I did use straight quotes, but no change. Still nothing is showing.

    Plugin Contributor David G

    (@gravid7)

    Hi @peterleenders,

    Thanks for your message.

    If possible can you please share screenshots of your configuration settings and screenshots of your issue? So, we can check and help you.

    Thread Starter Peter Leenders

    (@peterleenders)

    Which configuration settings do you need?

    Plugin Contributor David G

    (@gravid7)

    Hi @peterleenders ,

    Thank you for your message.

    Please send us the full template code so we can review it and assist you further.

    Plugin Contributor David G

    (@gravid7)

    Hi @peterleenders

    I haven’t heard back from you, so I believe the issue has been resolved. I am closing this. feel free to open a new ticket for further help.

    Thread Starter Peter Leenders

    (@peterleenders)

    Sorry, but it’s difficult to respond from a hospital.

    But here’s the code:

    <h1>Packing Slip</h1>
    <p>
    <table class="pdf_invoice_heading_table">
    <tbody>
    <tr>
    <th>Shipping method</th>
    <td>[wcj_order_shipping_method]</td>
    </tr>
    <tr>
    <th>Proforma Invoice Nr.</th>
    <td>[wcj_proforma_invoice_number]</td>
    </tr>
    <tr>
    <th>Invoice Nr.</th>
    <td>[wcj_invoice_number]</td>
    </tr>
    <tr>
    <th>Order Nr.</th>
    <td>[wcj_order_number]</td>
    </tr>
    <tr>
    <th>Order Date</th>
    <td>[wcj_order_date]</td>
    </tr>
    </tbody>
    </table>
    </p>
    <h2>Shipping address</h2>
    <p>
    <table>
    <tbody>
    <tr>
    <td>[wcj_order_shipping_address]</td>
    </tr>
    </tbody>
    </table>
    </p>

    Beste [wcj_order_customer_meta key=”billing_first_name”],<br>
    <br>
    Wij hebben ons best gedaan om alle bestelde artikelen in een doos te verpakken. Helaas kan het gebeuren dat wij meerdere dozen moeten gebruiken.<br><br>
    <h2>Items</h2>
    <p>
    [wcj_order_items_table table_class="pdf_invoice_items_table"
    columns="item_number|item_name|item_quantity"
    columns_titles="|Item|Qty"
    columns_styles="width:5%;|width:80%;|width:15%;text-align:right;"]
    </p>
Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shortcode showing nothing’ is closed to new replies.