Andreas Karman
Forum Replies Created
-
Forum: Plugins
In reply to: [Order Weight for WooCommerce] Order weight has too many decimals@tchernaev
It is tested with both HPOS and legacy mode, on PHP 7.4.3, PHP 8.1.9 and PHP 8.3.8. Do you have anything about the 500 error in your logs?Forum: Plugins
In reply to: [Order Weight for WooCommerce] Can I display the order weight in kg?I’m happy that you are enjoying the plugin, @woncheon.
This is actually a setting in WooCommerce and not related to the plugin. Go to Settings -> Products and change Weight unit, in your case from “g” to “kg”.
The link is https://store.url/wp-admin/admin.php?page=wc-settings&tab=products.Forum: Plugins
In reply to: [Order Weight for WooCommerce] Order weight has too many decimalsHi @tchernaev,
2.1 is now released which should resolve this issue. Please check it out and get back to me with any feedback.Forum: Plugins
In reply to: [Order Weight for WooCommerce] How can I use this within PDF invoicesHi @nealsen2003,
2.1 is now available, adding shortcode[order_weight]for use in templates. Show label (true or false) is if you want to show “Weight” before the value.
Use it like this:echo do_shortcode('[order_weight show_label="true"]');- This reply was modified 1 year, 5 months ago by Andreas Karman.
- This reply was modified 1 year, 5 months ago by Andreas Karman.
Forum: Plugins
In reply to: [Order Weight for WooCommerce] Order weight has too many decimalsHi @tchernaev,
Great catch, I will make sure that wc_format_weight() is used everywhere where the order weight is displayed.
Releasing an update to the plugin later this week and this will be included.- This reply was modified 1 year, 6 months ago by Andreas Karman.
Forum: Plugins
In reply to: [Order Weight for WooCommerce] HPOS compatibility issue2.0 is now released which should fully support both HPOS and legacy mode. Thanks for your patience!
Forum: Plugins
In reply to: [Order Weight for WooCommerce] Declaring Compatibility with HPOSHi @calebweeks,
Thanks for your kind words, it goes a long way! As I have left the web industry and now spends my days mastering the art of elevator mechanics, it takes some time to get back into coding.
2.0 is now released, which should fully support both HPOS and legacy mode. Please try it and get back to me with any feedback.
AndreasSorry for all the troubles regarding this problems and HPOS. I have now released version 2.0 which seems to work as it should for both HPOS and legacy mode, please try it out and get back to me with any feedback.
Thanks for your kind words! 2.0 is now released, which should be fully compatible with both HPOS and legacy mode. Please try it and get back to me with any feedback.
The problems related to HPOS was with custom columns in the admin area and how that should be treated.@joelmellin
I’ve released 1.2.5 that should adress your issue, please try and get back to me if you have any additional problems!1.2.2 uses filter manage_edit-shop_order_columns and action manage_shop_order_posts_custom_column, 1.2.4 uses filter manage_woocommerce_page_wc-orders_columns and action manage_woocommerce_page_wc-orders_custom_column. Seems like it’s working for some users and it’s connected to HPOS support.
I’m working to adress this in the next version of the plugin, which will support HPOS.- This reply was modified 1 year, 6 months ago by Andreas Karman.
Strange, seems to work here. I will investigate tomorrow @joelmellin, you are using the latest version of WordPress and WooCommerce?
Forum: Plugins
In reply to: [Order Weight for WooCommerce] How can I use this within PDF invoices@nealsen2003
Are you using a plugin to generate the PDF invoices? Would like to test that everything works with the plugin you are using, before I add this.Forum: Plugins
In reply to: [Order Weight for WooCommerce] Can’t place order while this plugin active@rbamm I uploaded a new version of the plugin, 1.2.4, that should take care of this error. It also adds better error logging. Please get back to me if its not working!
Forum: Plugins
In reply to: [Order Weight for WooCommerce] How to translate this in Loco translateSorry for the delay @topboj.
In the new version released all the translations should be available.