[Docs] Update links from WooCommerce.com to Woo.com for the Woo Blocks documentation (#43055)

* Update woocommerce.com URLs in documentation and code files

* Add changelog

* Fix github repository link in extend-rest-api-add-custom-fields.md

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>

* Add github reporter (#42974)

* Add github reporter

* Add changelog

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>

* Fix product task redirect to support grouped and external products (#43051)

* Rearrange product redirection logic to better accept grouped and external produc types

* Add changelog

* Modify feedback modal actions (#43005)

* Adapt feedback modal actions

* Add changelogs

* Modify comments

* Fix tests

* Fix test

* Update class-wc-gateway-bacs.php (#43054)

* Update class-wc-gateway-bacs.php

Fix typo in textdomain

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>

* [Product Block Editor]: Add `Linked product` tab (#43009)

* add linked-products to group IDs

* add Linked Products tab

* tweak hideConditions condition

* changelog

* fix typo in doc comment

* Introduce a product type selection within the new experience (#41823)

* Create a relation between the product type and the product block template

* Add 'patterns' to name the kind of products that can be created for a specific template

* Resolve template using its id as a template query param

* Rename ProductEditPattern to ProductTemplate

* Rename get_patterns hook to woocommerce_product_editor_get_product_templates

* Return the list of templates to the client

* Set layout template events as array

* Register the layout template based on the product template or the post type in case of product variations

* Registering non supported product types

* Create and register the woocommerce/product-details-section-description block

* Add the product type to the section description

* Create product type selector

* Fix menu item style

* Highlight selected menu item

* Set the selected product template

* Set product template title to lowercase in the content description

* Rename blocks by blockTemplates under the AbstractBlockTemplate class

* Rename to woocommerce_product_editor_product_templates filter

* Remove product_template_ prefix from the supported_product_types map

* Rename get_formatted to to_JSON and convert the props to client side like

* Refactor get_product_templates

* Fix icon resolution

* Add a confirmation modal for unsupported product templates

* Add changelog files

* Remove product types using for testing

* Fix redirection when changing to a non supported product template

* Set the change button state to busy when it is saving the product

* Fix php linter errors

* Fix rebase conflict

* Move ProductTemplate to Automattic\WooCommerce\Admin\Features\ProductBlockEditor namespace

* Add the to_json definition to the BlockTemplateInterface

* Create default product template by custom product type if it does not have a template associated yet

* Fix some comments and product template creation validation

* Add support to load the product template icon from an external resource

* Fix php linter

* Fix the changelog description

* [Experimental] Interactivity Dropdown multi-select mode, ratings filter and introduce each directive (#42981)


---------
Co-authored-by: David Arenas <david.arenas@automattic.com>

* Introduce the transient files engine (#42877)

Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>

* Change marketplace install API request to POST instead of GET (#43033)

* Change marketplace install API to using POST instead of GET
* Fix linting error
* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>

* Prep trunk for 8.6 cycle (#43021)

Prep trunk for 8.6 cycle with version bump to 8.6.0-dev

Co-authored-by: WooCommerce Bot <no-reply@woo.com>

* Add Playwright tests for All Reviews, Reviews by Product and Reviews by Category blocks (#42903)

* Remove Reviews blocks Puppeteer tests

* Minor code cleanup

* Typos

* Create publishAndVisitPost() editor util

* Fix subcategories when importing products in Playwright and add reviews

* Add Reviews blocks tests in Playwright

* More typos

* Add changefile(s) from automation for the following project(s): woocommerce-blocks

* Create a 'reviews' object in data.ts so we can store reviews data in one single place

* Update test so instead of creating a new post in each test, we go to the already-created post

* Add source comments to reviews data to match it with the script

---------

Co-authored-by: github-actions <github-actions@github.com>

* Release: Remove 8.5 change files (#43022)

Delete changelog files from 8.5 release

Co-authored-by: WooCommerce Bot <no-reply@woo.com>
Co-authored-by: Alex López <alex.lopez@automattic.com>

* Delete changelog files based on PR 43033 (#43079)

Delete changelog files for 43033

Co-authored-by: WooCommerce Bot <no-reply@woo.com>

* Delete changelog files based on PR 43051 (#43081)

Delete changelog files for 43051

Co-authored-by: WooCommerce Bot <no-reply@woo.com>

* Interactive Price Filter: use `context` instead of `state` (#42980)

* feat: use context instead of state

* fix: temporary move the context to inner element for diffing to work

* fix: update context before navigation for optimistic UI

* Load google analytics gtag script asynchronously in WooCommerce Blocks (#43040)

Co-authored-by: github-actions <github-actions@github.com>

* set WOOCOMMERCE_BLOCKS_PHASE to 1 for the production build (#43074)

* set WOOCOMMERCE_BLOCKS_PHASE to 1 for the production build

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>

* Revert "Fix schedule sales error" (#43094)

Revert "Fix schedule sales error (#42700)"

This reverts commit 9b800aa179.

* [Product Block Editor]: add Linked product sections. First approach. (#43013)

* add Linked products, Upsell section

* changelog

* add Cross-lens section

* add links to the Upsell sections

* changelog

* fix lint issues

* fix lint issus

* fix linting issue :-|

* check whether the linked product group is defined

* [Product Block Editor]: introduce ShoppingBags component (#43042)

* add ShoppingBags component

* Add ShoppingBag story

* changelog

* Fix: Collection data being leaked between Collection Filters blocks (#43044)

* fix: CYS - change heading color (#43076)

* fix: CYS - change heading color

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>

* Delete changelog files based on PR 43074 (#43118)

Delete changelog files for 43074

Co-authored-by: WooCommerce Bot <no-reply@woo.com>

* [Product Block Editor]: fix feature flag to hide the Linked products (#43119)

* fix flag to hide/show product editor

* changelog

* Add changelog

---------

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
Co-authored-by: Jon Lane <jon.lane@automattic.com>
Co-authored-by: louwie17 <lourensschep@gmail.com>
Co-authored-by: Fernando Marichal <fernando.marichal@automattic.com>
Co-authored-by: Marc Guay <marc.guay@gmail.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
Co-authored-by: Maikel David Pérez Gómez <maikel.perez@automattic.com>
Co-authored-by: Sam Seay <samueljseay@gmail.com>
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Co-authored-by: Kyle Nel <22053773+kdevnel@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: WooCommerce Bot <no-reply@woo.com>
Co-authored-by: Alex López <alex.lopez@automattic.com>
Co-authored-by: Tung Du <dinhtungdu@gmail.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
Co-authored-by: Patricia Hillebrandt <patriciahillebrandt@gmail.com>
This commit is contained in:
Alexandre Lara 2023-12-29 12:28:11 -03:00 committed by GitHub
parent 1ed5d0872a
commit 4efd2123a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
95 changed files with 199 additions and 120 deletions

View File

@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Merge with trunk touched some of the files from the Product Editor package

View File

@ -0,0 +1,41 @@
/**
* External dependencies
*/
import { SVG, Path } from '@wordpress/components';
import { createElement } from '@wordpress/element';
export function ShoppingBags( {
colorOne = '#E0E0E0',
colorTwo = '#F0F0F0',
size = '88',
} ) {
return (
<SVG
width={ size }
height={ size }
viewBox="0 0 88 88"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<Path
d="M59.5299 29.3511H6.48494C4.38544 44.6382 0.74386 74.8826 0.105058 79.5685C-0.505262 84.0386 1.48031 87.9998 7.72592 87.9998H58.293C64.5386 87.9998 66.5241 84.0386 65.9138 79.5685C65.275 74.8826 61.6294 44.6382 59.534 29.3511H59.5299Z"
fill={ colorOne }
/>
<Path
d="M45.1549 17.5C42.7177 15.6069 39.3976 14.6787 35.0155 14.6665C34.987 14.6665 31.024 14.6665 30.9996 14.6665C26.6175 14.6787 23.3014 15.6069 20.8601 17.5C17.9916 19.7269 16.5391 23.106 16.5391 27.5476V40.2454H23.8629V28.5898C23.8629 25.569 25.2422 22.0393 30.9833 21.9986C31.0159 21.9986 35.0033 21.9986 35.0358 21.9986C40.7769 22.0393 42.1562 25.569 42.1562 28.5898V40.2454H49.4801V27.5476C49.4801 23.106 48.0275 19.7269 45.159 17.5H45.1549Z"
fill={ colorTwo }
/>
<Path
d="M47.3921 47.6711L44.0312 87.9998H87.9987L84.2676 47.6711H47.3921Z"
fill={ colorTwo }
/>
<Path
d="M66.0147 65.9912C60.2736 65.9912 56.8477 62.4738 56.8477 56.5828V51.3188H60.5096V56.5828C60.5096 62.3272 64.6516 62.3272 66.0147 62.3272C67.3777 62.3272 71.5197 62.3272 71.5197 56.5828V51.3188H75.1817V56.5828C75.1817 62.4738 71.7557 65.9912 66.0147 65.9912Z"
fill={ colorOne }
/>
</SVG>
);
}

View File

@ -0,0 +1,24 @@
/**
* External dependencies
*/
import React from 'react';
/**
* Internal dependencies
*/
import { ShoppingBags } from '../index';
export default {
title: 'Product Editor/images/ShoppingBags',
component: ShoppingBags,
args: {
size: '88',
colorOne: '#E0E0E0',
colorTwo: '#F0F0F0',
},
};
export const Default = ( args ) => <ShoppingBags { ...args } />;
// Set the story name
Default.storyName = 'Shopping Bags';

View File

@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@woocommerce.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at <support@woo.com>. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

View File

@ -8,15 +8,17 @@ labels: "type: support"
We don't offer technical support on GitHub so we recommend using the following:
## Reading our documentation
Usage docs can be found here: https://docs.woocommerce.com/
If you have a problem, you may want to start with the self help guide here: https://docs.woocommerce.com/document/woocommerce-self-service-guide/
Usage docs can be found here: <https://woo.com/documentation/woocommerce/>
**Technical support for premium extensions or if you're a WooCommerce.com customer**
If you have a problem, you may want to start with the self help guide here: <https://woo.com/document/woocommerce-self-service-guide/>
**Technical support for premium extensions or if you're a Woo.com customer**
from a human being - submit a ticket via the helpdesk
https://woocommerce.com/contact-us/
<https://woo.com/contact-us/>
## General usage and development questions
- WooCommerce Slack Community: https://woocommerce.com/community-slack/
- WordPress.org Forums: https://wordpress.org/support/plugin/woocommerce
- WooCommerce Slack Community: <https://woo.com/community-slack/>
- WordPress.org Forums: <https://wordpress.org/support/plugin/woocommerce>
- The WooCommerce Help and Share Facebook group

View File

@ -65,7 +65,7 @@ After testing:
- [ ] After the wp.org workflow completes, confirm the following
- [ ] Confirm svn tag is correct, e.g. [{{version}}](https://plugins.svn.wordpress.org/woo-gutenberg-products-block/tags/{{version}}/)
- [ ] Changelog, Version, and Last Updated on [WP.org plugin page](https://wordpress.org/plugins/woo-gutenberg-products-block/) is correct.
- [ ] Confirm [WooCommerce.com plugin page](https://woocommerce.com/products/woocommerce-gutenberg-products-block/) is updated. Note: this can take several hours, feel free to check it the following day.
- [ ] Confirm [Woo.com plugin page](https://woo.com/customize/) is updated. Note: this can take several hours, feel free to check it the following day.
- [ ] Download zip and smoke test.
- [ ] Test updating plugin from previous version.
@ -97,7 +97,7 @@ This only needs done if the patch release needs to be included in WooCommerce Co
You only need to post public release announcements and update relevant public facing docs if this patch release is deployed to WP.org. Otherwise, you can skip this section.
- [ ] Post release announcement on [WooCommerce Developer Blog](https://developer.woocommerce.com/category/release-post/woocommerce-blocks-release-notes/).
- [ ] Post release announcement on [WooCommerce Developer Blog](https://developer.woo.com/category/release-post/woocommerce-blocks-release-notes/).
- Ping porters from each team to know which changelog entries need to be highlighted. Ask them to write a short text and optionally provide a screenshot. They can use previous posts for inspiration, we usually try to highlight new features or API changes.
- Ensure the release notes are included in the post verbatim.
- Don't forget to use category `WooCommerce Blocks Release Notes` for the post.

View File

@ -18,7 +18,7 @@ This is the patch release pull request for WooCommerce Blocks plugin `{{version}
Please leave a comment on this PR with links to the following:
- [ ] Release announcement (announcement post on developer.woocommerce.com published after release).
- [ ] Release announcement (announcement post on https://developer.woo.com/ published after release).
{{#if devNoteItems}}
**Developer Notes** - The following issues require developer notes in the release post:

View File

@ -71,7 +71,7 @@ After testing:
- [ ] After the wp.org workflow completes, confirm the following
- [ ] Confirm svn tag is correct, e.g. [{{version}}](https://plugins.svn.wordpress.org/woo-gutenberg-products-block/tags/{{version}}/)
- [ ] Changelog, Version, and Last Updated on [WP.org plugin page](https://wordpress.org/plugins/woo-gutenberg-products-block/) is correct.
- [ ] Confirm [WooCommerce.com plugin page](https://woocommerce.com/products/woocommerce-gutenberg-products-block/) is updated. Note: this can take several hours, feel free to check it the following day.
- [ ] Confirm [Woo.com plugin page](https://woo.com/customize/) is updated. Note: this can take several hours, feel free to check it the following day.
- [ ] Download zip and smoke test.
- [ ] Test updating plugin from previous version.
@ -116,7 +116,7 @@ If this is a monthly release, you'll need to do the following steps as well:
## Publish posts
- [ ] Post release announcement on [WooCommerce Developer Blog](https://developer.woocommerce.com/category/release-post/woocommerce-blocks-release-notes/).
- [ ] Post release announcement on [WooCommerce Developer Blog](https://developer.woo.com/category/release-post/woocommerce-blocks-release-notes/).
- Ping porters from each team to know which changelog entries need to be highlighted. Ask them to write a short text and optionally provide a screenshot. They can use previous posts for inspiration, we usually try to highlight new features or API changes.
- Ensure the release notes are included in the post verbatim.
- Don't forget to use category `WooCommerce Blocks Release Notes` for the post.
@ -134,7 +134,7 @@ If this is a monthly release, you'll need to do the following steps as well:
- Are there any new blocks in this release? Ensure they have adequate user documentation.
- Ensure any major improvements or changes are documented.
- [ ] Update minimum supported versions (WordPress, WooCommerce Core) and other requirements where necessary, including:
- [WCCOM product page](https://woocommerce.com/products/woocommerce-gutenberg-products-block/)
- [WooCommerce blocks main documentation page](https://docs.woocommerce.com/document/woocommerce-blocks/)
- [WCCOM product page](https://woo.com/customize/)
- [WooCommerce blocks main documentation page](https://woo.com/document/woocommerce-blocks/)
- [ ] Go through the description of the release pull request and edit it to update all the sections and checklist instructions there.
- [ ] Close this PR.

View File

@ -18,7 +18,7 @@ This is the release pull request for WooCommerce Blocks plugin `{{version}}`.
Please leave a comment on this PR with links to the following:
- [ ] Release announcement (announcement post on developer.woocommerce.com published after release).
- [ ] Release announcement (announcement post on developer.woo.com published after release).
{{#if devNoteItems}}
**Developer Notes** - The following issues require developer notes in the release post:

View File

@ -11,7 +11,7 @@ This is the client for WooCommerce + Gutenberg. This package serves as a space t
## Documentation
To find out more about the blocks and how to use them, [check out the documentation on WooCommerce.com](https://docs.woocommerce.com/document/woocommerce-blocks/).
To find out more about the blocks and how to use them, [check out the documentation on Woo.com](https://woo.com/document/woocommerce-blocks/).
If you want to see what we're working on for future versions, or want to help out, read on.

View File

@ -316,7 +316,7 @@ const Edit = ( {
<Button
className="wc-block-attribute-filter__read_more_button"
variant="tertiary"
href="https://docs.woocommerce.com/document/managing-product-taxonomies/"
href="https://woo.com/document/managing-product-taxonomies/"
target="_blank"
>
{ __( 'Learn more', 'woocommerce' ) }

View File

@ -28,7 +28,7 @@ describe( 'Proceed to checkout block', () => {
it( 'allows the link to be filtered', () => {
registerCheckoutFilters( 'test-extension', {
proceedToCheckoutButtonLink: () => {
return 'https://woocommerce.com';
return 'https://woo.com';
},
} );
render(
@ -36,7 +36,7 @@ describe( 'Proceed to checkout block', () => {
);
const button = screen.getByText( 'Proceed to Checkout' );
const link = button.closest( 'a' );
expect( link?.href ).toBe( 'https://woocommerce.com/' );
expect( link?.href ).toBe( 'https://woo.com/' );
} );
it( 'does not allow incorrect types to be applied to either button label or button link', () => {
registerCheckoutFilters( 'test-extension', {

View File

@ -164,7 +164,7 @@ const ConvertTemplate = ( { blockifyConfig, clientId, attributes } ) => {
</Button>
<Button
variant="secondary"
href="https://woocommerce.com/document/cart-checkout-blocks-support-status/"
href="https://woo.com/document/cart-checkout-blocks-status/"
target="_blank"
tabIndex={ 0 }
>
@ -202,7 +202,7 @@ const Edit = ( { clientId, attributes }: BlockEditProps< Attributes > ) => {
a: (
// Suppress the warning as this <a> will be interpolated into the string with content.
// eslint-disable-next-line jsx-a11y/anchor-has-content
<ExternalLink href="https://woocommerce.com/document/cart-checkout-blocks-support-status/" />
<ExternalLink href="https://woo.com/document/cart-checkout-blocks-status/" />
),
}
);

View File

@ -31,7 +31,7 @@ This block does not have any customizable options available, so any style or cus
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -46,7 +46,7 @@ export const NoAttributesPlaceholder = () => (
<Button
className="wc-block-attribute-filter__read_more_button"
variant="tertiary"
href="https://docs.woocommerce.com/document/managing-product-taxonomies/"
href="https://woo.com/document/managing-product-taxonomies/"
target="_blank"
>
{ __( 'Learn more', 'woocommerce' ) }

View File

@ -130,7 +130,7 @@ export default function ( {
<Button
className="wc-block-price-slider__read_more_button"
variant="tertiary"
href="https://docs.woocommerce.com/document/managing-products/"
href="https://woo.com/document/managing-products/"
target="_blank"
>
{ __( 'Learn more', 'woocommerce' ) }

View File

@ -30,7 +30,7 @@ export const renderNoProductsPlaceholder = ( blockTitle, blockIcon ) => (
<Button
className="wc-block-products__read_more_button"
variant="tertiary"
href="https://docs.woocommerce.com/document/managing-products/"
href="https://woo.com/document/managing-products/"
target="_blank"
>
{ __( 'Learn more', 'woocommerce' ) }

View File

@ -10,7 +10,7 @@ See [Storybook & Components](../../../docs/contributors/storybook-and-components
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -21,6 +21,6 @@ export const Default = Template.bind( {} );
Default.args = {
description:
'This is the description of the link, perhaps a bit of a longer paragraph or a summary of a blog post, or whatever could give more context',
href: 'https://woocommerce.com/posts/seven-tips-to-extend-holiday-sales-momentum/',
href: 'https://woo.com/posts/seven-tips-to-extend-holiday-sales-momentum/',
title: 'Seven tips to extend holiday sales momentum',
};

View File

@ -59,7 +59,7 @@ export function IncompatibleExtensionsNotice( {
),
{
a: (
<ExternalLink href="https://woocommerce.com/document/cart-checkout-blocks-support-status/" />
<ExternalLink href="https://woo.com/document/cart-checkout-blocks-status/" />
),
}
)
@ -75,7 +75,7 @@ export function IncompatibleExtensionsNotice( {
{
strong: <strong />,
a: (
<ExternalLink href="https://woocommerce.com/document/cart-checkout-blocks-support-status/" />
<ExternalLink href="https://woo.com/document/cart-checkout-blocks-status/" />
),
}
) }

View File

@ -81,7 +81,7 @@ Used implicitly by `SearchListControl` when the `renderItem` prop is omitted.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -28,7 +28,7 @@ export const CartCheckoutSidebarCompatibilityNotice = ( {
a: (
// Suppress the warning as this <a> will be interpolated into the string with content.
// eslint-disable-next-line jsx-a11y/anchor-has-content
<ExternalLink href="https://woocommerce.com/document/cart-checkout-blocks-support-status/#section-3" />
<ExternalLink href="https://woo.com/document/cart-checkout-blocks-status/#section-10" />
),
}
);

View File

@ -30,7 +30,7 @@ or with a popover that is shown on click.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -34,7 +34,7 @@ Example: two text buttons to select edit modes for cart block.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -30,7 +30,7 @@ const LocationSettingsDescription = () => (
'woocommerce'
) }
</p>
<ExternalLink href="https://woocommerce.com/document/woocommerce-blocks-local-pickup/">
<ExternalLink href="https://woo.com/document/woocommerce-blocks-local-pickup/">
{ __( 'Learn more', 'woocommerce' ) }
</ExternalLink>
</>

View File

@ -35,7 +35,7 @@ Before adding a new icon, make sure the icon is not already included in the [Lib
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -4,7 +4,7 @@ function update_footer {
---
[We'\''re hiring!](https://woocommerce.com/careers/) Come work with us!
[We'\''re hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20'$1')

View File

@ -1,7 +1,7 @@
{
"name": "woocommerce/woocommerce-blocks",
"description": "WooCommerce blocks for the Gutenberg editor.",
"homepage": "https://woocommerce.com/",
"homepage": "https://woo.com/",
"type": "wordpress-plugin",
"version": "11.8.0-dev",
"license": "GPL-3.0-or-later",

View File

@ -127,27 +127,27 @@ The WooCommerce Blocks Handbook provides documentation for designers and develop
### Articles
The following posts from [developer.woocommerce.com](https://developer.woocommerce.com/category/developer-resources/) provide deeper insights into the WooCommerce Blocks development.
The following posts from [developer.woo.com](https://developer.woo.com/category/developer-resources/) provide deeper insights into the WooCommerce Blocks development.
- [Store API is now considered stable](https://developer.woocommerce.com/2022/03/25/store-api-is-now-considered-stable/)
- [Available Extensibility Interfaces for The Cart and Checkout Blocks](https://developer.woocommerce.com/2021/11/09/available-extensibility-interfaces-for-the-cart-and-checkout-blocks/)
- [How The Checkout Block Processes An Order](https://developer.woocommerce.com/2022/10/06/how-the-checkout-block-processes-an-order/)
- [New @wordpress/data stores in WooCommerce Blocks](https://developer.woocommerce.com/2022/10/17/new-wordpress-data-stores-in-woocommerce-blocks/)
- [Store API is now considered stable](https://developer.woo.com/2022/03/25/store-api-is-now-considered-stable/)
- [Available Extensibility Interfaces for The Cart and Checkout Blocks](https://developer.woo.com/2021/11/09/available-extensibility-interfaces-for-the-cart-and-checkout-blocks/)
- [How The Checkout Block Processes An Order](https://developer.woo.com/2022/10/06/how-the-checkout-block-processes-an-order/)
- [New @wordpress/data stores in WooCommerce Blocks](https://developer.woo.com/2022/10/17/new-wordpress-data-stores-in-woocommerce-blocks/)
### Tutorials
The following tutorials from [developer.woocommerce.com](https://developer.woocommerce.com/category/tutorials/) help you with extending the WooCommerce Blocks plugin.
The following tutorials from [developer.woo.com](https://developer.woo.com/category/tutorials/) help you with extending the WooCommerce Blocks plugin.
- [📺 Tutorial: Extending the WooCommerce Checkout Block](https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/)
- [Hiding Shipping and Payment Options in the Cart and Checkout Blocks](https://developer.woocommerce.com/2022/05/20/hiding-shipping-and-payment-options-in-the-cart-and-checkout-blocks/)
- [Integrating your Payment Method with Cart and Checkout Blocks](https://developer.woocommerce.com/2021/03/15/integrating-your-payment-method-with-cart-and-checkout-blocks/)
- [Exposing Payment Options in the Checkout Block](https://developer.woocommerce.com/2022/07/07/exposing-payment-options-in-the-checkout-block/)
- [📺 Tutorial: Extending the WooCommerce Checkout Block](https://developer.woo.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/)
- [Hiding Shipping and Payment Options in the Cart and Checkout Blocks](https://developer.woo.com/2022/05/20/hiding-shipping-and-payment-options-in-the-cart-and-checkout-blocks/)
- [Integrating your Payment Method with Cart and Checkout Blocks](https://developer.woo.com/2021/03/15/integrating-your-payment-method-with-cart-and-checkout-blocks/)
- [Exposing Payment Options in the Checkout Block](https://developer.woo.com/2022/07/07/exposing-payment-options-in-the-checkout-block/)
<!-- FEEDBACK -->
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/README.md)

View File

@ -40,7 +40,7 @@ Last but not least, to get an insight into how CSS is built, refer to the [CSS B
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/README.md)

View File

@ -93,7 +93,7 @@ wc.wcSettings.getSetting( 'key' );
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/block-assets.md)

View File

@ -177,7 +177,7 @@ Notice in the worst case scenario we would have increased selector specificity b
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/coding-guidelines.md)

View File

@ -44,7 +44,7 @@ If you're stuck, copy source of an existing story to get started.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/components.md)

View File

@ -29,7 +29,7 @@ Webpack config is split between several files, some relevant ones for the CSS bu
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/css-build-system.md)

View File

@ -173,7 +173,7 @@ When referencing other documentations, the corresponding document should be link
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/documentation-guidelines.md)

View File

@ -60,7 +60,7 @@ By using these packages, you can make your code more modular and easier to maint
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/e2e-guidelines.md)

View File

@ -192,7 +192,7 @@ This file is inspired by the great work of @JustinyAhin and @gziolo in <https://
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/folder-structure.md)

View File

@ -146,7 +146,7 @@ To find out more about how to run automated JavaScript tests, check out the docu
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/getting-started.md)

View File

@ -79,7 +79,7 @@ Webpack config is split between several files:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/javascript-build-system.md)

View File

@ -113,7 +113,7 @@ When preparing for a new version of WordPress, it's a good practice to search fo
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/javascript-testing.md)

View File

@ -48,7 +48,7 @@ If you're stuck, copy source of an existing story to get started.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/storybook-and-components.md)

View File

@ -84,7 +84,7 @@ WooCommerce Blocks avoids using legacy unprefixed classes as much as possible. H
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/README.md)

View File

@ -82,7 +82,7 @@ By default, it uses a combination of black and white borders and shadows so it h
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/cart-and-checkout.md)

View File

@ -92,7 +92,7 @@ For example, given that `wc-block-error` changed to `wc-block-components-error`
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/class-names-update-280.md)

View File

@ -21,7 +21,7 @@ In [WooCommerce Blocks 3.3.0](https://developer.woocommerce.com/2020/09/02/wooco
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/class-names-update-330.md)

View File

@ -12,7 +12,7 @@ In [WooCommerce Blocks 3.4.0](https://developer.woocommerce.com/2020/09/15/wooco
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/class-names-update-340.md)

View File

@ -15,7 +15,7 @@ In [WooCommerce Blocks 4.6.0](https://developer.woocommerce.com/2021/03/02/wooco
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/class-names-update-460.md)

View File

@ -32,7 +32,7 @@ Notice the code snippet above uses a CSS custom property, so the default color m
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/filter-blocks.md)

View File

@ -47,7 +47,7 @@ _All Products_ block was updated so prices follow the same layout as the other p
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/designers/theming/product-grid-270.md)

View File

@ -61,7 +61,7 @@ There might be a case when you want to add a new schema, for example, you need a
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/internal-developers/rest-api/extend-rest-api-new-endpoint.md)

View File

@ -46,7 +46,7 @@ Go to: [https://github.com/woocommerce/woocommerce-gateway-stripe/blob/8ffd22aff
### Interaction with unusable payment methods
- Install and activate [WooCommerce Bookings](https://woocommerce.com/products/woocommerce-bookings/). Add a bookable product, ensure to add a cost to it on the edit product page, then:
- Install and activate [WooCommerce Bookings](https://woo.com/products/woocommerce-bookings/). Add a bookable product, ensure to add a cost to it on the edit product page, then:
- Add a _normal_ (i.e. Beanie, Hoodie etc.) product to the cart and ensure you can check out successfully.
- Then add a bookable product, ensure you can check out successfully.

View File

@ -12,8 +12,8 @@
The Checkout Block supports three methods of payments:
- Check Payment, found in WooCommerce payment section.
- Stripe Credit Card payments, provided by [Stripe Gateway](https://woocommerce.com/products/stripe/).
- Express Payment methods, provided by [Stripe Gateway](https://woocommerce.com/products/stripe/).
- Stripe Credit Card payments, provided by [Stripe Gateway](https://woo.com/products/stripe/).
- Express Payment methods, provided by [Stripe Gateway](https://woo.com/products/stripe/).
To test Stripe and Express payment methods, you will need API keys, you can get them by creating a testing account in stripe.

View File

@ -69,7 +69,7 @@ In addition to the reference material below, [please see the `block-checkout` pa
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/README.md)

View File

@ -125,7 +125,7 @@ working correctly. The error will also be shown in your console.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters.md)

View File

@ -84,6 +84,6 @@ To call this filter within the editor, wrap the filter registration in a `DOMCon
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/additional-cart-checkout-inner-block-types.md)

View File

@ -674,6 +674,6 @@ The Cart Item object of the filters above has the following keys:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/cart-line-items.md)

View File

@ -348,6 +348,6 @@ The Cart Item object of the filters above has the following keys:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/checkout-and-place-order-button.md)

View File

@ -213,6 +213,6 @@ registerCheckoutFilters( 'example-extension', {
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/coupons.md)

View File

@ -490,6 +490,6 @@ The Cart Item object of the filters above has the following keys:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/order-summary-items.md)

View File

@ -175,6 +175,6 @@ The Cart Item object of the filters above has the following keys:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-filters/totals-footer-item.md)

View File

@ -181,7 +181,7 @@ Checkout:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/available-slot-fills.md)

View File

@ -45,7 +45,7 @@ _Example usage in WC Blocks:_ Cart and Mini-Cart blocks (via the `useStoreCart()
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/dom-events.md)

View File

@ -140,7 +140,7 @@ The `checkPaymentMethodsCanPay()` [function](https://github.com/woocommerce/wooc
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/how-checkout-processes-an-order.md)

View File

@ -208,7 +208,7 @@ The value returned here is a plain old JavaScript object, keyed by the keys of t
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/integration-interface.md)

View File

@ -67,7 +67,7 @@ For this to work, your script must be enqueued after Cart and Checkout. You can
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-block/slot-fills.md)

View File

@ -8,7 +8,7 @@ To see the Checkout Flow and Events please consult the following document:
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-payment-methods/checkout-flow-and-events.md)

View File

@ -169,7 +169,7 @@ If you've added your payment method correctly with the correct `supports` values
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-payment-methods/filtering-payment-methods.md)

View File

@ -262,7 +262,7 @@ As an example, you can see how the Stripe extension adds it's integration in thi
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md)

View File

@ -70,7 +70,7 @@ const { VALIDATION_STORE_KEY } = window.wc.wcBlocksData;
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/README.md)

View File

@ -970,7 +970,7 @@ const itemsPendingDelete = store.getItemsPendingDelete();
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/cart.md)

View File

@ -330,7 +330,7 @@ store.setPrefersCollection( true );
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/checkout.md)

View File

@ -196,7 +196,7 @@ const lastModified = store.getCollectionLastModified( state, namespace, resource
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/feature-flags-and-experimental-interfaces.md)

View File

@ -590,7 +590,7 @@ const currentStatus = store.getCurrentStatus();
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/payment.md)

View File

@ -47,7 +47,7 @@ This will set the query-state for a given context. Typically this is used to set
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/feature-flags-and-experimental-interfaces.md)

View File

@ -129,7 +129,7 @@ const route = store.assembleRouteWithPlaceholders( route, routePlaceholders, ids
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/blocks/feature-flags-and-experimental-interfaces.md)

View File

@ -113,7 +113,7 @@ const registeredContainers = store.getRegisteredContainers();
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/validation.md)

View File

@ -345,7 +345,7 @@ const hasValidationErrors = store.hasValidationErrors();
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/data-store/validation.md)

View File

@ -835,7 +835,7 @@ do_action( '{$hook}' )
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/hooks/actions.md)

View File

@ -1174,7 +1174,7 @@ apply_filters( 'woocommerce_store_api_rate_limit_options', array $rate_limit_opt
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/hooks/filters.md)

View File

@ -175,7 +175,7 @@ woocommerce_store_api_register_endpoint_data(
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/rest-api/available-endpoints-to-extend.md)

View File

@ -5,7 +5,7 @@ This document describes how a developer can insert an input field into the Check
## Overview
Developers can extend the Checkout block to add new inner blocks and process additional data through the checkout POST request. This involves leveraging the extensibility interfaces provided by Gutenberg and WooCommerce Blocks. This is demonstrated in more detail in our tutorial: [Tutorial: Extending the WooCommerce Checkout Block
](https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/).
](https://developer.woo.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/).
## Prerequisites
@ -24,7 +24,7 @@ Ensure you have the following files in your project:
- `block.js`: Manages the block's state and user interactions.
- `frontend.js`: Registers the checkout block component for the frontend.
Refer to [this tutorial](https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) for an example of adding a custom shipping option to the checkout block.
Refer to [this tutorial](https://developer.woo.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) for an example of adding a custom shipping option to the checkout block.
### 2. Add a new field block to the Checkout Block
@ -255,7 +255,7 @@ add_action(
// ... Some code here
```
Here is an example from our [tutorial](https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) of how to get this custom field's data while processing the checkout. This example is from the `shipping-workshop-blocks-integration.php` file. The complete code can be found in this [GitHub repository](https://github.com/woocommerce/wceu23-shipping-workshop-final/blob/main/shipping-workshop-blocks-integration.php#L42-L83).
Here is an example from our [tutorial](https://developer.woo.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) of how to get this custom field's data while processing the checkout. This example is from the `shipping-workshop-blocks-integration.php` file. The complete code can be found in this [GitHub repository](https://github.com/woocommerce/wceu23-shipping-workshop-final/blob/main/shipping-workshop-blocks-integration.php#L42-L83).
```php
private function save_shipping_instructions() {
@ -282,4 +282,4 @@ private function save_shipping_instructions() {
## Conclusion
By following the steps above, you can add and process new field blocks in the WooCommerce checkout block. For complete implementation and additional examples, refer to the provided [tutorial](https://developer.woocommerce.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) and the corresponding [GitHub repository](https://github.com).
By following the steps above, you can add and process new field blocks in the WooCommerce checkout block. For complete implementation and additional examples, refer to the provided [tutorial](https://developer.woo.com/2023/08/07/extending-the-woocommerce-checkout-block-to-add-custom-shipping-options/) and the corresponding [GitHub repository](https://github.com/woocommerce/wceu23-shipping-workshop-final/).

View File

@ -332,7 +332,7 @@ You may wish to use our pre-existing Formatters to ensure your data is passed th
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/rest-api/extend-rest-api-add-data.md)

View File

@ -192,7 +192,7 @@ This formatter should be used when returning HTML from the StoreAPI regardless o
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/rest-api/extend-rest-api-formatters.md)

View File

@ -187,7 +187,7 @@ Now that this is registered, when the button is pressed, the `cart/extensions` e
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/third-party-developers/extensibility/rest-api/extend-rest-api-update-cart.md)

View File

@ -57,7 +57,7 @@ This package contains the following directories. Navigate to a directory for mor
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/README.md)

View File

@ -207,7 +207,7 @@ const isValid = hasInnerBlocks( 'woocommerce/checkout-totals-block' ); // true
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/blocks-registry/README.md)

View File

@ -24,7 +24,7 @@ These components are here so they can be consumed by extensions.
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/components/README.md)

View File

@ -127,7 +127,7 @@ Filters are implemented throughout the Mini-Cart, Cart and Checkout Blocks, as w
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/filter-registry/README.md)

View File

@ -187,7 +187,7 @@ Slot Fills are implemented throughout the Cart and Checkout Blocks, as well as s
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/slot/README.md)

View File

@ -76,7 +76,7 @@ What value must contain. If this is not found within `value`, and error will be
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-blocks/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./packages/checkout/utils/README.md)

View File

@ -12,7 +12,7 @@ License URI: https://www.gnu.org/licenses/gpl-3.0.html
WooCommerce Blocks are the easiest, most flexible way to display your products on posts and pages!
For more information on what blocks are available, and how to use them, check out <a href="https://docs.woocommerce.com/document/woocommerce-blocks/
For more information on what blocks are available, and how to use them, check out <a href="https://woo.com/document/woocommerce-blocks/
">the official documentation</a>.
**Note: Feature plugin for WooCommerce + Gutenberg. This plugin serves as a space to iterate and explore new Blocks and updates to existing blocks for WooCommerce, and how WooCommerce might work with the block editor.**
@ -49,11 +49,11 @@ Use this plugin if you want access to the bleeding edge of available blocks for
= Minimum Requirements =
* Latest release versions of WordPress and WooCommerce ([read more here](https://developer.woocommerce.com/?p=9998))
* Latest release versions of WordPress and WooCommerce ([read more here](https://developer.woo.com/2021/07/27/announcing-a-change-to-the-woocommerce-blocks-version-support-policy/))
* PHP version 7.3 or greater (PHP 7.4 or greater is recommended)
* MySQL version 5.6 or greater
Visit the [WooCommerce server requirements documentation](https://docs.woocommerce.com/document/server-requirements/) for a detailed list of server requirements.
Visit the [WooCommerce server requirements documentation](https://woo.com/document/server-requirements/) for a detailed list of server requirements.
= Automatic installation =
@ -67,7 +67,7 @@ The manual installation method involves downloading the plugin and uploading it
= Sample data =
WooCommerce comes with some sample data you can use to populate the products and get started building Products blocks quickly and easily. You can use the core [CSV importer](https://docs.woocommerce.com/document/product-csv-importer-exporter/) or our [CSV Import Suite plugin](https://woocommerce.com/products/product-csv-import-suite/) to import sample_products.csv.
WooCommerce comes with some sample data you can use to populate the products and get started building Products blocks quickly and easily. You can use the core [CSV importer](https://woo.com/document/product-csv-importer-exporter/) or our [CSV Import Suite plugin](https://woo.com/products/product-csv-import-suite/) to import sample_products.csv.
= Where can I report bugs or contribute to the project? =

View File

@ -346,7 +346,7 @@ See example: `assets/js/base/components/country-input/stories/index.tsx`
---
[We're hiring!](https://woocommerce.com/careers/) Come work with us!
[We're hiring!](https://woo.com/careers/) Come work with us!
🐞 Found a mistake, or have a suggestion? [Leave feedback about this document here.](https://github.com/woocommerce/woocommerce-gutenberg-products-block/issues/new?assignees=&labels=type%3A+documentation&template=--doc-feedback.md&title=Feedback%20on%20./docs/contributors/block-assets.md)

View File

@ -5,7 +5,7 @@
* Description: WooCommerce blocks for the Gutenberg editor.
* Version: 11.8.0-dev
* Author: Automattic
* Author URI: https://woocommerce.com
* Author URI: https://woo.com/
* Text Domain: woo-gutenberg-products-block
* Requires at least: 6.4
* Requires PHP: 7.4

View File

@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Update the Woo Blocks docs to point to the correct Woo.com url

View File

@ -44,6 +44,8 @@ class Dropdown {
}"
);
$wrapper_class = 'multiple' === $select_type ? '' : 'single-selection';
ob_start();
?>
<div data-wc-interactive='<?php echo esc_attr( $namespace ); ?>'>
@ -100,7 +102,7 @@ class Dropdown {
</button>
</span>
<?php } ?>
<?php } ?>
<?php } ?>
<input
id="<?php echo esc_attr( $input_id ); ?>"
readonly