cart product quantitiy for bundle product in velocity and change log updated
This commit is contained in:
parent
9937f52de2
commit
c87562622b
|
|
@ -78,6 +78,10 @@
|
|||
|
||||
* #2500 [fixed] - Database reset fails.
|
||||
|
||||
* #2519 [fixed] - filter price attribute throwing an exception.
|
||||
|
||||
* #2526 [fixed] - Velocity backend route is not accessible in arabic locale.
|
||||
|
||||
## **v1.0.0-BETA1(5th of February 2020)** - *Release*
|
||||
|
||||
* [feature] Updated to laravel version 6.
|
||||
|
|
|
|||
|
|
@ -202,9 +202,15 @@
|
|||
|
||||
computed: {
|
||||
product_qty: function() {
|
||||
return this.option.products[this.selected_product]
|
||||
? this.option.products[this.selected_product].qty
|
||||
: 0;
|
||||
var self = this;
|
||||
self.qty = 0;
|
||||
|
||||
self.option.products.forEach(function(product, key){
|
||||
if (self.selected_product == product.id)
|
||||
self.qty = self.option.products[key].qty;
|
||||
});
|
||||
|
||||
return self.qty;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue