Skip to content

Commit 329f3af

Browse files
committed
Fix outdated Craft 5.x links in Commerce 5.x
1 parent 29d6ecb commit 329f3af

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/commerce/5.x/system/addresses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebarDepth: 2
55
# Addresses
66

77
::: tip
8-
Addresses are now a native part of Craft! We recommend reviewing the [main documentation on addresses](/4.x/addresses.md) before digging in on Commerce-specifics.
8+
Addresses are now a native part of Craft! We recommend reviewing the [main documentation on addresses](/5.x/addresses.md) before digging in on Commerce-specifics.
99
:::
1010

1111
Commerce manages shipping and billing information using Craft’s <craft4:craft\elements\Address> element type.

docs/commerce/5.x/system/gateways.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ To capture live payments, you must install a [payment gateway plugin](#first-par
77
In the control panel, navigate to **Commerce****Settings****Gateways**, and click **+ New gateway**. Each gateway requires different settings—for more detailed instructions, see the plugin’s documentation. Many payment processors require third-party accounts, and provide credentials for communicating with their infrastructure that must be added to the gateway’s configuration.
88

99
::: tip
10-
When providing secrets in the control panel, we recommend using the special [environment variable syntax](/4.x/config/README.md#control-panel-settings) to prevent them leaking into project config.
10+
When providing secrets in the control panel, we recommend using the special [environment variable syntax](/5.x/configure.md#control-panel-settings) to prevent them leaking into project config.
1111
:::
1212

1313
Payment gateways (and the specific methods they support) generally use one of two payment flows:

docs/commerce/5.x/system/subscriptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ $mySubscriptionQuery = \craft\commerce\elements\Subscription::find();
6262
```
6363
:::
6464

65-
Once you’ve created a subscription query, you can set [parameters](#parameters) on it to narrow down the results, and then [execute it](/4.x/element-queries.md#executing-element-queries) by calling `.all()`. An array of [Subscription](commerce4:craft\commerce\elements\Subscription) objects will be returned.
65+
Once you’ve created a subscription query, you can set [parameters](#parameters) on it to narrow down the results, and then [execute it](/5.x/development/element-queries.md#executing-element-queries) by calling `.all()`. An array of [Subscription](commerce4:craft\commerce\elements\Subscription) objects will be returned.
6666

6767
::: tip
68-
See [Element Queries](/4.x/element-queries.md) in the Craft docs to learn about how element queries work.
68+
See [Element Queries](/5.x/development/element-queries.md) in the Craft docs to learn about how element queries work.
6969
:::
7070

7171
### Example

docs/commerce/5.x/update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Updating Instructions
22

3-
Craft Commerce may be updated like any other update to [Craft or its plugins](/4.x/updating.md).
3+
Craft Commerce may be updated like any other update to [Craft or its plugins](/5.x/update.md).
44

55
## Updating from the Control Panel
66

@@ -16,7 +16,7 @@ You can then choose the **Update** button next to Commerce to update the plugin,
1616

1717
## Updating from the Terminal
1818

19-
The [`update` console command](/4.x/console-commands.md#update) can be used to update Craft and plugins including Commerce.
19+
The [`update` console command](/5.x/system/reference/cli.md#update) can be used to update Craft and plugins including Commerce.
2020

2121
To see available updates, go to your Craft project in your terminal and run this command:
2222

0 commit comments

Comments
 (0)