@lancom/shared 0.0.436 → 0.0.438

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.
@@ -45,6 +45,10 @@
45
45
  border-bottom: 1px dashed grey;
46
46
  }
47
47
  }
48
+ &__divider {
49
+ font-size: 12px;
50
+ margin: 0 3px;
51
+ }
48
52
  }
49
53
 
50
54
  ::v-deep .ProductSizeSelectorColorCell {
@@ -46,12 +46,17 @@
46
46
  </div>
47
47
  </template>
48
48
  </v-popover>
49
+ <span
50
+ v-if="printsPrice > 0"
51
+ class="ProductSizeSelectorColor__divider">
52
+ +
53
+ </span>
49
54
  <v-popover
50
55
  v-if="printsPrice > 0"
51
56
  trigger="hover"
52
57
  :delay="{ show: 200, hide: 400 }"
53
58
  popover-class="tooltip popover white"
54
- class="ProductSizeSelectorColor__price ml-6"
59
+ class="ProductSizeSelectorColor__price"
55
60
  style="display: inline-block;">
56
61
  <span class="lc_regular13">
57
62
  {{ productPrintsPrice | price(currency) }}
@@ -106,16 +106,18 @@ async function googleShoppingFeed(axios, config, availableStores, country, isEdi
106
106
  info['g:sale_price'] = { _text: `${(sp.clearancePrice)} ${sp.currencyCode || 'AUD'}` };
107
107
  }
108
108
 
109
- if (sp.storeCode && !config.IGNORE_STORE_CODE) {
110
- info['g:store_code'] = { _text: sp.storeCode };
111
- info['g:link_template'] = { _text: `${link}&store={store_code}` };
112
- if (availableStores) {
113
- info['g:pickup_method'] = { _text: 'buy' };
114
- info['g:pickup_sla'] = { _text: product.prePrint ? 'next day' : 'same day' };
109
+ if (!config.IGNORE_STORE_CODE) {
110
+ if (sp.storeCode) {
111
+ info['g:store_code'] = { _text: sp.storeCode };
112
+ info['g:link_template'] = { _text: `${link}&store={store_code}` };
113
+ if (availableStores) {
114
+ info['g:pickup_method'] = { _text: 'buy' };
115
+ info['g:pickup_sla'] = { _text: product.prePrint ? 'next day' : 'same day' };
116
+ }
117
+ } else {
118
+ info['g:pickup_method'] = { _text: 'not_supported' };
119
+ info['g:excluded_destination'] = [{ _text: 'Local_inventory_ads' }, { _text: 'Free_local_listings' }];
115
120
  }
116
- } else {
117
- info['g:pickup_method'] = { _text: 'not_supported' };
118
- info['g:excluded_destination'] = [{ _text: 'Local_inventory_ads' }, { _text: 'Free_local_listings' }];
119
121
  }
120
122
  if (product.volume) {
121
123
  if (product.volume.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.436",
3
+ "version": "0.0.438",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {