retroriff
Forum Replies Created
-
No, I see that the data layer is quite different. So my only option is to fix the behaviour of those filters.
Another solution could be to uncheck the “Track enhanced e-commerce” and enqueue the gtm4wp-woocommerce-enhanced.js manually at the footer. Is there something else that should be considered when we enable this feature, or it only includes that JS? Thank you
Hello Thomas, I will be happy to share a stage site so we can safely modify the code and make tests. Can I send you the URL and login details in a private message?
Thank you!
I tried it but it doesn’t work. Any suggestion?
Thanks for your support.
Do you mean this?
if (function_exists('gtm4wp_init')) { apply_filters( 'gtm4wp_integrate-woocommerce-track-classic-ecommerce', true ); apply_filters( 'gtm4wp_integrate-woocommerce-track-enhanced-ecommerce', true ); apply_filters( 'gtm4wp_integrate-wpcf7', true ); apply_filters( 'gtm4wp_event-form-move', true ); apply_filters( 'gtm4wp_scroller-enabled', true ); apply_filters( 'gtm4wp_user_reg_login_script', true ); apply_filters( 'gtm4wp_soundcloud', true ); apply_filters( 'gtm4wp_youtube', true ); }
The upcoming vanilla version will be strongly appreciated.
Thank you!
What you say makes sense. Thank you
Thank you. I am curious about why do you think it is a bad idea?
Hello, we have changed it as suggested and now it works. Thank you
Yes, we are using the plugin made by zorem.
We can get the tracking link, so we send it I think because the Mail Boxes Etc provider wasn’t added yet. However we have removed this line and the emails still don’t include the tracking number.
We have commented this line:
if ($this->link) { $data['tracking_link'] = urlencode($this->link); }
But it doesn’t work either. Actually as I said WP is receiving the tracking number correctly, as shown on the WP Admin Orders page.
No add-on plugins. This is the location:
wp-content/plugins/query-monitor/classes/Collector.php:225
Hello, this is the API call we are doing:
public function handle() { try { $data = [ "tracking_provider" => $this->provider, "tracking_number" => $this->tracking, ]; if ($this->link) { $data['tracking_link'] = urlencode($this->link); } $shipmentTracking = Woocommerce::post("orders/$this->number/shipment-trackings", $data); Log::debug("[WooCommerce.job.order.send-shipping-number] update tracking number $this->number order"); } catch (\Exception $exception) { Log::error($exception->getMessage()); } }
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] Wrong URL on MRW ProviderHi, this is what I get after syncing:
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] Wrong URL on MRW ProviderGreat not it works like a charm.
Another question, why the providers list show 4 MRW Spain providers?
Thank you
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] WPML default languageAll the strings that the plugin allows to customize are in English. Those are not the strings that I am trying to fix. Sorry if I didn’t explain it right. The strings that I am trying to set up in English are the ones shown on the screenshot I uploaded in my first message. Those strings appear on the plugin code and the plugin doesn’t allow to translate them. Thank you