@graphcommerce/docs 6.2.0-canary.71 → 6.2.0-canary.73
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/CHANGELOG.md +8 -0
- package/framework/config.md +21 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 6.2.0-canary.73
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1978](https://github.com/graphcommerce-org/graphcommerce/pull/1978) [`0c91ac1f7`](https://github.com/graphcommerce-org/graphcommerce/commit/0c91ac1f70f58dec418e945fc4a6a8c6732cc21e) - When a user selects a variant, it will switch the values on the configurable page with the values of the configured variant. Enabling options here will allow switching of those variants. ([@carlocarels90](https://github.com/carlocarels90))
|
|
8
|
+
|
|
9
|
+
## 6.2.0-canary.72
|
|
10
|
+
|
|
3
11
|
## 6.2.0-canary.71
|
|
4
12
|
|
|
5
13
|
## 6.2.0-canary.70
|
package/framework/config.md
CHANGED
|
@@ -133,6 +133,12 @@ Magento also returns the Simple product and the Configurable product the simple
|
|
|
133
133
|
If that is the case we render the configurable product page instead of the simple product page but
|
|
134
134
|
the options to select the simple product are pre-selected.
|
|
135
135
|
|
|
136
|
+
#### `configurableVariantValues: [MagentoConfigurableVariantValues](#MagentoConfigurableVariantValues) (default: [object Object])`
|
|
137
|
+
|
|
138
|
+
When a user selects a variant, it will switch the values on the configurable page with the values of the configured variant.
|
|
139
|
+
|
|
140
|
+
Enabling options here will allow switching of those variants.
|
|
141
|
+
|
|
136
142
|
#### `customerRequireEmailConfirmation: Boolean`
|
|
137
143
|
|
|
138
144
|
Due to a limitation in the GraphQL API of Magento 2, we need to know if the
|
|
@@ -348,4 +354,18 @@ Add a gcms-locales header to make sure queries return in a certain language, can
|
|
|
348
354
|
|
|
349
355
|
#### `linguiLocale: String`
|
|
350
356
|
|
|
351
|
-
Specify a custom locale for to load translations.
|
|
357
|
+
Specify a custom locale for to load translations.
|
|
358
|
+
|
|
359
|
+
### MagentoConfigurableVariantValues
|
|
360
|
+
|
|
361
|
+
Options to configure which values will be replaced when a variant is selected on the product page.
|
|
362
|
+
|
|
363
|
+
#### `content: Boolean`
|
|
364
|
+
|
|
365
|
+
Use the name, description, short description and meta data from the configured variant
|
|
366
|
+
|
|
367
|
+
#### `url: Boolean`
|
|
368
|
+
|
|
369
|
+
When a variant is selected the URL of the product will be changed in the address bar.
|
|
370
|
+
|
|
371
|
+
This only happens when the actual variant is can be accessed by the URL.
|
package/package.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"name": "@graphcommerce/docs",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/docs",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce/docs",
|
|
5
|
-
"version": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.73",
|
|
6
6
|
"sideEffects": true,
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.
|
|
8
|
+
"@graphcommerce/prettier-config-pwa": "6.2.0-canary.73"
|
|
9
9
|
},
|
|
10
10
|
"prettier": "@graphcommerce/prettier-config-pwa"
|
|
11
11
|
}
|