@lancom/shared 0.0.356 → 0.0.358
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/mixins/product-view.js +3 -1
- package/package.json +1 -1
package/mixins/product-view.js
CHANGED
|
@@ -294,6 +294,8 @@ export default (IS_PRODUCT_PRESET_PRINT_PRICING, isEditor = false) => ({
|
|
|
294
294
|
'@type': 'http://schema.org/QuantitativeValue',
|
|
295
295
|
value: this.product.sameDayDispatch ? 1 : 0
|
|
296
296
|
};
|
|
297
|
+
offer.shippingDetails = { "@id": "#shipping_policy" };
|
|
298
|
+
offer.hasMerchantReturnPolicy = { "@id": "#return_policy" };
|
|
297
299
|
}
|
|
298
300
|
|
|
299
301
|
const galleryImages = this.product.images?.filter(i => !(i.types || []).includes('designer') && i.color === sp.color?._id) || [];
|
|
@@ -310,7 +312,7 @@ export default (IS_PRODUCT_PRESET_PRINT_PRICING, isEditor = false) => ({
|
|
|
310
312
|
"description": description,
|
|
311
313
|
"color": sp.color?.name,
|
|
312
314
|
"size": sp.size?.shortName,
|
|
313
|
-
"offers": offer
|
|
315
|
+
"offers": offer,
|
|
314
316
|
};
|
|
315
317
|
})
|
|
316
318
|
};
|