Search
Run JavaScript code on Synchronization screen complete - WP Global Cart
16003
documentation-template-default,single,single-documentation,postid-16003,theme-awake,eltd-core-1.1,woocommerce-no-js,awake child-child-ver-1.0.0,awake-ver-1.0,eltd-smooth-scroll,eltd-smooth-page-transitions,eltd-mimic-ajax,eltd-grid-1200,eltd-blog-installed,eltd-default-style,eltd-fade-push-text-top,eltd-header-standard,eltd-sticky-header-on-scroll-down-up,eltd-default-mobile-header,eltd-sticky-up-mobile-header,eltd-menu-item-first-level-bg-color,eltd-dropdown-slide-from-top,eltd-,eltd-fullscreen-search eltd-search-fade,eltd-side-menu-slide-from-right,wpb-js-composer js-comp-ver-6.3.0,vc_responsive
 

Run JavaScript code on Synchronization screen complete

WP Global Cart / Run JavaScript code on Synchronization screen complete
Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on TumblrPin on PinterestEmail this to someonePrint this page

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); 

0
Would love your thoughts, please comment.x
()
x