@liquidcommerce/elements-sdk 2.6.0-beta.85 → 2.6.0-beta.86

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.
@@ -157,6 +157,20 @@ For products with multiple sizes:
157
157
  - Availability checking per size
158
158
  - Out-of-stock indication
159
159
 
160
+ #### Preselect a Size via URL
161
+
162
+ Use the `lce_size` query parameter to preselect a size when the product page loads:
163
+
164
+ ```
165
+ https://yoursite.com/products/buffalo-trace?lce_size=750ml
166
+ ```
167
+
168
+ - The value is matched against each size's display value (e.g. `750ml`).
169
+ - Matching is case-insensitive and ignores whitespace, so `750 ML`, `750ml`, and `750ML` all select a `750ml` size.
170
+ - If the value matches no size, the default size selection is used.
171
+
172
+ `lce_size` is a fixed parameter name (not configured through a script attribute) and only applies to the product page.
173
+
160
174
  ### Fulfillment Types
161
175
 
162
176
  Two fulfillment options:
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.6.0-beta.85",
6
+ "version": "2.6.0-beta.86",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",