Run JavaScript code on Synchronization screen complete
On the Synchronization screen complete, custom JavaScript can run. To achieve this, the following code is required within a js file, that is loaded along the page:
document.addEventListener( 'woogc/sync-done' , function (e) { alert ('Triggered Event sync-done'); //further JavaScript code }, false);
Related Posts
Managing multiple WooCommerce shops within a WordPress Multisite environment can be challenging, especially when it comes to keeping product information consistent across all stores. The WooCommerce Product Synchronization feature in the WP Global Cart plugin addresses this challenge by enabling seamless synchronization of products across your network.
Name: woogc/single_checkout/split_order/order_created Type: Action Arguments: $new_order The `woogc/single_checkout/split_order/order_created` action...
Subscribe
Login
0 Comments
Oldest
Newest
Most Voted
Inline Feedbacks
View all comments