On the page http://javacity.rbcdev.com/ajax-test/ I have added the functionality when you click a product from the Woocommerce product table, it will populate a div after running the shortcode from an AJAX call. The issue is the quantity incrementor and tabs do not work in the product display. Do you have a solution for calling the necessary scripts again after loading the shortcode? Right now they all just call the same shortcode "echo do_shortcode( '[product_page id="236"]' );" but want to make sure I can make this work properly first.
You can check it for the CSS classes used on that single product page. Another thing you can do is check the woocommerce js files loaded on that single product page mainly
On the page http://javacity.rbcdev.com/ajax-test/ I have added the functionality when you click a product from the Woocommerce product table, it will populate a div after running the shortcode from an AJAX call. The issue is the quantity incrementor and tabs do not work in the product display. Do you have a solution for calling the necessary scripts again after loading the shortcode? Right now they all just call the same shortcode "echo do_shortcode( '[product_page id="236"]' );" but want to make sure I can make this work properly first.
Hi there,
Apologies for the late reply.
This isn't within what we offer as support.
The themes main JS is in salient \ js \ init.js
You can check it for the CSS classes used on that single product page.
Another thing you can do is check the woocommerce js files loaded on that single product page mainly
wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
Its seems to be the one controlling those aspects of the single product page.
Hope you can work it from there.