Thread Starter
tomiye
(@tomiye)
I found something I use a plugin to get the pdf invoice and it can get the price .And if I change the plugin code form “add_action(‘xxxxx’,100,3)” to “add_action(‘xxxxx’,300,3)”.Than the pdf don’t show price .I think I found the problem.But I don’t nkow how to fiex it. Seek help.
Thread Starter
tomiye
(@tomiye)
I use other Currency to checkout.But I can’t see the price in order after payment. And the new order email also don’t show price.
You can see the screenshot。
https://www.superfoodlab.com//wp-content/uploads/20200630112854.png
Hi @tomiye,
When you say you changed the priority in add_action(‘xxxxx’,100,3), is it in a 3rd party plugin or inside WooCommerce Multilingual? Could you write the whole line without the “xxxxx”?
Could you please open a support ticket on WPML forum and provide your debug information? That way it will be easier for us to give you assistance.
Then, please share the link here so I can follow up.
Thanks,
Pierre
Thread Starter
tomiye
(@tomiye)
Thanks for strategio,And I don’t find the priority with WooCommerce Multilingual.I use a plugin name:’Print invoices & delivery notes for WooCommerce orders’,And change it’s function to find this problem.”\woocommerce-delivery-notes\includes\class-wcdn-theme.php :43″
add_action( ‘woocommerce_email_after_order_table’, array( $this, ‘add_email_print_url’ ), 100, 3 );
I change 100=>300,
Then it prints the PDF file from the print link of the order email message and cannot display the price in other currencies.
Do not change the priority, it prints the DPF is normal display price.
-
This reply was modified 5 years, 11 months ago by
tomiye.
Thread Starter
tomiye
(@tomiye)
This problem on my website occurred after I upgraded WordPress 5.2 to 5.42
Hi @tomiye,
This problem on my website occurred after I upgraded WordPress 5.2 to 5.4.2
So this problem might not be related to WooCommerce Multilingual…
I recommend you to try isolating the problem with a minimal installation (if possible on a test server) by temporarily deactivating 3rd part plugins and see if your can reproduce the problem when WCML is activated and not reproduce when WCML is deactivated.
Note that this WC addon is not part of our compatible list but you can invite the author to our Go Global program and we’ll provide assistance to fix possible incompatibilities.
If you are running in more troubles, I also recommend that you open a ticket on our dedicated support forum where you will get faster assistance.
Thanks,
Pierre