VP-ASP New User
Posted - July 11 2012 : 11:38:49
| When using the "quantity" type product feature, an error message appears in the shopupdatecartprices.asp file.
The getfprice subroutine uses the "arrCart" array previously declared in the main UpdateCartPrices routine. Being declared localy, its values are not available within the getfprice subroutine. I corrected this issue in the following way:
Change in shopupdatecartprices.asp and shopaddtocart.asp :
From (approx. line 105 and line 508 respectively) :
Then modify the corresponding function in shopupdatecartprices.asp :
function getfprice (feaid)
function getfprice (feaid,arrCart,i)
This problem being solved, I observed in the same time that the product feature prices in the cart description are not updated when prices have been modified. The calculated total price, however, is correct.
Thanks in advance for any opinion.
Edited by - manilow on July 11 2012 11:44:39