-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PWA Product Recommendation venia (#4283)
* PWA Product Recommendation venia * adding item.prices * removing line * Product recommendation * change configure * Product recommendation * Product recommendation * Worked on modification * Worked on modification * Worked on modification --------- Co-authored-by: glo11372 <[email protected]>
- Loading branch information
Showing
5 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
packages/peregrine/lib/talons/Gallery/isSupportedProductType.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const SUPPORTED_PRODUCT_TYPES = [ | ||
'SimpleProduct', | ||
'ConfigurableProduct', | ||
'configurable', | ||
'simple' | ||
]; | ||
|
||
export const isSupportedProductType = productType => { | ||
return SUPPORTED_PRODUCT_TYPES.includes(productType); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters