rerobe-js-orm 4.5.9 → 4.6.0
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/lib/models/Product.d.ts +1 -0
- package/lib/models/Product.js +2 -2
- package/package.json +1 -1
package/lib/models/Product.d.ts
CHANGED
package/lib/models/Product.js
CHANGED
|
@@ -354,7 +354,7 @@ class Product extends Base_1.default {
|
|
|
354
354
|
variant.price = this.consignmentAttributes.salePrice;
|
|
355
355
|
variant.compareAtPrice = this.attributes.price || variant.compareAtPrice;
|
|
356
356
|
}
|
|
357
|
-
return Object.assign(Object.assign({ title }, (statusToInclude ? { status: statusToInclude } : {})), { productOptions: [{ name: 'Variant', values: [{ name: title }] }], descriptionHtml: this.attributes.description, tags,
|
|
357
|
+
return Object.assign(Object.assign({ title }, (statusToInclude ? { status: statusToInclude } : {})), { productOptions: [{ name: 'Variant', values: [{ name: title }] }], descriptionHtml: this.attributes.description, vendor: this.filterAttributes.brand, tags,
|
|
358
358
|
files, variants: [variant] });
|
|
359
359
|
}
|
|
360
360
|
// Multi-variant: derive axes and values from variantInventory
|
|
@@ -431,7 +431,7 @@ class Product extends Base_1.default {
|
|
|
431
431
|
}
|
|
432
432
|
return variant;
|
|
433
433
|
});
|
|
434
|
-
return Object.assign(Object.assign({ title }, (statusToInclude ? { status: statusToInclude } : {})), { productOptions, descriptionHtml: this.attributes.description, tags,
|
|
434
|
+
return Object.assign(Object.assign({ title }, (statusToInclude ? { status: statusToInclude } : {})), { productOptions, descriptionHtml: this.attributes.description, vendor: this.filterAttributes.brand, tags,
|
|
435
435
|
files,
|
|
436
436
|
variants });
|
|
437
437
|
}
|