You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.4/graphql/queries/store-config.md
+49-19Lines changed: 49 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The `storeConfig` query defines information about a store's configuration. You c
13
13
14
14
### Query a store's configuration
15
15
16
-
The following call returns all details of a store's configuration.
16
+
The `storeConfig` query can return `base` and `extended` store configuration setting. The following call returns all`base` details of a store's configuration.
17
17
18
18
**Request:**
19
19
@@ -36,11 +36,6 @@ The following call returns all details of a store's configuration.
36
36
secure_base_link_url
37
37
secure_base_static_url
38
38
secure_base_media_url
39
-
store_name
40
-
send_friend {
41
-
enabled_for_customers
42
-
enabled_for_guests
43
-
}
44
39
}
45
40
}
46
41
```
@@ -59,19 +54,14 @@ The following call returns all details of a store's configuration.
@@ -185,6 +175,36 @@ The following query returns information about the store's catalog configuration.
185
175
}
186
176
```
187
177
178
+
### Query a store's customer configuration
179
+
180
+
The following query returns information about the store's customer configuration.
181
+
182
+
**Request:**
183
+
184
+
```graphql
185
+
{
186
+
storeConfig {
187
+
autocomplete_on_storefront
188
+
minimum_password_length
189
+
required_character_classes_number
190
+
}
191
+
}
192
+
```
193
+
194
+
**Response:**
195
+
196
+
```json
197
+
{
198
+
"data": {
199
+
"storeConfig": {
200
+
"autocomplete_on_storefront": true,
201
+
"minimum_password_length": "6",
202
+
"required_character_classes_number": "2"
203
+
}
204
+
}
205
+
}
206
+
```
207
+
188
208
### Query a store's fixed product tax configuration
189
209
190
210
The following query returns enumeration values that indicate the store's fixed product tax configuration.
@@ -301,6 +321,16 @@ Attribute | Data Type | Description | Example
301
321
`root_category_id` | Int | The ID of the root category
302
322
`title_separator` | String | Identifies the character that separates the category name and subcategory in the browser title bar | `-`
303
323
324
+
### Supported catalog attributes
325
+
326
+
Use the `customer` attributes to retrieve information about the store's customer settings. These attributes are defined in the `CustomerGraphQl` module.
327
+
328
+
Attribute | Data Type | Description | Configuration path | Default Value
329
+
--- | --- | ---
330
+
`autocomplete_on_storefront` | Boolean | Enable autocomplete on login and forgot password forms. | customer/password/autocomplete_on_storefront | true
331
+
`minimum_password_length` | String | The minimum number of characters required for a valid password. | customer/password/minimum_password_length | 6
332
+
`required_character_classes_number` | String | The number of different character classes required in a password (lowercase, uppercase, digits, special characters). | customer/password/required_character_classes_number | 2
333
+
304
334
### Supported WEEE (fixed product tax) attributes
305
335
306
336
The **Stores** > Settings > **Configuration** > **Sales** > **Tax** > **Fixed Product Taxes** panel contains several fields that determine how to display fixed product tax (FPT) values and descriptions. Use the following attributes to determine the values of the **Fixed Product Taxes** fields. These attributes are defined in the `WeeeGraphQl` module.
0 commit comments