geer-builder 1.2.592 → 1.2.593

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/GCheckout.vue +4 -2
  2. package/package.json +1 -1
package/GCheckout.vue CHANGED
@@ -1452,7 +1452,7 @@ export default {
1452
1452
  total_item_length += ((Number(pro.product.delivery_settings.length)*2.54)*Number(pro.quantity));
1453
1453
  total_item_height += ((Number(pro.product.delivery_settings.height)*2.54)*Number(pro.quantity));
1454
1454
  total_item_weight += ((Number(pro.product.delivery_settings.weight)/1000)*Number(pro.quantity));
1455
- total_item_price += (Number(pro.selling_price)*Number(pro.quantity));
1455
+ total_item_price += ((Number(pro.selling_price)*Number(pro.quantity)));
1456
1456
  total_item_volume_weight += Number((((Number(pro.product.delivery_settings.width)*2.54) * (Number(pro.product.delivery_settings.length)*2.54) * (Number(pro.product.delivery_settings.height)*2.54))*pro.quantity).toFixed());
1457
1457
  });
1458
1458
  total_item_width = Number(total_item_width.toFixed(2));
@@ -1486,18 +1486,21 @@ export default {
1486
1486
  if(total_item_width <= small_pouch.width && total_item_length <= small_pouch.length && total_item_height <= small_pouch.height && total_item_weight <= small_pouch.max_kg)
1487
1487
  {
1488
1488
  shipping_fee = this.$_formatNumber(small_pouch.shipping_fee, { decimal: 2});
1489
+ shipping_fee = Number(shipping_fee);
1489
1490
  console.log(shipping_fee, 'shipping_fee');
1490
1491
  packaging = "Small Pouch"
1491
1492
  }
1492
1493
  else if(total_item_width <= medium_pouch.width && total_item_length <= medium_pouch.length && total_item_height <= medium_pouch.height && total_item_weight <= medium_pouch.max_kg)
1493
1494
  {
1494
1495
  shipping_fee = this.$_formatNumber(medium_pouch.shipping_fee, { decimal: 2});
1496
+ shipping_fee = Number(shipping_fee);
1495
1497
  console.log(shipping_fee, 'shipping_fee');
1496
1498
  packaging = "Medium Pouch"
1497
1499
  }
1498
1500
  else if(total_item_width <= large_pouch.width && total_item_length <= large_pouch.length && total_item_height <= large_pouch.height && total_item_weight <= large_pouch.max_kg)
1499
1501
  {
1500
1502
  shipping_fee = this.$_formatNumber(large_pouch.shipping_fee, { decimal: 2});
1503
+ shipping_fee = Number(shipping_fee);
1501
1504
  console.log(shipping_fee, 'shipping_fee');
1502
1505
  packaging = "Large Pouch"
1503
1506
  }
@@ -1543,7 +1546,6 @@ export default {
1543
1546
  // shipping_fee = Number(Number(shipping_fee).toFixed(2));
1544
1547
  // }
1545
1548
 
1546
-
1547
1549
  orders.shipping_fee = shipping_fee;
1548
1550
  // this.checkout_info.shipping_total = 0;
1549
1551
  if(this.payment_method.payment_method_id == "gc_points")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.592",
3
+ "version": "1.2.593",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {