Fix remaining broken links discovered in SEO orbit (#46398)
This commit is contained in:
parent
04c3d9119c
commit
462afb0282
File diff suppressed because one or more lines are too long
|
@ -36,4 +36,4 @@ Merchants make use of WooCommerce extensions daily, and should have a unified an
|
||||||
16. **Test Your Code with [WP_DEBUG](http://codex.wordpress.org/Debugging_in_WordPress)** mode on, so you can see all PHP warnings sent to the screen. This will flag things like making sure a variable is set before checking the value.
|
16. **Test Your Code with [WP_DEBUG](http://codex.wordpress.org/Debugging_in_WordPress)** mode on, so you can see all PHP warnings sent to the screen. This will flag things like making sure a variable is set before checking the value.
|
||||||
17. **Separate Business Logic & Presentation Logic.** It's a good practice to separate business logic (i.e., how the plugin works) from [presentation logic](http://en.wikipedia.org/wiki/Presentation_logic) (i.e., how it looks). Two separate pieces of logic are more easily maintained and swapped if necessary. An example is to have two different classes - one for displaying the end results, and one for the admin settings page.
|
17. **Separate Business Logic & Presentation Logic.** It's a good practice to separate business logic (i.e., how the plugin works) from [presentation logic](http://en.wikipedia.org/wiki/Presentation_logic) (i.e., how it looks). Two separate pieces of logic are more easily maintained and swapped if necessary. An example is to have two different classes - one for displaying the end results, and one for the admin settings page.
|
||||||
18. **Use Transients to Store Offsite Information**. If you provide a service via an API, it's best to store that information so future queries can be done faster and the load on your service is lessened. [WordPress transients](http://codex.wordpress.org/Transients_API) can be used to store data for a certain amount of time.
|
18. **Use Transients to Store Offsite Information**. If you provide a service via an API, it's best to store that information so future queries can be done faster and the load on your service is lessened. [WordPress transients](http://codex.wordpress.org/Transients_API) can be used to store data for a certain amount of time.
|
||||||
19. **Log data that can be useful for debugging purposes**, with two conditions: Allow any logging as an 'opt in', and Use the [WC_Logger](https://woocommerce.com/wc-apidocs/class-WC_Logger.html) class. A user can then view logs on their system status page. Learn [how to add a link to logged data](.docs/link-to-logged-data) in your extension.
|
19. **Log data that can be useful for debugging purposes**, with two conditions: Allow any logging as an 'opt in', and Use the [WC_Logger](https://woocommerce.com/wc-apidocs/class-WC_Logger.html) class. A user can then view logs on their system status page. Learn [how to add a link to logged data](../code-snippets/link-to-logged-data.md) in your extension.
|
||||||
|
|
|
@ -4,7 +4,7 @@ menu_title: Troubleshooting Endpoints
|
||||||
tags: how-to
|
tags: how-to
|
||||||
---
|
---
|
||||||
|
|
||||||
This document outlines common troubleshooting steps for [WooCommerce Endpoints](.woocommerce-endpoints.md).
|
This document outlines common troubleshooting steps for [WooCommerce Endpoints](./woocommerce-endpoints.md).
|
||||||
|
|
||||||
For more information, learn how to [Customize Endpoints](./customizing-endpoint-urls.md).
|
For more information, learn how to [Customize Endpoints](./customizing-endpoint-urls.md).
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ The order data is synced from `_posts` and `_postmeta` table to four custom orde
|
||||||
|
|
||||||
## Enabling the feature
|
## Enabling the feature
|
||||||
|
|
||||||
From WooCommerce 8.2, released on October 2023, HPOS is enabled by default for new installations. Existing stores can check [How to enable HPOS](./enable-hpos.md)
|
From WooCommerce 8.2, released on October 2023, HPOS is enabled by default for new installations. Existing stores can check [How to enable HPOS](https://developer.woocommerce.com/docs/how-to-enable-high-performance-order-storage/)
|
||||||
|
|
||||||
## Database tables
|
## Database tables
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ WooCommerce has a shipping method API which plugins can use to add their own rat
|
||||||
|
|
||||||
## Create a plugin
|
## Create a plugin
|
||||||
|
|
||||||
First off, create a regular WordPress/WooCommerce plugin - see our [Extension Developer Handbook](/docs/extension-development/extension-developer-handbook.md) to get started. You'll define your shipping method class in this plugin file and maintain it outside of WooCommerce.
|
First off, create a regular WordPress/WooCommerce plugin - see our [Building Your First Extension guide](../extension-development/building-your-first-extension.md) to get started. You'll define your shipping method class in this plugin file and maintain it outside of WooCommerce.
|
||||||
|
|
||||||
## Create a function to house your class
|
## Create a function to house your class
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ category_slug: user-experience-payments
|
||||||
post_title: Payments Guidelines
|
post_title: Payments Guidelines
|
||||||
---
|
---
|
||||||
|
|
||||||
When building payments extensions, you should ensure you follow the [WooCommerce Extension Guidelines](./user-experience-guidelines).
|
When building payments extensions, you should ensure you follow the [WooCommerce Extension Guidelines](https://developer.woocommerce.com/docs/category/extension-guidelines/).
|
||||||
|
|
||||||
Payments plugins come in many types: payment processors and gateways, wallets, Buy Now Pay Later, crypto, and more.
|
Payments plugins come in many types: payment processors and gateways, wallets, Buy Now Pay Later, crypto, and more.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ The extension allows merchants to enter a product identifier, such as ISBN, EAN,
|
||||||
|
|
||||||
The identifier is a single piece of information that helps merchants describe and categorize the product across their store and other sales channels. It's best suited to be added as a field in the Product catalog section in the Organization group.
|
The identifier is a single piece of information that helps merchants describe and categorize the product across their store and other sales channels. It's best suited to be added as a field in the Product catalog section in the Organization group.
|
||||||
|
|
||||||
[Learn more about fields](./product-editor-form-fields)
|
[Learn more about fields](./product-editor-form-fields.md)
|
||||||
|
|
||||||
## Ticket extension
|
## Ticket extension
|
||||||
|
|
||||||
|
@ -32,4 +32,4 @@ Merchants can set up and sell tickets with advanced settings, such as unique inp
|
||||||
|
|
||||||
With so much advanced functionality, the plugin would best register a new product type and define the structure and appearance of the product form. This could include the tabs at the top of the screen, the subgroups and sections inside, and the default values.
|
With so much advanced functionality, the plugin would best register a new product type and define the structure and appearance of the product form. This could include the tabs at the top of the screen, the subgroups and sections inside, and the default values.
|
||||||
|
|
||||||
[Learn more about custom product types](./product-editor-form-custom-product-types)
|
[Learn more about custom product types](./product-editor-form-custom-product-types.md)
|
||||||
|
|
|
@ -18,4 +18,4 @@ If a tab doesn't contain any sections, it won't be shown to merchants.
|
||||||
|
|
||||||
Custom product types manage the visibility of the default groups and add new ones. This is particularly useful if a custom product has a unique structure and requires extra information that isn't included in the default groups.
|
Custom product types manage the visibility of the default groups and add new ones. This is particularly useful if a custom product has a unique structure and requires extra information that isn't included in the default groups.
|
||||||
|
|
||||||
[Learn more about custom product types](./product-editor-form-custom-product-types)
|
[Learn more about custom product types](./product-editor-form-custom-product-types.md)
|
||||||
|
|
|
@ -14,15 +14,6 @@ For documentation on WC versions 2.5 and 2.6's CLI, visit [Legacy CLI commands](
|
||||||
|
|
||||||
WP-CLI is a powerful set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installations, and much more, all without using a web browser. For more information, visit the [official WP-CLI website](http://wp-cli.org/).
|
WP-CLI is a powerful set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installations, and much more, all without using a web browser. For more information, visit the [official WP-CLI website](http://wp-cli.org/).
|
||||||
|
|
||||||
## Documentation Structure
|
|
||||||
|
|
||||||
This suite of documentation includes:
|
|
||||||
|
|
||||||
- [**How-to Guide**](./using-wc-cli.md): Step-by-step instructions for common WC-CLI tasks.
|
|
||||||
- [**Command Reference**](./wc-cli-commands.md): Detailed information on WC-CLI commands and their options.
|
|
||||||
- [**FAQs**](./cli-faq.md): Answers to frequently asked questions about WC-CLI.
|
|
||||||
- [**Examples**](./wc-cli-examples.md): Practical examples of WC-CLI commands in use.
|
|
||||||
|
|
||||||
## Getting Started with WooCommerce CLI
|
## Getting Started with WooCommerce CLI
|
||||||
|
|
||||||
To begin using WC-CLI, ensure that you have WP-CLI installed and that you are running WooCommerce 3.0.0 or later. The CLI commands are accessed through the `wp wc` command. For a full list of available commands, type `wp wc` in your command-line interface.
|
To begin using WC-CLI, ensure that you have WP-CLI installed and that you are running WooCommerce 3.0.0 or later. The CLI commands are accessed through the `wp wc` command. For a full list of available commands, type `wp wc` in your command-line interface.
|
||||||
|
|
Loading…
Reference in New Issue