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...
In the ever-evolving landscape of e-commerce, where seamless customer experiences are the cornerstone of success, WooCommerce Global Cart is now supporting the new WooCommerce Cart Blocks and Checkout Blocks, as powerful allies for merchants seeking to elevate their checkout processes. This groundbreaking integration seamlessly blends the benefits of Global Cart with the enhanced functionality of the new blocks, propelling businesses towards a paradigm shift in their online shopping journeys. Starting WooCommerce version 8.3 the Cart Blocks and Checkout Blocks are now the default checkout flow for new installations.
Name: woogc/ps/interfaces/sync_to_shop Type:Â Filter Arguments:Â $status, $remote_blog_id, $post The...