• Resolved disconnect

    (@disconnect)


    Hi Bas, how are you?

    First of all, I really like your plugin, it’s simple and workes well!

    I have recently installed WPML and now I get this error:

    Parse error: syntax error, unexpected end of file in /home/~foldername~/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/templates/invoices/simple/micro/body.php on line 1

    Please assist

    thanks!

    https://wordpress.org/plugins/woocommerce-pdf-invoices/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter disconnect

    (@disconnect)

    ok, I found out what was the problem, woocommerce version is 2.4.13 and pdf invoices version was 2.4.1

    Since I want to wait with the woo update, I changed back WooCommerce PDF Invoices version to 2.4.0 and it’s back to normal.

    Plugin Author Bas Elbers

    (@baaaaas)

    Did you tried to delete and reinstall plugin?
    Save settings on General and Template tabs?
    Did you get WPML to work with the invoices?

    Thread Starter disconnect

    (@disconnect)

    Hi Bas, yes I did.

    Once I re installed previous version, it worked.

    I will try to re install the new version on a test site I have and will update here

    btw, is there an alternative to check country? instead of using:
    $this->order->get_formatted_billing_address()

    Something that will show the country selection?

    Thanks!

    Plugin Author Bas Elbers

    (@baaaaas)

    Try:
    echo get_post_meta($this->order->id, '_billing_country', true );

    Are you trying to translate the invoices with WPML?

    Thread Starter disconnect

    (@disconnect)

    Thanks!
    actually, no, just creating a case for my own country and the rest of the world (tax issues)

    Plugin Author Bas Elbers

    (@baaaaas)

    I’m struggling with WPML for some time now to translate invoice, but it’s almost ready.

    Plugin Author Bas Elbers

    (@baaaaas)

    Added WPML and Polylang support to WooCommerce PDF Invoices Premium.

    If you have any questions, just let me know.

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

The topic ‘WPML compatability’ is closed to new replies.