@spree/docs 0.1.244 → 0.1.246

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.
@@ -191,6 +191,12 @@ they know. A box with no dimensions still contributes its weight; a box with
191
191
  nothing measured contributes nothing, and dimensional pricing has nothing to
192
192
  work from.
193
193
 
194
+ `dimensions_unit` and `weight_unit` are optional too. A row that names neither
195
+ is read in whatever the store's own units are, so a store trading in inches and
196
+ pounds reads inches and pounds. A row that names them keeps them, which is how
197
+ one store can mix units — a carton measured in centimetres sits beside a pallet
198
+ measured in feet. Variant dimensions work the same way.
199
+
194
200
  > **NOTE:** Deleting the default box is refused, and so is switching its flag off when
195
201
  > nothing else would take it. Both would leave quotes with no size and no tare,
196
202
  > which under-prices bulky parcels silently rather than failing.
@@ -134,7 +134,7 @@ Spree.integrations << 'MyApp::AcmeIntegration'
134
134
  Spree.payout_providers << MyApp::PayoutProvider
135
135
  ```
136
136
 
137
- The operator then picks it under **Settings → Payouts**, which is the store's `payout_provider` preference. The picker is built from the registry, so your provider appears with the two built-in ones and reports whether the store can use it today:
137
+ The operator then picks it under **Settings → Marketplace**, which is the store's `payout_provider` preference. The picker is built from the registry, so your provider appears alongside the built-in one and reports whether the store can use it today:
138
138
 
139
139
 
140
140
  ```typescript Admin SDK
@@ -149,6 +149,11 @@ curl https://your-store.com/api/v3/admin/payout_providers \
149
149
  ```
150
150
 
151
151
 
152
+ > **NOTE:** `available` is what `available_for_store?` answers. A provider that returns
153
+ > false still appears in the picker, greyed out, with the dashboard explaining
154
+ > what the operator has to connect first — so implement it to mean "usable
155
+ > today", not "installed".
156
+
152
157
  A store whose configured provider disappears from the registry — a gem removed, a class renamed — silently falls back to the built-in one so the ledger keeps recording. Rename with `def self.provider_key` pinned to the old name if you ever need to, or the rows written under the old name stop matching.
153
158
 
154
159
  ## Errors decide what happens next
@@ -14,7 +14,7 @@ Stripe Connect is the payout provider that ships with Spree's Stripe integration
14
14
 
15
15
  ## Turn it on
16
16
 
17
- Go to **Settings → Payouts** and choose **Stripe Connect** as the payout provider. The option is only offered once an active Stripe payment method exists on the store. The schedule and minimum on the same page decide when Spree settles each seller.
17
+ Go to **Settings → Marketplace** and choose **Stripe Connect** as the payout provider. The option is only offered once an active Stripe payment method exists on the store. The schedule and minimum on the same page decide when Spree settles each seller.
18
18
 
19
19
  The same setting through the Admin API:
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spree/docs",
3
- "version": "0.1.244",
3
+ "version": "0.1.246",
4
4
  "description": "Spree Commerce developer documentation for AI agents and local reference",
5
5
  "type": "module",
6
6
  "license": "CC-BY-4.0",