@infrab4a/connect-angular 4.3.6-beta.4 → 4.3.6-beta.5
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/esm2020/services/cart.service.mjs +1 -2
- package/esm2020/services/catalog/category.service.mjs +2 -2
- package/fesm2015/infrab4a-connect-angular.mjs +1 -2
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +1 -2
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1291,7 +1291,6 @@ class CartService {
|
|
|
1291
1291
|
isSubscriber: checkout.user?.isSubscriber,
|
|
1292
1292
|
});
|
|
1293
1293
|
RoundProductPricesHelper.roundProductPrices(item);
|
|
1294
|
-
console.log('buildLineItem', product.name, pricePaid);
|
|
1295
1294
|
return {
|
|
1296
1295
|
checkout,
|
|
1297
1296
|
lineItem: LineItem.toInstance({
|
|
@@ -1769,7 +1768,7 @@ class CategoryService {
|
|
|
1769
1768
|
.findCatalog({
|
|
1770
1769
|
filters: await this.categoryStructureAdapter.buildProductFilterByCategory(category),
|
|
1771
1770
|
fields: ['brand'],
|
|
1772
|
-
}, options?.mainGender
|
|
1771
|
+
}, options?.mainGender ? options?.mainGender : this.shop === Shops.MENSMARKET ? 'male' : 'female')
|
|
1773
1772
|
.then(({ data }) => Object.keys(data.map((product) => product.brand).reduce((brands, brand) => ({ ...brands, [brand]: true }), {})));
|
|
1774
1773
|
return this.categoryRepository
|
|
1775
1774
|
.find({ filters: { brandCategory: true, shop: options?.shop || this.shop }, orderBy: { name: 'asc' } })
|