Think we might have found what's causing total price to remain at zero.
Specifically, function gformGetBasePrice(formId, productFieldId){
has two almost identical instances of the following inside price.js:
//If field is hidden by conditional logic, don't count it for the total
if(gformIsHidden(productField)){
price = 0;
}
and
//If field is hidden by conditional logic, don't count it for the total
if(gformIsHidden(productField))
price = 0;
}
Should price = 0;
be changed to price = productField.val();
Will that work?
I know hacking price.js probably isn't the best solution due to upgrades. Would anyone know if this function can be overridden through functions.php?
Posted 13 years ago on Saturday January 22, 2011 |
Permalink