Commit a9ad60b143c19066953ef2ce9487c647bb6dd162
1 parent
1aeb0d56
Exists in
master
and in
29 other branches
Fixing Microdata variable name class on shopping cart
(ActionItem2591)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/shopping_cart/public/cart.js
| ... | ... | @@ -65,7 +65,7 @@ function Cart(config) { |
| 65 | 65 | ).appendTo(li); |
| 66 | 66 | var input = $("input", li)[0]; |
| 67 | 67 | input.lastValue = input.value; |
| 68 | - input.itemId = item.id; | |
| 68 | + input.productId = item.id; | |
| 69 | 69 | input.ajustSize = function() { |
| 70 | 70 | var len = this.value.toString().length; |
| 71 | 71 | if(len > 2) len--; |
| ... | ... | @@ -73,7 +73,7 @@ function Cart(config) { |
| 73 | 73 | }; |
| 74 | 74 | input.ajustSize(); |
| 75 | 75 | input.onchange = function() { |
| 76 | - me.updateQuantity(this, this.itemId, this.value); | |
| 76 | + me.updateQuantity(this, this.productId, this.value); | |
| 77 | 77 | }; |
| 78 | 78 | // document.location.href = "#"+liId; |
| 79 | 79 | // document.location.href = "#"+this.cartElem.id; | ... | ... |