rerobe-js-orm 3.3.7 → 3.3.8
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.js +2 -1
- package/package.json +1 -1
package/lib/models/Product.js
CHANGED
|
@@ -457,7 +457,7 @@ class Product extends Base_1.default {
|
|
|
457
457
|
autoCreateDescriptionHTML(t = (str) => str, additionalSections = [], currency = 'SEK', locale = 'sv-SE') {
|
|
458
458
|
var _a;
|
|
459
459
|
const { compareAtPrice } = this.attributes;
|
|
460
|
-
const { color, productCategory, productType, productStyle, condition, gender } = this.filterAttributes;
|
|
460
|
+
const { color, productCategory, productType, productStyle, condition, gender, size } = this.filterAttributes;
|
|
461
461
|
const { productRemarks, conditionRemarks, purchasePrice, yearPurchased, sizeComment, majorDefects, minorDefects } = this.consignmentAttributes;
|
|
462
462
|
const measurements = this.measurementsJoinedString(this.filterAttributes.measurements);
|
|
463
463
|
const materials = this.materialCompJoinedString();
|
|
@@ -481,6 +481,7 @@ class Product extends Base_1.default {
|
|
|
481
481
|
{
|
|
482
482
|
title: 'Product Details',
|
|
483
483
|
attributes: [
|
|
484
|
+
size && `${t('Size')}: ${t(size)}`,
|
|
484
485
|
gender && `${t('Primary segment')}: ${t(gender)}`,
|
|
485
486
|
productCategory && `${t('Category')}: ${t(productCategory)}`,
|
|
486
487
|
productType && `${t('Type')}: ${t(productType)}`,
|