geer-builder 1.2.902 → 1.2.904
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.
- package/GCheckout.vue +3 -0
- package/GNoSlotDashboardPackage.vue +2 -1
- package/GProcessSale.vue +3 -0
- package/GProcessSaleGc.vue +3 -0
- package/package.json +1 -1
package/GCheckout.vue
CHANGED
|
@@ -566,6 +566,9 @@ export default {
|
|
|
566
566
|
if (this.user_info)
|
|
567
567
|
{
|
|
568
568
|
this.public_settings = await this.$_getData('public_settings');
|
|
569
|
+
if(this.public_settings.enable_auto_activate_on_purchase) {
|
|
570
|
+
this.auto_activate = true;
|
|
571
|
+
}
|
|
569
572
|
this.courier_settings = await this.$_getData('courier_settings');
|
|
570
573
|
this.main_currency = this.public_settings.main_currency;
|
|
571
574
|
this.shipping_fee_settings = this.public_settings.shipping_fee;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="g-dashboard-package">
|
|
3
3
|
<template v-if="product_list.length>0">
|
|
4
4
|
<!-- <h5 style="margin-bottom:10px;">Buy now and be part of our community!</h5> -->
|
|
5
|
-
<h5 style="margin-bottom:10px;">
|
|
5
|
+
<h5 style="margin-bottom:10px;">{{ heading }}</h5>
|
|
6
6
|
<div class="product-line" >
|
|
7
7
|
<div v-for="(field, i) in product_list" :key="i" class="imgcontainer" :style="`background-color:`+background_color+``">
|
|
8
8
|
<div :style="`background-image: url(${field.primary_picture ? field.primary_picture : public_settings.default_product_picture ? public_settings.default_product_picture : 'https://bvusolution.com/images/product-no-image.jpg'});height:200px;width:230px;background-size:80%`" class="image product-list-image" :id="i">
|
|
@@ -41,6 +41,7 @@ export default {
|
|
|
41
41
|
width:String,
|
|
42
42
|
image_size:String,
|
|
43
43
|
country_code: String,
|
|
44
|
+
heading: { type: String, default: 'Be a Member to make the World better' },
|
|
44
45
|
},
|
|
45
46
|
data: () =>
|
|
46
47
|
({
|
package/GProcessSale.vue
CHANGED
|
@@ -534,6 +534,9 @@ export default
|
|
|
534
534
|
this.rank_list = await this.$_getData('rank_list');
|
|
535
535
|
this.stockist_list = await this.$_getData('stockist_list');
|
|
536
536
|
this.public_settings = await this.$_getData('public_settings');
|
|
537
|
+
if(this.public_settings.enable_auto_activate_on_purchase) {
|
|
538
|
+
this.auto_activate = true;
|
|
539
|
+
}
|
|
537
540
|
if(this.public_settings.hasOwnProperty('cashier_show_batch') && this.public_settings.cashier_show_batch == true)
|
|
538
541
|
{
|
|
539
542
|
this.show_batch = true
|
package/GProcessSaleGc.vue
CHANGED
|
@@ -407,6 +407,9 @@ export default
|
|
|
407
407
|
async getSettings()
|
|
408
408
|
{
|
|
409
409
|
this.public_settings = await this.$_getData('public_settings');
|
|
410
|
+
if(this.public_settings.enable_auto_activate_on_purchase) {
|
|
411
|
+
this.auto_activate = true;
|
|
412
|
+
}
|
|
410
413
|
if(this.public_settings.hasOwnProperty('gc_discount') && this.public_settings.gc_discount.active == true)
|
|
411
414
|
{
|
|
412
415
|
this.gc_discount = true;
|