@lancom/shared 0.0.364 → 0.0.366

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.
@@ -39,7 +39,7 @@ const metaInfo = {
39
39
  head() {
40
40
  const hasQueryParams = Object
41
41
  .keys(this.$route.query || {})
42
- .filter(key => !['color', 'store','price'].includes(`${key || ''}`.toLowerCase()))
42
+ .filter(key => !['color', 'store','price','size'].includes(`${key || ''}`.toLowerCase()))
43
43
  .length > 0;
44
44
 
45
45
  const { short_text: shortText, image, meta = {} } = this.routeInfo || {};
@@ -296,10 +296,11 @@ export default (IS_PRODUCT_PRESET_PRINT_PRICING, isEditor = false) => ({
296
296
  value: this.product.sameDayDispatch ? 1 : 0
297
297
  };
298
298
  // if (sp.quantityStock > 0) {
299
- offer.shippingDetails = { "@id": "#shipping_policy" };
300
- offer.hasMerchantReturnPolicy = { "@id": "#return_policy" };
301
299
  // }
302
300
  }
301
+
302
+ offer.shippingDetails = { "@id": "#shipping_policy" };
303
+ offer.hasMerchantReturnPolicy = { "@id": "#return_policy" };
303
304
 
304
305
  const galleryImages = this.product.images?.filter(i => !(i.types || []).includes('designer') && i.color === sp.color?._id) || [];
305
306
  const image = getProductLargeCover(this.product, 'front', sp.color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.364",
3
+ "version": "0.0.366",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {