jQuery(document).ready(function($) {
    if( $('body').hasClass('woocommerce-page') ) {
        var message_array = {};
        message_array['post_title'] = window.appp.post_title;
        message_array['cart_link'] = window.apppwoo.cart_url;
        parent.postMessage( JSON.stringify( message_array ), '*');
    }
});



<ap-list wp="true" card="true" class="col-2"
     route="https://mysite.com/wp-json/wp/v2/sfwd-courses?per_page=10">
       </ap-list>



<ap-list wp="true" route="https://mysite.com/wp-json/wp/
     v2/sfwd-courses" infiniteScroll="true"></ap-list>



