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
WPGlobalCart is a powerful WooCommerce plugin designed to streamline e-commerce operations within a WordPress MultiSite network. It offers a range of tools and features that simplify product management, making it an essential tool for businesses with multiple online stores.
Product Synchronization Made Easy
One of the standout features of the WPGlobalCart plugin is its user-friendly and efficient approach to product synchronization. Managing a diverse range of products across multiple websites within a WordPress MultiSite network can be a complex and time-consuming task. However, WPGlobalCart streamlines this process, offering a set of tools and features that make product synchronization a breeze.
Starting version 3.8.5 WP Global Cart received a new functionality called “Replace the Cart Products with local version”.
The “Replace the Cart Products with local version” feature enhances the shopping experience for customers who are using the WP Global Cart plugin in a WordPress MultiSite environment. This feature specifically addresses situations where a product in the shopping cart is available in the current store.
Name: woogc/ps/synchronize_product/ignore_meta_key Type: Filter Arguments: $IgnoreMeta, $prop_title,...
Name: woogc/checkout/single/split/trigger_email Type: Filter Arguments: $status, $args By default,...