-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor CustomerReviews settings (#1462)
## Description Removed the dependency on useCustomerReviews in the Core project to improve module separation. ## References ### Jira-link: https://virtocommerce.atlassian.net/browse/VCST-2281 ### Artifact URL: https://vc3prerelease.blob.core.windows.net/packages/vc-theme-b2b-vue-2.10.0-pr-1462-3cad-3cada9ea.zip
- Loading branch information
Showing
5 changed files
with
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
export const MODULE_ID = "VirtoCommerce.CustomerReviews"; | ||
export const ENABLED_KEY = "CustomerReviews.CustomerReviewsEnabled"; | ||
export const ENABLED_FOR_ANONYMOUS = "CustomerReviews.CustomerReviewsEnabledForAnonymous"; | ||
export const ENABLED_FOR_PURCHASED_ORDER = "CustomerReviews.CanSubmitReviewWhenHasOrder"; | ||
|
||
export const PAGE_SIZE = 5; | ||
export const MAX_RATING = 5; |
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
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