• Hey,
    great plugin, one problem though.

    My PDF invoice is generated with “.” (dot) instead of “,” (comma) as decimal separator which I have set from woocommerce settings. But now and then I get mails from clients with screen shots where prices are wrong, and thats because somehow and somewhy sometimes the invoice in generated with “,” as decimal separator. Its important for prices to stay the same format because I’m parsing some of these values to floats to get some values that woocommerce doesnt provide. (like item line_subtotal without product coupon applied or order total without VAT or cart total without coupons being applied)

    Thanks

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hello,
    That’s very odd! The plugin does not generate the prices, they are formatted in WooCommerce/by WooCommerce functions. Can you check to see if the decimal separator is the same as the email for the screenshots that you have received? I think this is a woocommerce issue rather than a PDF Invoice issue…

    Let me know what you find!
    Ewout

    Thread Starter kingturban

    (@kingturban)

    Thanks for your answer,

    Everywhere else in the page decimal separator is comma, but on on the invoice it shows dot and the rare broken invoices that customers get to their emails are the only ones where the separator is comma. (and invoices are broken because parsing doesnt work anymore)

    Any suggestion would be welcome

    Plugin Contributor Ewout

    (@pomegranate)

    Hello,
    Can you forward such an email, with attachment to support@wpovernight.com, together with a zip file of your template?

    Thanks!
    Ewout

    Plugin Contributor Ewout

    (@pomegranate)

    Also, are you using only one currency, or is there anything special with these orders that use a comma instead of a dot?

    Thread Starter kingturban

    (@kingturban)

    Sent you an email, im using one currency, so every order should have commas.

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

The topic ‘Price decimal separators’ is closed to new replies.