@rebuy/rebuy 1.5.0 → 1.5.1
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/package.json +1 -1
- package/utilities.js +6 -0
package/package.json
CHANGED
package/utilities.js
CHANGED
|
@@ -176,6 +176,12 @@ export function convertVariantToStorefrontFormat(product, variant) {
|
|
|
176
176
|
selectedOptions: [selectedOptions],
|
|
177
177
|
sku: variant.sku,
|
|
178
178
|
title: variant.title,
|
|
179
|
+
product: {
|
|
180
|
+
handle: product.handle,
|
|
181
|
+
id: product.id,
|
|
182
|
+
title: product.title,
|
|
183
|
+
vendor: product.vendor,
|
|
184
|
+
},
|
|
179
185
|
};
|
|
180
186
|
}
|
|
181
187
|
|