Woocommerce Add To Cart for variable product in Idstore Theme
-
I have been having a problem of add-to-cart not appearing for the variable products. I have set the price for every variation.
While getting into the details, i found out that “wcaddtocartvariation_params” variable was undefined in the file add-to-cart-variations.min.js.
This is the case in IDSTORE theme. But, when i use Twenty Fourteen theme instead, it is working fine.
Getting into more details, i suspect the source of problem is somewhere here:
#idstore/code/functions.php
if(classexists(‘WooCommerce’)) {
$scriptdepends = array(‘wc-add-to-cart-variation’);
}
This is line no. 68 in file. When i comment this line, it starts working for IDSTORE theme also.Can somebody please guide why this happens and how to resolve it. Any help is appreciated.
Just for better understanding, this is the link to the website I am working on: https://boonstan.webfactional.com/product/krav-maga-global-p1-practitioner-1-dvd-2/
- The topic ‘Woocommerce Add To Cart for variable product in Idstore Theme’ is closed to new replies.