Skip to content

Commit 1ea90cd

Browse files
authored
Edit readme to include forced overrides functionability (#2233)
* Edit readme to include forced overrides functionality
1 parent 26004a5 commit 1ea90cd

File tree

1 file changed

+44
-12
lines changed

1 file changed

+44
-12
lines changed

README.md

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,18 +107,50 @@ Please refer to the sample configuration below in order to properly configure yo
107107
"isProduction": false
108108
},
109109
"enabled": true, // Toggle this extension on or off, this is useful for debugging and development, defaults to true.
110-
"pages": { // Define the url path of each page. A page can be set to false if you want to disable it.
111-
"Account": "/account",
112-
"Cart": "/cart",
113-
"Checkout": "/checkout",
114-
"CheckoutConfirmation": "/checkout/confirmation/:orderNo",
115-
"Home": "/",
116-
"Login": "/login",
117-
"Registration": "/registration",
118-
"ResetPassword": "/reset-password",
119-
"LoginRedirect": "/callback",
120-
"ProductDetail": "/product/:productId",
121-
"ProductList": ["/search", "/category/:categoryId"]
110+
"pages": { // Define the url path of and the configuration on each page. A page can be set to false if you want to disable it.
111+
"Account": {
112+
"path": "/account",
113+
"orderSearchParam": {"limit": 10, "offset": 0, "sort": "best-matches", "refine": []}
114+
},
115+
"Cart": {
116+
"path": "/cart"
117+
},
118+
"Checkout": {
119+
"path": "/checkout",
120+
"shippingCountryCode": [
121+
{"value": "CA", "label": "Canada"},
122+
{"value": "US", "label": "United States"}
123+
]
124+
},
125+
"CheckoutConfirmation": {
126+
"path": "/checkout/confirmation/:orderNo"
127+
},
128+
"Home": {
129+
"path": "/",
130+
"productLimit": 10,
131+
"mainCategory": "newarrivals"
132+
},
133+
"Login": {
134+
"path": "/login"
135+
},
136+
"Registration": {
137+
"path": "/registration"
138+
},
139+
"ResetPassword": {
140+
"path": "/reset-password"
141+
},
142+
"LoginRedirect": {
143+
"path": "/callback"
144+
},
145+
"ProductDetail": {
146+
"path": "/product/:productId"
147+
},
148+
"ProductList": {
149+
"path": ["/search", "/category/:categoryId"],
150+
"imageViewType": "large",
151+
"selectableAttributeId": "color",
152+
"filterAccordionSate": "filters-expanded-index"
153+
}
122154
},
123155
"siteAliases": {}, // Site alias's for multi-site support.
124156
"sites": [ // Site configs for multi-site support.

0 commit comments

Comments
 (0)