@spree/docs 0.1.65 → 0.1.67
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/dist/api-reference/store-api/migrating-from-storefront-api-v2.md +1 -1
- package/dist/developer/customization/authentication.md +2 -2
- package/dist/developer/deployment/cdn.md +2 -2
- package/dist/developer/multi-tenant/installation.md +1 -1
- package/dist/developer/multi-tenant/quickstart.md +1 -1
- package/dist/developer/multi-vendor/installation.md +1 -1
- package/dist/developer/upgrades/4.10-to-5.0.md +1 -1
- package/dist/developer/upgrades/5.2-to-5.3.md +1 -1
- package/package.json +1 -1
|
@@ -308,7 +308,7 @@ By default all Cart endpoints will return all associations auto-expanded.
|
|
|
308
308
|
| `GET /checkout/payment_methods` | `cart.available_payment_methods` | Inlined on the cart. |
|
|
309
309
|
| `GET /checkout/shipping_rates` | `cart.fulfillments[].delivery_rates` | Same — inlined. |
|
|
310
310
|
|
|
311
|
-
|
|
311
|
+
The new RESTful design allows you to implement different usage scenarios like multiple saved carts per customer or organization (company).
|
|
312
312
|
|
|
313
313
|
#### Session-based payments (Stripe, Adyen, PayPal)
|
|
314
314
|
|
|
@@ -18,7 +18,7 @@ Firstly set your `User` class as `Spree.user_class` in your `config/initializers
|
|
|
18
18
|
Spree.user_class = 'User'
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
Now, run the generator to
|
|
21
|
+
Now, run the generator to set up Spree integration with Devise:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
24
|
bin/rails g spree:authentication:devise
|
|
@@ -62,7 +62,7 @@ Firstly set your `User` class as `Spree.user_class` in your `config/initializers
|
|
|
62
62
|
Spree.user_class = 'User'
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Now, run the generator to
|
|
65
|
+
Now, run the generator to set up Spree integration with your custom authentication system:
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
68
|
bin/rails g spree:authentication:custom
|
|
@@ -6,7 +6,7 @@ description: >-
|
|
|
6
6
|
|
|
7
7
|
To improve performance of your Spree application, we recommend using a CDN (Content Delivery Network) to cache images and static files.
|
|
8
8
|
|
|
9
|
-
We recommend using [Cloudflare](https://www.cloudflare.com/) as your CDN provider. It's free and simple to
|
|
9
|
+
We recommend using [Cloudflare](https://www.cloudflare.com/) as your CDN provider. It's free and simple to set up.
|
|
10
10
|
|
|
11
11
|
After setting up your Cloudflare account and adding your domain name to Cloudflare, you will need to set your cache settings.
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Go to your domain name in Cloudflare and click on "Caching" tab and select "Cach
|
|
|
14
14
|
|
|
15
15
|

|
|
16
16
|
|
|
17
|
-
Click on "Create Rule" and
|
|
17
|
+
Click on "Create Rule" and set up the rule as below:
|
|
18
18
|
|
|
19
19
|

|
|
20
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Spree Multi Tenant Installation
|
|
3
3
|
sidebarTitle: Installation
|
|
4
|
-
description: Learn how to
|
|
4
|
+
description: Learn how to set up a multi-tenant eCommerce (SaaS) with Spree
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
> **WARNING:** This installation instructions assume you have a clean Spree Starter installation and you've purchased the [Spree Enterprise Edition license](https://spreecommerce.org/pricing).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Spree Multi Vendor Installation
|
|
3
3
|
sidebarTitle: Installation
|
|
4
|
-
description: Learn how to
|
|
4
|
+
description: Learn how to set up a multi-vendor marketplace with Spree
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
> **WARNING:** This installation instructions assume you have purchased the [Spree Enterprise Edition license](https://spreecommerce.org/pricing).
|
|
@@ -114,7 +114,7 @@ bin/rails g spree:storefront:devise
|
|
|
114
114
|
|
|
115
115
|
This will add devise routes and create controllers for the storefront.
|
|
116
116
|
|
|
117
|
-
And that's it! You can now
|
|
117
|
+
And that's it! You can now log in to the admin panel and storefront using your existing users.
|
|
118
118
|
|
|
119
119
|
### 6. Migrate data to the new format
|
|
120
120
|
|
|
@@ -23,7 +23,7 @@ This will setup new database schema for the new features in Spree 5.3 like Price
|
|
|
23
23
|
|
|
24
24
|
### Re-run Admin Panel Install Generator
|
|
25
25
|
|
|
26
|
-
Admin Panel was completely rewritten to use Tailwind v4 so you need to re-run the install generator to
|
|
26
|
+
Admin Panel was completely rewritten to use Tailwind v4 so you need to re-run the install generator to set up Tailwind and remove any Dart Sass related files.
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
bin/rails g spree:admin:install
|