We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0351507 commit 55cd36bCopy full SHA for 55cd36b
simpleCart.js
@@ -410,8 +410,8 @@ function Cart(){
410
outputValue = this.valueToCurrencyString( outputValue );
411
412
}
413
- if( info[1].toLowerCase() == "image" ||
414
- info[0].toLowerCase() == "image"){
+ if( (info[1] && info[1].toLowerCase() == "image") ||
+ (info[0] && info[0].toLowerCase() == "image") ){
415
416
outputValue = this.valueToImageString( outputValue );
417
0 commit comments