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.
@@ -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)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.3.7",
3
+ "version": "3.3.8",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",