drjx
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Shipping] Remove “tracking” section from Order Shipped emailsPerfect. Thanks again Gerhard.
Forum: Plugins
In reply to: [WooCommerce Shipping] Remove “tracking” section from Order Shipped emailsWow! Thank you!!! A filter was a great idea. So, just pass back a true/false? (Is there a list of wc shipping hooks?)
Forum: Plugins
In reply to: [WooCommerce Shipping] Remove “tracking” section from Order Shipped emailsI grepped the source code and found the hook. It’s added in the file: wp-content/plugins/woocommerce-shipping/src/Loader.php
with this line: add_action( ‘woocommerce_email_after_order_table’, array( $this, ‘add_tracking_info_to_emails’ ), 10, 3 );
Obviously, I don’t want to edit the woocommerce shipping source code (although I get what I want if I comment out the line). I’d like to try to remove the hook (in my functions.php) with something like:
remove_action( ‘woocommerce_email_after_order_table’, array( $this, ‘add_tracking_info_to_emails’ ), 10, 3 );
But I need to figure out the object context to replace “$this”.
Can anyone help?
I understand, Thank you Gaurav.
Forum: Plugins
In reply to: [WooCommerce Shipping] Remove “tracking” section from Order Shipped emailsSo just to confirm, having me: setup, grab, redact, host, and post a screenshot was of no use whatsoever? Not nice! But ok, moving on…
Since this section is being added by WC Shipping, can you tell me the name of the function call it adds so I can remove it.
Forum: Plugins
In reply to: [WooCommerce Shipping] Remove “tracking” section from Order Shipped emailsThank you.
We need to remove the 2nd one, where it says “Tracking” (between order items table and addresses).
So what you are saying is AST simply adds a second tracking box instead of replace the one that WooCommerce puts there (from their shipping extension)?
This makes the customer order shipped emails look rather ridiculous. So I suppose everyone who uses WooCommerce (with Shipping extension) needs to figure this out in order to use AST. And I can’t find a single post on it. hmmm. Oh well, too bad, I liked AST. Perhaps you can add it to the feature request list. OK, thanks anyway.
The first one is from AST. The second one is from WC Shipping. This is the one we’d like to remove.
Forum: Plugins
In reply to: [WooCommerce Shipping] Label Migration appears stuckThat worked. Thanks André.
Forum: Plugins
In reply to: [WooCommerce Shipping] Label Migration appears stuckThanks for the reply André. We haven’t been using Shipping & Tax for very long, so only about 500 labels to migrate. The migration process has been running for 2 full days, starting on a 3rd day.
Based on your understanding of the process, at what point would you recommend we become concerned about its failure to terminate?
Forum: Plugins
In reply to: [WooCommerce Shipping] Paperless Trade?perfect. thanks carolm29.
Actually, no. The plugin is called “WooCommerce Shipping” by Woo (introduced 2024-04-18). I can’t find a dedicated forum for it.
Forum: Plugins
In reply to: [WooCommerce] How to Convert over to Separate Shipping and Tax PluginsWow. Great answer. Thanks Roxy!
I did as you suggested. Problem still exhibits.
Possible clue : notes created before we switched to summer time display with a 5 hour difference (in the Latest Note column). Those created after switching to summer time, the difference is 4 hours. (US has switched, most of the world has not yet.)
Perhaps in your test, you are in the same time zone as your server? Is there a format issue in the way the timestamp is specified for the display?