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
Name: woogc/single_checkout/split_order/order_created Type: Action Arguments: $new_order The `woogc/single_checkout/split_order/order_created` action...
Name: woogc/ps/synchronize_product/child_product Type: Filter Arguments: (object)$child_product (array)$main_product_data (int)$origin_product_blog_ID This filter...
Name: woogc/ps/interfaces/sync_to_shop Type: Filter Arguments: $status, $remote_blog_id, $post The...
Name: woogc/ps/synchronize_product/completed Type: Filter Arguments: $child_product_ID, $main_product_ID,...
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments