@riosst100/pwa-marketplace 2.0.4 → 2.0.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/package.json +1 -1
- package/src/components/FilterTop/CurrentTopFilters/currentTopFilter.js +1 -1
- package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.js +1 -1
- package/src/components/ShopBy/shopBy.js +1 -1
- package/src/overwrites/venia-ui/lib/RootComponents/Category/categoryContent.js +1 -1
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ const CurrentTopFilter = props => {
|
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
|
|
34
|
-
return group && group != "
|
|
34
|
+
return group && group != "character" && group != "product_series" && group != "scale" && group != "product_line" && group != "filterby" && group != "trains" && group != "franchise" && group != "brands" && group != "category" && group != "shopby" ? (
|
|
35
35
|
<span className={classes.item} data-cy="CurrentTopFilter-root">
|
|
36
36
|
<Trigger
|
|
37
37
|
action={handleClick}
|
|
@@ -87,7 +87,7 @@ const FilterTopItemGroup = props => {
|
|
|
87
87
|
<div className={classes.root}>
|
|
88
88
|
{radioItems}
|
|
89
89
|
{filterElements && filterElements.length > 10 ? <span className={classes.item}><b>More Item</b></span> : ''}
|
|
90
|
-
{filterElements && filterElements.length ? filterElements : group && group != "
|
|
90
|
+
{filterElements && filterElements.length ? filterElements : group && group != "character" && group != "product_series" && group != "scale" && group != "product_line" && group != "trains" && group != "franchise" && group != "brands" && group != "category" && group != "filterby" && group != "shopby" && group != "cat_id" ? (<span className={classes.item}><b>All</b></span>) : ''}
|
|
91
91
|
</div>
|
|
92
92
|
);
|
|
93
93
|
};
|
|
@@ -284,7 +284,7 @@ const ShopBy = props => {
|
|
|
284
284
|
|
|
285
285
|
// console.log(category)
|
|
286
286
|
|
|
287
|
-
if (shopby == "
|
|
287
|
+
if (shopby == "brands" || shopby == "product_line") {
|
|
288
288
|
if (category && category.url_path.includes('anime-figures')) {
|
|
289
289
|
availableFilterOption = [
|
|
290
290
|
{
|
|
@@ -266,7 +266,7 @@ const CategoryContent = props => {
|
|
|
266
266
|
if (label == "Singles") {
|
|
267
267
|
isSingles = true;
|
|
268
268
|
}
|
|
269
|
-
if (key == "
|
|
269
|
+
if (key == "product_line" && urlKey == "brands" || key == "product_line" && urlKey == "franchise" || key == "franchise" && urlKey == "brands" || key == "franchise" && urlKey == "franchise" || key == "brands" && urlKey == "franchise" || key == "brands" && urlKey == "brands" || virtualCategoryFilters && virtualCategoryFilters.includes(key)) {
|
|
270
270
|
activeFilters.push(
|
|
271
271
|
{
|
|
272
272
|
'label': label,
|