cart product quantitiy for bundle product in velocity and change log updated

This commit is contained in:
rahul shukla 2020-02-21 10:53:59 +05:30
parent 9937f52de2
commit c87562622b
2 changed files with 13 additions and 3 deletions

View File

@ -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.

View File

@ -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;
}
},