From 8ee74ede0ebc1957089af08207ae2a1a8250610e Mon Sep 17 00:00:00 2001 From: Leif Singer Date: Tue, 9 Apr 2024 10:50:15 +0200 Subject: [PATCH] Update Woo.com references to WooCommerce.com (#46259) * replace capitalized Woo.com with WooCommerce.com * replace http URLs * replace https URLs * replace developer.woo.com * add missing version in `@since` tag * unslash the HTTP_REFERER * WordPress.Security.ValidatedSanitizedInput.InputNotSanitized * add changelog file * add more changelog files * address linter errors * address more linter errors * fix test * more linter errors --- .github/CONTRIBUTING.md | 6 +- .github/ISSUE_TEMPLATE/1-bug-report.yml | 10 +- .github/ISSUE_TEMPLATE/config.yml | 4 +- .github/workflows/triage-replies.yml | 6 +- README.md | 12 +- SECURITY.md | 2 +- changelog.txt | 6 +- docs/README.md | 8 +- ...ing-a-custom-field-to-variable-products.md | 4 +- .../adjust-quantity-input-values.md | 2 +- .../customising-checkout-fields.md | 12 +- docs/contributing-docs/contributing-docs.md | 2 +- docs/contributing/common-issues.md | 2 +- docs/contributing/woocommerce-git-flow.md | 2 +- docs/data-management/data-stores.md | 2 +- docs/docs-manifest.json | 6 +- .../building-your-first-extension.md | 2 +- docs/extension-development/data-storage.md | 2 +- .../example-plugin-header-comment.md | 2 +- .../extension-development-best-practices.md | 4 +- ...-to-add-your-own-store-management-links.md | 2 +- .../how-to-design-a-simple-extension.md | 4 +- .../implementing-settings.md | 4 +- docs/extension-development/logging.md | 12 +- .../contributing-to-core-and-marketplace.md | 4 +- .../customizing-endpoint-urls.md | 6 +- .../development-environment.md | 6 +- .../troubleshooting-endpoints.md | 2 +- docs/high-performance-order-storage/README.md | 24 +-- .../enable-hpos.md | 6 +- .../guide-large-store.md | 6 +- .../translating-woocommerce.md | 16 +- docs/payments/payment-gateway-api.md | 8 +- ...product-editor-extensibility-guidelines.md | 12 +- .../core-critical-flows.md | 2 +- ...iting-high-quality-testing-instructions.md | 26 +-- .../extending-woocommerce-admin-reports.md | 18 +- docs/rest-api/getting-started.md | 14 +- docs/shipping/shipping-method-api.md | 6 +- .../classic-theme-developer-handbook.md | 2 +- docs/theme-development/conditional-tags.md | 2 +- .../fixing-outdated-woocommerce-templates.md | 4 +- .../theme-development/set-up-a-child-theme.md | 12 +- docs/theme-development/template-structure.md | 10 +- .../theme-design-ux-guidelines.md | 2 +- docs/ux-guidelines-extensions/README.md | 4 +- .../best-practices.md | 2 +- docs/ux-guidelines-extensions/colors.md | 2 +- docs/ux-guidelines-extensions/navigation.md | 4 +- docs/ux-guidelines-extensions/notices.md | 4 +- .../task-list-and-inbox.md | 10 +- .../payment-button-layout.md | 10 +- .../payment-button-size.md | 18 +- .../payment-button-style.md | 10 +- .../payments-onboarding.md | 4 +- ...product-editor-form-dialogue-extensions.md | 2 +- .../product-editor-form-fields.md | 2 +- .../product-editor-form-groups.md | 2 +- .../product-editor-form-sections.md | 2 +- .../product-editor-form-subsections.md | 2 +- .../product-editor-form-top-bar.md | 2 +- docs/ux-guidelines-themes/README.md | 2 +- package.json | 2 +- .../update-woo-com-to-woocommerce-com | 4 + .../js/components/src/dynamic-form/README.md | 4 +- .../js/components/src/link/stories/index.tsx | 8 +- .../js/components/src/link/test/index.tsx | 22 +-- .../js/components/src/list/stories/index.js | 12 +- packages/js/components/src/list/test/index.js | 24 +-- .../create-woo-extension/$slug.php.mustache | 4 +- .../update-woo-com-to-woocommerce-com | 4 + .../languages/woo-plugin-setup.pot.mustache | 2 +- packages/js/e2e-core-tests/README.md | 2 +- .../wp-admin-extensions-connect-wccom.test.js | 2 +- .../update-woo-com-to-woocommerce-com | 4 + .../src/inbox-note/test/inbox-note.tsx | 2 +- .../update-woo-com-to-woocommerce-com | 4 + .../src/components/WCPayCard/WCPayCard.tsx | 2 +- .../update-woo-com-to-woocommerce-com | 4 + .../details-feature-field.tsx | 2 +- .../update-woo-com-to-woocommerce-com | 4 + .../tests/fixtures/obw-free-extensions.json | 66 ++++---- .../fixtures/payment-gateway-suggestions.json | 112 ++++++------ .../fixtures/remote-inbox-notification.json | 62 +++---- .../shipping-partner-suggestions.json | 110 ++++++------ .../tests/fixtures/wc-pay-promotions.json | 8 +- .../update-woo-com-to-woocommerce-com | 4 + plugins/woo-ai/composer.json | 2 +- plugins/woo-ai/woo-ai.php | 2 +- .../client/activity-panel/panels/help.js | 70 ++++---- .../client/core-profiler/pages/IntroOptIn.tsx | 2 +- .../client/core-profiler/stories/Plugins.tsx | 9 +- .../core-profiler-machine.test.tsx.snap | 12 +- .../sidebar-navigation-screen-typography.tsx | 2 +- .../client/dashboard/components/cart-modal.js | 2 +- .../guided-tours/wc-addons-tour/get-steps.ts | 8 +- .../components/MobileAppInstallationInfo.tsx | 2 +- .../components/MobileAppLoginInfo.tsx | 2 +- .../CreateNewCampaignModal.test.tsx | 6 +- .../marketing/components/ReadBlogMessage.js | 2 +- .../coupons/knowledge-base/test/index.js | 8 +- .../recommended-extensions/test/index.js | 6 +- .../Campaigns/Campaigns.test.tsx | 4 +- .../DiscoverTools/DiscoverTools.test.tsx | 8 +- .../DiscoverTools/DiscoverTools.tsx | 2 +- .../LearnMarketing/LearnMarketing.test.tsx | 14 +- .../client/marketplace/README.md | 8 +- .../marketplace/components/constants.ts | 2 +- .../header-account/header-account.tsx | 5 +- .../install-new-product-modal.tsx | 6 +- .../my-subscriptions/my-subscriptions.tsx | 8 +- .../table/rows/actions-dropdown-menu.tsx | 4 +- .../product-card/product-card-footer.tsx | 2 +- .../install-woo-connect-modal.tsx | 4 +- .../plugin-install-notice.tsx | 4 +- .../client/marketplace/utils/functions.tsx | 4 +- .../client/payments-welcome/apms.tsx | 8 +- .../client/payments-welcome/faq-simple.tsx | 2 +- .../payments/payment-recommendations.tsx | 2 +- .../images-section/images-section-fills.tsx | 2 +- .../pricing-section/pricing-field-sale.tsx | 2 +- .../pricing-field-taxes-class.tsx | 2 +- .../pricing-section/pricing-section-fills.tsx | 2 +- .../sections/product-variations-section.tsx | 2 +- .../tour/block-editor/block-editor-guide.tsx | 2 +- .../flows/selective-bundle/index.js | 2 +- .../selective-extensions-bundle/index.js | 6 +- .../steps/product-types/test/index.js | 2 +- .../steps/product-types/test/product-type.js | 2 +- .../profile-wizard/steps/usage-modal.js | 2 +- .../settings/conflict-error-slotfill.js | 2 +- ...experimental-woocommerce-services-item.tsx | 2 +- .../shipping/shipping-recommendations.tsx | 2 +- .../shipping/woocommerce-services-item.tsx | 2 +- .../components/WCPay/UsageModal.js | 2 +- .../fills/PaymentGatewaySuggestions/index.js | 2 +- .../load-sample-product-confirm-modal.tsx | 2 +- .../fills/import-products/test/index.tsx | 2 +- .../task-lists/fills/products/test/index.tsx | 2 +- .../client/task-lists/fills/shipping/index.js | 2 +- .../task-lists/fills/tax/avalara/card.tsx | 2 +- .../tax/manual-configuration/configure.tsx | 2 +- .../beta-features-tracking-modal/container.js | 2 +- .../payment-method-promotions/index.tsx | 2 +- .../shipping-banner/index.js | 2 +- plugins/woocommerce-admin/docs/README.md | 2 +- .../docs/examples/activity-panel-inbox.md | 10 +- .../class-simpleinboxnote.php | 2 +- .../docs/features/core-profiler.md | 2 +- .../docs/features/onboarding.md | 18 +- .../docs/woocommerce.com/activity-panels.md | 4 +- .../update-woo-com-to-woocommerce-com | 4 + plugins/woocommerce-beta-tester/composer.json | 2 +- .../class-wc-beta-tester-admin-menus.php | 2 +- .../src/experiments/index.js | 2 +- .../woocommerce-beta-tester.php | 2 +- plugins/woocommerce-blocks/README.md | 2 +- .../js/blocks/attribute-filter/edit.tsx | 2 +- .../proceed-to-checkout-block/test/block.tsx | 4 +- .../js/blocks/classic-shortcode/index.tsx | 4 +- .../js/blocks/classic-template/README.md | 2 +- .../assets/js/blocks/price-filter/edit.tsx | 2 +- .../components/placeholder.tsx | 2 +- .../assets/js/blocks/products/edit-utils.js | 2 +- .../assets/js/editor-components/README.md | 2 +- .../stories/index.stories.tsx | 2 +- .../incompatible-extension-notice/index.tsx | 4 +- .../search-list-control/README.md | 2 +- .../sidebar-compatibility-notice/index.tsx | 2 +- .../assets/js/editor-components/tag/README.md | 2 +- .../text-toolbar-button/README.md | 2 +- .../pickup-location/location-settings.tsx | 2 +- .../assets/js/icons/README.md | 2 +- .../woocommerce-blocks/bin/add-doc-footer.sh | 2 +- plugins/woocommerce-blocks/composer.json | 2 +- plugins/woocommerce-blocks/docs/README.md | 22 +-- .../docs/contributors/README.md | 2 +- .../docs/contributors/block-assets.md | 2 +- .../docs/contributors/coding-guidelines.md | 2 +- .../docs/contributors/components.md | 2 +- .../docs/contributors/css-build-system.md | 2 +- .../contributors/documentation-guidelines.md | 2 +- .../docs/contributors/e2e-guidelines.md | 2 +- .../docs/contributors/folder-structure.md | 2 +- .../docs/contributors/getting-started.md | 2 +- .../contributors/javascript-build-system.md | 2 +- .../docs/contributors/javascript-testing.md | 2 +- .../contributors/storybook-and-components.md | 2 +- .../docs/designers/theming/README.md | 2 +- .../designers/theming/cart-and-checkout.md | 2 +- .../theming/class-names-update-280.md | 2 +- .../theming/class-names-update-330.md | 2 +- .../theming/class-names-update-340.md | 2 +- .../theming/class-names-update-460.md | 2 +- .../docs/designers/theming/filter-blocks.md | 2 +- .../designers/theming/product-grid-270.md | 2 +- .../rest-api/extend-rest-api-new-endpoint.md | 2 +- .../testing/cart-checkout/data-stores.md | 2 +- .../testing/cart-checkout/payment.md | 4 +- .../extensibility/README.md | 2 +- .../additional-checkout-fields.md | 2 +- .../checkout-block/available-filters.md | 2 +- ...itional-cart-checkout-inner-block-types.md | 2 +- .../available-filters/cart-line-items.md | 2 +- .../checkout-and-place-order-button.md | 2 +- .../available-filters/coupons.md | 2 +- .../available-filters/order-summary-items.md | 2 +- .../available-filters/totals-footer-item.md | 2 +- .../checkout-block/available-slot-fills.md | 2 +- .../checkout-block/dom-events.md | 2 +- .../how-checkout-processes-an-order.md | 2 +- .../checkout-block/integration-interface.md | 2 +- .../checkout-block/slot-fills.md | 2 +- .../checkout-flow-and-events.md | 2 +- .../filtering-payment-methods.md | 2 +- .../payment-method-integration.md | 2 +- .../extensibility/data-store/README.md | 2 +- .../extensibility/data-store/cart.md | 2 +- .../extensibility/data-store/checkout.md | 2 +- .../extensibility/data-store/collections.md | 2 +- .../extensibility/data-store/payment.md | 2 +- .../extensibility/data-store/query-state.md | 2 +- .../extensibility/data-store/schema.md | 2 +- .../extensibility/data-store/store-notices.md | 2 +- .../extensibility/data-store/validation.md | 2 +- .../extensibility/hooks/actions.md | 2 +- .../extensibility/hooks/filters.md | 2 +- .../rest-api/available-endpoints-to-extend.md | 2 +- .../extend-rest-api-add-custom-fields.md | 8 +- .../rest-api/extend-rest-api-add-data.md | 2 +- .../rest-api/extend-rest-api-formatters.md | 2 +- .../rest-api/extend-rest-api-update-cart.md | 2 +- .../packages/checkout/README.md | 2 +- .../checkout/blocks-registry/README.md | 2 +- .../packages/checkout/components/README.md | 2 +- .../checkout/filter-registry/README.md | 2 +- .../packages/checkout/slot/README.md | 2 +- .../packages/checkout/utils/README.md | 2 +- plugins/woocommerce-blocks/readme.txt | 8 +- .../woocommerce-blocks/storybook/README.md | 2 +- .../woocommerce/notices/error.php | 2 +- .../woocommerce/notices/notice.php | 2 +- .../woocommerce/notices/success.php | 2 +- .../woocommerce/notices/error.php | 2 +- .../woocommerce/notices/notice.php | 2 +- .../woocommerce/notices/success.php | 2 +- plugins/woocommerce/README.md | 6 +- .../changelog/add-store-connect-to-woocom | 2 +- .../update-woo-com-to-woocommerce-com | 4 + plugins/woocommerce/composer.json | 2 +- .../includes/admin/class-wc-admin-addons.php | 12 +- .../includes/admin/class-wc-admin-help.php | 14 +- .../class-wc-admin-marketplace-promotions.php | 6 +- .../includes/admin/class-wc-admin-notices.php | 4 +- .../admin/class-wc-admin-post-types.php | 2 +- .../admin/class-wc-admin-setup-wizard.php | 24 +-- .../admin/helper/class-wc-helper-admin.php | 6 +- .../admin/helper/class-wc-helper-api.php | 2 +- .../helper/class-wc-helper-orders-api.php | 4 +- .../admin/helper/class-wc-helper-updater.php | 14 +- .../includes/admin/helper/class-wc-helper.php | 24 +-- .../class-wc-woo-update-manager-plugin.php | 2 +- .../includes/admin/helper/views/html-main.php | 10 +- .../html-notice-woo-updater-not-activated.php | 2 +- .../html-notice-woo-updater-not-installed.php | 2 +- .../admin/helper/views/html-oauth-start.php | 4 +- .../helper/views/html-section-account.php | 4 +- .../admin/helper/views/html-section-nav.php | 2 +- .../class-wc-admin-list-table-coupons.php | 2 +- .../html-product-data-extensions.php | 4 +- .../class-wc-meta-box-coupon-data.php | 2 +- .../views/html-product-data-general.php | 2 +- .../views/html-product-data-inventory.php | 2 +- .../views/html-product-data-variations.php | 2 +- .../meta-boxes/views/html-variation-admin.php | 2 +- .../notes/class-wc-notes-run-db-update.php | 2 +- .../html-notice-untested-extensions-modal.php | 2 +- .../settings/class-wc-settings-advanced.php | 12 +- .../settings/class-wc-settings-emails.php | 2 +- .../class-wc-settings-payment-gateways.php | 2 +- .../settings/class-wc-settings-products.php | 6 +- .../html-admin-page-shipping-zone-methods.php | 2 +- .../admin/views/html-admin-page-addons.php | 6 +- .../admin/views/html-admin-page-reports.php | 2 +- .../views/html-admin-page-status-report.php | 12 +- ...html-notice-download-dir-sync-complete.php | 2 +- .../views/html-notice-legacy-shipping.php | 2 +- .../views/html-notice-no-shipping-methods.php | 2 +- .../views/html-notice-secure-connection.php | 2 +- .../views/html-notice-template-check.php | 2 +- .../admin/views/html-notice-update.php | 2 +- ...otice-uploads-directory-is-unprotected.php | 2 +- ...tml-notice-wp-php-minimum-requirements.php | 2 +- .../woocommerce/includes/class-wc-emails.php | 4 +- .../woocommerce/includes/class-wc-install.php | 12 +- .../includes/class-wc-product-download.php | 2 +- .../woocommerce/includes/class-wc-tracker.php | 2 +- .../includes/cli/class-wc-cli-com-command.php | 16 +- .../class-wc-cli-com-extension-command.php | 4 +- .../emails/class-wc-email-failed-order.php | 2 +- ...ass-wc-integration-maxmind-geolocation.php | 2 +- ...ss-wc-rest-system-status-v2-controller.php | 4 +- .../flat-rate/includes/settings-flat-rate.php | 4 +- .../class-wc-wccom-site-installer.php | 4 +- .../wccom-site/class-wc-wccom-site.php | 8 +- ...ite-installation-step-get-product-info.php | 2 +- ...-rest-wccom-site-installer-error-codes.php | 6 +- ...c-rest-wccom-site-installer-controller.php | 2 +- ...lass-wc-rest-wccom-site-ssr-controller.php | 2 +- plugins/woocommerce/package.json | 2 +- plugins/woocommerce/packages/README.md | 2 +- plugins/woocommerce/readme.txt | 68 ++++---- ...experimental_fashion_sample_9_products.csv | 18 +- .../Admin/API/OnboardingFreeExtensions.php | 2 +- .../src/Admin/API/OnboardingProfile.php | 4 +- .../src/Admin/API/OnboardingThemes.php | 12 +- plugins/woocommerce/src/Admin/API/Plugins.php | 18 +- .../DefaultMarketingRecommendations.php | 40 ++--- .../MarketingRecommendations/Init.php | 10 +- .../OnboardingTasks/Tasks/StoreConnect.php | 4 +- .../DefaultPaymentGateways.php | 2 +- .../DefaultShippingPartners.php | 6 +- .../Admin/Marketing/InstalledExtensions.php | 16 +- .../Blocks/Shipping/ShippingController.php | 2 +- .../Admin/Marketing/MarketingSpecs.php | 4 +- .../Internal/Admin/Notes/AddFirstProduct.php | 2 +- .../Internal/Admin/Notes/ChoosingTheme.php | 2 +- .../Admin/Notes/CustomizeStoreWithBlocks.php | 2 +- .../Admin/Notes/CustomizingProductCatalog.php | 2 +- .../src/Internal/Admin/Notes/EUVATNumber.php | 2 +- .../Admin/Notes/EditProductsOnTheMove.php | 2 +- .../Internal/Admin/Notes/LaunchChecklist.php | 2 +- .../Internal/Admin/Notes/MagentoMigration.php | 2 +- .../Admin/Notes/ManageOrdersOnTheGo.php | 2 +- .../Internal/Admin/Notes/MarketingJetpack.php | 2 +- .../Admin/Notes/MigrateFromShopify.php | 2 +- .../src/Internal/Admin/Notes/MobileApp.php | 2 +- .../Admin/Notes/OnboardingPayments.php | 2 +- .../Admin/Notes/OnlineClothingStore.php | 2 +- .../Internal/Admin/Notes/OrderMilestones.php | 4 +- .../Admin/Notes/PaymentsMoreInfoNeeded.php | 2 +- .../Admin/Notes/PerformanceOnMobile.php | 2 +- .../Admin/Notes/RealTimeOrderAlerts.php | 2 +- .../Admin/Notes/SellingOnlineCourses.php | 2 +- .../Internal/Admin/Notes/TrackingOptIn.php | 4 +- .../Admin/Notes/UnsecuredReportFiles.php | 4 +- .../Admin/Notes/WooCommercePayments.php | 2 +- .../Admin/Notes/WooCommerceSubscriptions.php | 2 +- .../Admin/Notes/WooSubscriptionsNotes.php | 16 +- .../Admin/Onboarding/OnboardingSync.php | 4 +- .../Admin/Onboarding/OnboardingThemes.php | 4 +- .../src/Internal/Admin/Orders/ListTable.php | 2 +- .../DefaultFreeExtensions.php | 32 ++-- .../ProductVariationTemplate.php | 10 +- .../SimpleProductTemplate.php | 14 +- .../Orders/MobileMessagingHandler.php | 8 +- .../src/Internal/WCCom/ConnectionHelper.php | 6 +- .../woocommerce/templates/archive-product.php | 2 +- plugins/woocommerce/templates/auth/footer.php | 2 +- .../templates/auth/form-grant-access.php | 2 +- .../woocommerce/templates/auth/form-login.php | 2 +- plugins/woocommerce/templates/auth/header.php | 2 +- .../woocommerce/templates/cart/cart-empty.php | 2 +- .../templates/cart/cart-item-data.php | 2 +- .../templates/cart/cart-shipping.php | 2 +- .../templates/cart/cart-totals.php | 2 +- plugins/woocommerce/templates/cart/cart.php | 2 +- .../templates/cart/cross-sells.php | 2 +- .../woocommerce/templates/cart/mini-cart.php | 2 +- .../cart/proceed-to-checkout-button.php | 2 +- .../templates/cart/shipping-calculator.php | 2 +- .../templates/checkout/cart-errors.php | 2 +- .../templates/checkout/form-billing.php | 2 +- .../templates/checkout/form-checkout.php | 2 +- .../templates/checkout/form-coupon.php | 2 +- .../templates/checkout/form-login.php | 2 +- .../templates/checkout/form-pay.php | 2 +- .../templates/checkout/form-shipping.php | 2 +- .../templates/checkout/form-verify-email.php | 2 +- .../templates/checkout/order-receipt.php | 2 +- .../templates/checkout/order-received.php | 2 +- .../templates/checkout/payment-method.php | 2 +- .../templates/checkout/payment.php | 2 +- .../templates/checkout/review-order.php | 2 +- .../templates/checkout/thankyou.php | 2 +- .../templates/content-product-cat.php | 2 +- .../woocommerce/templates/content-product.php | 2 +- .../templates/content-single-product.php | 2 +- .../templates/content-widget-price-filter.php | 2 +- .../templates/content-widget-product.php | 2 +- .../templates/content-widget-reviews.php | 2 +- .../emails/admin-cancelled-order.php | 2 +- .../templates/emails/admin-failed-order.php | 2 +- .../templates/emails/admin-new-order.php | 2 +- .../emails/customer-completed-order.php | 2 +- .../templates/emails/customer-invoice.php | 2 +- .../templates/emails/customer-new-account.php | 2 +- .../templates/emails/customer-note.php | 2 +- .../emails/customer-on-hold-order.php | 2 +- .../emails/customer-processing-order.php | 2 +- .../emails/customer-refunded-order.php | 2 +- .../emails/customer-reset-password.php | 2 +- .../templates/emails/email-addresses.php | 2 +- .../emails/email-customer-details.php | 2 +- .../templates/emails/email-downloads.php | 2 +- .../templates/emails/email-footer.php | 2 +- .../templates/emails/email-header.php | 2 +- .../emails/email-mobile-messaging.php | 2 +- .../templates/emails/email-order-details.php | 2 +- .../templates/emails/email-order-items.php | 2 +- .../templates/emails/email-styles.php | 2 +- .../emails/plain/admin-cancelled-order.php | 2 +- .../emails/plain/admin-failed-order.php | 2 +- .../emails/plain/admin-new-order.php | 2 +- .../emails/plain/customer-completed-order.php | 2 +- .../emails/plain/customer-invoice.php | 2 +- .../emails/plain/customer-new-account.php | 2 +- .../templates/emails/plain/customer-note.php | 2 +- .../emails/plain/customer-on-hold-order.php | 2 +- .../plain/customer-processing-order.php | 2 +- .../emails/plain/customer-refunded-order.php | 2 +- .../emails/plain/customer-reset-password.php | 2 +- .../emails/plain/email-addresses.php | 2 +- .../emails/plain/email-customer-details.php | 2 +- .../emails/plain/email-downloads.php | 2 +- .../emails/plain/email-order-details.php | 2 +- .../emails/plain/email-order-items.php | 2 +- .../templates/global/breadcrumb.php | 2 +- .../templates/global/form-login.php | 2 +- .../templates/global/quantity-input.php | 2 +- .../woocommerce/templates/global/sidebar.php | 2 +- .../templates/global/wrapper-end.php | 2 +- .../templates/global/wrapper-start.php | 2 +- .../templates/loop/add-to-cart.php | 2 +- .../woocommerce/templates/loop/loop-end.php | 2 +- .../woocommerce/templates/loop/loop-start.php | 2 +- .../templates/loop/no-products-found.php | 2 +- .../woocommerce/templates/loop/orderby.php | 2 +- .../woocommerce/templates/loop/pagination.php | 2 +- plugins/woocommerce/templates/loop/price.php | 2 +- plugins/woocommerce/templates/loop/rating.php | 2 +- .../templates/loop/result-count.php | 2 +- .../woocommerce/templates/loop/sale-flash.php | 2 +- .../templates/myaccount/dashboard.php | 2 +- .../templates/myaccount/downloads.php | 2 +- .../myaccount/form-add-payment-method.php | 2 +- .../templates/myaccount/form-edit-account.php | 2 +- .../templates/myaccount/form-edit-address.php | 2 +- .../templates/myaccount/form-login.php | 2 +- .../myaccount/form-lost-password.php | 2 +- .../myaccount/form-reset-password.php | 2 +- .../myaccount/lost-password-confirmation.php | 2 +- .../templates/myaccount/my-account.php | 2 +- .../templates/myaccount/my-address.php | 2 +- .../templates/myaccount/my-downloads.php | 2 +- .../templates/myaccount/navigation.php | 2 +- .../templates/myaccount/orders.php | 2 +- .../templates/myaccount/payment-methods.php | 2 +- .../templates/myaccount/view-order.php | 2 +- .../woocommerce/templates/notices/error.php | 2 +- .../woocommerce/templates/notices/notice.php | 2 +- .../woocommerce/templates/notices/success.php | 2 +- .../templates/order/form-tracking.php | 2 +- .../templates/order/order-again.php | 2 +- .../order/order-details-customer.php | 2 +- .../templates/order/order-details-item.php | 2 +- .../templates/order/order-details.php | 2 +- .../templates/order/order-downloads.php | 2 +- .../woocommerce/templates/order/tracking.php | 2 +- .../templates/product-searchform.php | 2 +- .../templates/single-product-reviews.php | 2 +- .../woocommerce/templates/single-product.php | 2 +- .../single-product/add-to-cart/external.php | 2 +- .../single-product/add-to-cart/grouped.php | 2 +- .../single-product/add-to-cart/simple.php | 2 +- .../single-product/add-to-cart/variable.php | 2 +- .../variation-add-to-cart-button.php | 2 +- .../single-product/add-to-cart/variation.php | 2 +- .../templates/single-product/meta.php | 2 +- .../templates/single-product/photoswipe.php | 2 +- .../templates/single-product/price.php | 2 +- .../single-product/product-attributes.php | 2 +- .../single-product/product-image.php | 2 +- .../single-product/product-thumbnails.php | 2 +- .../templates/single-product/rating.php | 2 +- .../templates/single-product/related.php | 2 +- .../templates/single-product/review-meta.php | 2 +- .../single-product/review-rating.php | 2 +- .../templates/single-product/review.php | 2 +- .../templates/single-product/sale-flash.php | 2 +- .../templates/single-product/share.php | 2 +- .../single-product/short-description.php | 2 +- .../templates/single-product/stock.php | 2 +- .../tabs/additional-information.php | 2 +- .../single-product/tabs/description.php | 2 +- .../templates/single-product/tabs/tabs.php | 2 +- .../templates/single-product/title.php | 2 +- .../templates/single-product/up-sells.php | 2 +- .../templates/taxonomy-product-attribute.php | 2 +- .../templates/taxonomy-product-cat.php | 2 +- .../templates/taxonomy-product-tag.php | 2 +- .../tests/settings/settings-crud.test.js | 10 +- .../helpers/class-wc-helper-product.php | 2 +- .../class-wc-tests-notes-run-db-update.php | 2 +- .../unit-tests/formatting/functions.php | 4 +- .../legacy/unit-tests/importer/product.php | 4 +- .../legacy/unit-tests/importer/sample.csv | 2 +- .../rest-api/Helpers/ProductHelper.php | 2 +- .../rest-api/Tests/Version2/products.php | 2 +- .../rest-api/Tests/Version3/products.php | 2 +- .../rest-api/Tests/Version3/system-status.php | 2 +- .../legacy/unit-tests/util/api-functions.php | 2 +- .../tests/legacy/unit-tests/webhooks/crud.php | 2 +- .../woocommerce-admin/api/admin-notes.php | 4 +- .../admin/helper/class-wc-helper-api.php | 2 +- .../tests/php/includes/importer/sample.csv | 2 +- .../API/MarketingRecommendationsTest.php | 12 +- .../Orders/MobileMessagingHandlerTest.php | 8 +- plugins/woocommerce/woocommerce.php | 4 +- .../src/lib/__tests__/fixtures/diff.txt | 160 +++++++++--------- tools/release-posts/README.md | 4 +- .../release-post/release-post-beta.ts | 2 +- tools/release-posts/templates/release.ejs | 2 +- 523 files changed, 1323 insertions(+), 1277 deletions(-) create mode 100644 packages/js/components/changelog/update-woo-com-to-woocommerce-com create mode 100644 packages/js/create-woo-extension/changelog/update-woo-com-to-woocommerce-com create mode 100644 packages/js/experimental/changelog/update-woo-com-to-woocommerce-com create mode 100644 packages/js/onboarding/changelog/update-woo-com-to-woocommerce-com create mode 100644 packages/js/product-editor/changelog/update-woo-com-to-woocommerce-com create mode 100644 packages/php/remote-specs-validation/changelog/update-woo-com-to-woocommerce-com create mode 100644 plugins/woo-ai/changelog/update-woo-com-to-woocommerce-com create mode 100644 plugins/woocommerce-beta-tester/changelog/update-woo-com-to-woocommerce-com create mode 100644 plugins/woocommerce/changelog/update-woo-com-to-woocommerce-com diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 5280efb46ba..95e5ff6cfb5 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -7,7 +7,7 @@ There are many ways to contribute to the project! - [Translating strings into your language](https://github.com/woocommerce/woocommerce/wiki/Translating-WooCommerce). - Answering questions on the various WooCommerce communities like the [WP.org support forums](https://wordpress.org/support/plugin/woocommerce/). - Testing open [issues](https://github.com/woocommerce/woocommerce/issues) or [pull requests](https://github.com/woocommerce/woocommerce/pulls) and sharing your findings in a comment. -- Testing WooCommerce beta versions and release candidates. Those are announced in the [WooCommerce development blog](https://developer.woo.com/blog/). +- Testing WooCommerce beta versions and release candidates. Those are announced in the [WooCommerce development blog](https://developer.woocommerce.com/blog/). - Submitting fixes, improvements, and enhancements. - To disclose a security issue to our team, [please submit a report via HackerOne](https://hackerone.com/automattic/). @@ -17,7 +17,7 @@ We use the `good first issue` label to mark issues that are suitable for new con WooCommerce is licensed under the GPLv3+, and all contributions to the project will be released under the same license. You maintain copyright over any contribution you make, and by submitting a pull request, you are agreeing to release that contribution under the GPLv3+ license. -If you have questions about the process to contribute code or want to discuss details of your contribution, you can contact WooCommerce core developers on the #core channel in the [WooCommerce community Slack](https://woo.com/community-slack/). +If you have questions about the process to contribute code or want to discuss details of your contribution, you can contact WooCommerce core developers on the #core channel in the [WooCommerce community Slack](https://woocommerce.com/community-slack/). ## Getting started @@ -53,6 +53,6 @@ If you are contributing code to our (Javascript-driven) Gutenberg blocks, please ## Feature Requests 🚀 -The best place to submit feature requests is over on our [dedicated feature request page](https://woo.com/feature-requests/woocommerce/). You can easily search and vote for existing requests, or create new requests if necessary. +The best place to submit feature requests is over on our [dedicated feature request page](https://woocommerce.com/feature-requests/woocommerce/). You can easily search and vote for existing requests, or create new requests if necessary. Alternatively, if you wish to propose a straightforward technical enhancement that is unlikely to require much discussion, you can [open a new issue](https://github.com/woocommerce/woocommerce/issues/new?assignees=&labels=type%3A+enhancement%2Cstatus%3A+awaiting+triage&template=2-enhancement.yml&title=%5BEnhancement%5D%3A+) right here on GitHub and, for any that may require more discussion, consider syncing with us during office hours or publishing a thread on [GitHub Discussions](https://github.com/woocommerce/woocommerce/discussions). diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.yml b/.github/ISSUE_TEMPLATE/1-bug-report.yml index 4622866f2c9..2e429ca9290 100644 --- a/.github/ISSUE_TEMPLATE/1-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/1-bug-report.yml @@ -12,10 +12,10 @@ body: While our goal is to address all the issues reported in this repository, GitHub should be treated as a place to report confirmed bugs only. - If you have a support request or custom code related question please follow one of the steps below: - - Review [WooCommerce Self-Service Guide](https://woo.com/document/woocommerce-self-service-guide/) to see if the solutions listed there apply to your case; - - If you are a paying customer of WooCommerce, contact WooCommerce support by [opening a ticket or starting a live chat](https://woo.com/contact-us/); + - Review [WooCommerce Self-Service Guide](https://woocommerce.com/document/woocommerce-self-service-guide/) to see if the solutions listed there apply to your case; + - If you are a paying customer of WooCommerce, contact WooCommerce support by [opening a ticket or starting a live chat](https://woocommerce.com/contact-us/); - Make a post on [WooCommerce community forum](https://wordpress.org/support/plugin/woocommerce/) - - To get help on custom code questions go to the [WooCommerce Community Slack](https://woo.com/community-slack/) and visit the `#developers` channel. + - To get help on custom code questions go to the [WooCommerce Community Slack](https://woocommerce.com/community-slack/) and visit the `#developers` channel. Make sure to look through the [existing `type: bug` issues](https://github.com/woocommerce/woocommerce/issues?q=is%3Aopen+is%3Aissue+label%3A%22type%3A+bug%22) to see whether your bug has already been submitted. Feel free to contribute to any existing issues. @@ -71,7 +71,7 @@ body: attributes: label: WordPress Environment description: | - We use the [WooCommerce System Status Report](https://woo.com/document/understanding-the-woocommerce-system-status-report/) to help us evaluate the issue. + We use the [WooCommerce System Status Report](https://woocommerce.com/document/understanding-the-woocommerce-system-status-report/) to help us evaluate the issue. Without this report we won't be able to fully evaluate this issue. placeholder: | The System Status Report is found in your WordPress admin under **WooCommerce > Status**. @@ -89,7 +89,7 @@ body: You will then need to enable it one by one and test every time you do that in order to figure out which plugin is causing the issue. options: - label: I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active. - - label: This bug happens with a default WordPress theme active, or [Storefront](https://woo.com/products/storefront/). + - label: This bug happens with a default WordPress theme active, or [Storefront](https://woocommerce.com/products/storefront/). - label: I can reproduce this bug consistently using the steps above. validations: required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index f5a18a13ed8..ad1ca0d5260 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: true contact_links: - name: Feature Requests - url: https://woo.com/feature-requests/woocommerce/ + url: https://woocommerce.com/feature-requests/woocommerce/ about: If you have an idea for a new feature that you wished existed in WooCommerce, take a look at our Feature Requests and vote, or open a new Feature Request yourself! - name: 🔒 Security issue url: https://hackerone.com/automattic/ about: For security reasons, please report all security issues via HackerOne. If the issue is valid, a bug bounty will be paid out to you. Please disclose responsibly and not via GitHub (which allows for exploiting issues in the wild before the patch is released). - name: ❓ Support Question - url: https://woo.com/document/woocommerce-self-service-guide/ + url: https://woocommerce.com/document/woocommerce-self-service-guide/ about: If you have a question please see our docs or use our forums, helpdesk, or Slack community! diff --git a/.github/workflows/triage-replies.yml b/.github/workflows/triage-replies.yml index 09bd441ed09..795791c021e 100644 --- a/.github/workflows/triage-replies.yml +++ b/.github/workflows/triage-replies.yml @@ -66,10 +66,10 @@ jobs: GitHub should be treated as a place to report confirmed bugs only.\n\n\ The type of issue you submitted looks like a support request which may or may not reveal a bug once proper \ troubleshooting is done. In order to confirm the bug, please follow one of the steps below:\n\n\ - - Review [WooCommerce Self-Service Guide](https://woo.com/document/woocommerce-self-service-guide/) \ + - Review [WooCommerce Self-Service Guide](https://woocommerce.com/document/woocommerce-self-service-guide/) \ to see if the solutions listed there apply to your case;\n\ - If you are a paying customer of WooCommerce, contact WooCommerce support by \ - [opening a ticket or starting a live chat](https://woo.com/contact-us/);\n\ + [opening a ticket or starting a live chat](https://woocommerce.com/contact-us/);\n\ - Make a post on [WooCommerce community forum](https://wordpress.org/support/plugin/woocommerce/)\n\n\ If you confirm the bug, please provide us with clear steps to reproduce it.\n\n\ We are closing this issue for now as it seems to be a support request and not a bug. \ @@ -153,7 +153,7 @@ jobs: A clear and concise description of what you expected to happen.\n\n\ **Isolating the problem (mark completed items with an [x]):**\n\n\ - [ ] I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.\n\ - - [ ] This bug happens with a default WordPress theme active, or [Storefront](https://woo.com/products/storefront/).\n\ + - [ ] This bug happens with a default WordPress theme active, or [Storefront](https://woocommerce.com/products/storefront/).\n\ - [ ] I can reproduce this bug consistently using the steps above.\n\n\ **WordPress Environment**\n\n\ Copy and paste the system status report from **WooCommerce > System Status** in WordPress admin." diff --git a/README.md b/README.md index c3186e2e4c6..a0dc78caa81 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # WooCommerce Monorepo -![WooCommerce](https://woo.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) +![WooCommerce](https://woocommerce.com/wp-content/themes/woo/images/logo-woocommerce@2x.png) Welcome to the WooCommerce Monorepo on GitHub. Here you can find all of the plugins, packages, and tools used in the development of the core WooCommerce plugin as well as WooCommerce extensions. You can browse the source, look at open issues, contribute code, and keep tracking of ongoing development. -We recommend all developers to follow the [WooCommerce development blog](https://developer.woo.com/blog/) to stay up to date about everything happening in the project. You can also [follow @DevelopWC](https://twitter.com/DevelopWC) on Twitter for the latest development updates. +We recommend all developers to follow the [WooCommerce development blog](https://developer.woocommerce.com/blog/) to stay up to date about everything happening in the project. You can also [follow @DevelopWC](https://twitter.com/DevelopWC) on Twitter for the latest development updates. ## Getting Started @@ -47,17 +47,17 @@ To disclose a security issue to our team, [please submit a report via HackerOne This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels: -- If you have a problem, you may want to start with the [self help guide](https://woo.com/document/woocommerce-self-service-guide/). -- The [Woo.com premium support portal](https://woo.com/contact-us/) for customers who have purchased themes or extensions. +- If you have a problem, you may want to start with the [self help guide](https://woocommerce.com/document/woocommerce-self-service-guide/). +- The [WooCommerce.com premium support portal](https://woocommerce.com/contact-us/) for customers who have purchased themes or extensions. - [Our community forum on wp.org](https://wordpress.org/support/plugin/woocommerce) which is available for all WooCommerce users. - [The Official WooCommerce Facebook Group](https://www.facebook.com/groups/advanced.woocommerce). -- For customizations, you may want to check our list of [WooExperts](https://woo.com/experts/) or [Codeable](https://codeable.io/). +- For customizations, you may want to check our list of [WooExperts](https://woocommerce.com/experts/) or [Codeable](https://codeable.io/). NOTE: Unfortunately, we are unable to honor support requests in issues on this repository; as a result, any requests submitted in this manner will be closed. ## Community -For peer to peer support, real-time announcements, and office hours, please [join our slack community](https://woo.com/community-slack/)! +For peer to peer support, real-time announcements, and office hours, please [join our slack community](https://woocommerce.com/community-slack/)! ## Contributing to WooCommerce diff --git a/SECURITY.md b/SECURITY.md index 407cb29714b..9b2d5a752b5 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,7 +16,7 @@ Our most critical targets are: * WooCommerce core (this repository) * WooCommerce [Blocks](https://wordpress.org/plugins/woo-gutenberg-products-block/) and [Admin](https://wordpress.org/plugins/woocommerce-admin/) packages and plugins -* Woo.com -- the primary marketplace and marketing site, and all of it subdomains, e.g. [developer.woo.com](https://developer.woo.com/) +* WooCommerce.com -- the primary marketplace and marketing site, and all of it subdomains, e.g. [developer.woo.com](https://developer.woocommerce.com/) * WordPress.com -- hosted WooCommerce for Business and eCommerce offering on WordPress.com. For more targets, see the `In Scope` section on [HackerOne](https://hackerone.com/automattic). diff --git a/changelog.txt b/changelog.txt index e475913fd05..689d9c110cc 100644 --- a/changelog.txt +++ b/changelog.txt @@ -74,7 +74,7 @@ * Add - Add functionality to navigate between Product Gallery image thumbnails with the keyboard. [#44236](https://github.com/woocommerce/woocommerce/pull/44236) * Add - Add legacy data cleanup process for HPOS. [#43293](https://github.com/woocommerce/woocommerce/pull/43293) * Add - Add new "can receive cancelled order email" test [#43985](https://github.com/woocommerce/woocommerce/pull/43985) -* Add - Adds logic to display notices of promotions from Woo.com on in-app marketplace pages [#44840](https://github.com/woocommerce/woocommerce/pull/44840) +* Add - Adds logic to display notices of promotions from WooCommerce.com on in-app marketplace pages [#44840](https://github.com/woocommerce/woocommerce/pull/44840) * Add - Add structured metadata to grouped products. [#42808](https://github.com/woocommerce/woocommerce/pull/42808) * Add - Adds `wp wc hpos backfill` tool to backfill from/to either order datastore. [#44281](https://github.com/woocommerce/woocommerce/pull/44281) * Add - Add test to check product reviews. [#44077](https://github.com/woocommerce/woocommerce/pull/44077) @@ -139,7 +139,7 @@ * Dev - Add php unit watcher and update unit test docs [#44681](https://github.com/woocommerce/woocommerce/pull/44681) * Dev - Adds e2e tests for the creation of all coupon types (merchant) [#44671](https://github.com/woocommerce/woocommerce/pull/44671) * Dev - Adds e2e tests for user account email flows [#44622](https://github.com/woocommerce/woocommerce/pull/44622) -* Dev - Adds logic to get notices of promotions from Woo.com endpoint, and (if necessary) show a bubble next to the WooCommerce "Extensions" menu item. [#44655](https://github.com/woocommerce/woocommerce/pull/44655) +* Dev - Adds logic to get notices of promotions from WooCommerce.com endpoint, and (if necessary) show a bubble next to the WooCommerce "Extensions" menu item. [#44655](https://github.com/woocommerce/woocommerce/pull/44655) * Dev - Add some missing core contributors to the contributors list. [#44740](https://github.com/woocommerce/woocommerce/pull/44740) * Dev - Adds tests for the creation of restricted coupons [#44716](https://github.com/woocommerce/woocommerce/pull/44716) * Dev - Add `queryContextIncludes` attribute to Product Collection block [#44150](https://github.com/woocommerce/woocommerce/pull/44150) @@ -8837,7 +8837,7 @@ * Fix - Datepicker range for variations. = 2.3.12 - 2015-07-06 = -* Fix - Fixed Google Chrome forcing to use SSL. This can cause some issues on websites behind load balancers or reverse proxies. [Read more](https://woo.com/document/ssl-and-https/#websites-behind-load-balancers-or-reverse-proxies). +* Fix - Fixed Google Chrome forcing to use SSL. This can cause some issues on websites behind load balancers or reverse proxies. [Read more](https://woocommerce.com/document/ssl-and-https/#websites-behind-load-balancers-or-reverse-proxies). * Fix - Escaped shop url in empty cart template. * Fix - Escaped product tabs titles. * Fix - Removed deprecated PHP4 constructor on Widget classes. diff --git a/docs/README.md b/docs/README.md index c4d6d2ff771..4597f44a796 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,13 +30,13 @@ The WooCommerce ecosystem thrives on community contributions. Whether it's impro ## Support - To request a **new document, correction, or improvement**, [create an issue](https://github.com/woocommerce/woodocs/issues/new/choose). -- For development help, start with the [WooCommerce Community Forum](https://wordpress.org/support/plugin/woocommerce/), to see if someone else has already asked the same question. You can also pose your question in the `#developers` channel of our [Community Slack](https://woo.com/community-slack/). If you're not sure where to ask your question, you can always [contact us](https://woo.com/contact-us/), and our Happiness Engineers will be glad to point you in the right direction. -- For additional support with customizations, you might consider hiring from [WooExperts](https://woo.com/experts/) or [Codeable](https://codeable.io/). +- For development help, start with the [WooCommerce Community Forum](https://wordpress.org/support/plugin/woocommerce/), to see if someone else has already asked the same question. You can also pose your question in the `#developers` channel of our [Community Slack](https://woocommerce.com/community-slack/). If you're not sure where to ask your question, you can always [contact us](https://woocommerce.com/contact-us/), and our Happiness Engineers will be glad to point you in the right direction. +- For additional support with customizations, you might consider hiring from [WooExperts](https://woocommerce.com/experts/) or [Codeable](https://codeable.io/). ### Additional Resources -- [WooCommerce Official Website](https://woo.com/) -- [Woo Marketplace](https://woo.com/marketplace) +- [WooCommerce Official Website](https://woocommerce.com/) +- [Woo Marketplace](https://woocommerce.com/marketplace) - All [WooCommerce Repositories on GitHub](https://woocommerce.github.io/) ### Other documentation diff --git a/docs/building-a-woo-store/adding-a-custom-field-to-variable-products.md b/docs/building-a-woo-store/adding-a-custom-field-to-variable-products.md index 24d69949c3d..382c16cb4fb 100644 --- a/docs/building-a-woo-store/adding-a-custom-field-to-variable-products.md +++ b/docs/building-a-woo-store/adding-a-custom-field-to-variable-products.md @@ -10,7 +10,7 @@ The [full plugin code](https://github.com/EdithAllison/woo-product-custom-fields ## Prerequisites -To do this tutorial you will need to have a WordPress install with the WooCommerce plugin activated, and you will need at least one [simple product set up](https://woo.com/document/managing-products/), or you can [import the WooCommerce sample product range](https://woo.com/document/importing-woocommerce-sample-data/). +To do this tutorial you will need to have a WordPress install with the WooCommerce plugin activated, and you will need at least one [simple product set up](https://woocommerce.com/document/managing-products/), or you can [import the WooCommerce sample product range](https://woocommerce.com/document/importing-woocommerce-sample-data/). ## Setting up the plugin @@ -205,7 +205,7 @@ Below is a bonus task if you are interested in variable products. Feel free to c ## How to handle variable products? -The above example was done with a simple product. But what if we have variations, for example, a T-Shirt in multiple sizes and we wanted to store different stock information for each variant? WooCommerce lets us do that with the [variable product type](https://woo.com/document/variable-product/). +The above example was done with a simple product. But what if we have variations, for example, a T-Shirt in multiple sizes and we wanted to store different stock information for each variant? WooCommerce lets us do that with the [variable product type](https://woocommerce.com/document/variable-product/). A variable product type has variations as its children. To add a custom field to a variation, we can use the `woocommerce_variation_options_inventory` hook, and to save `woocommerce_save_product_variation` so let's update our `hooks()` method with the new action hooks like so: diff --git a/docs/code-snippets/adjust-quantity-input-values.md b/docs/code-snippets/adjust-quantity-input-values.md index 41a333e3b04..3a83a7cb7a7 100644 --- a/docs/code-snippets/adjust-quantity-input-values.md +++ b/docs/code-snippets/adjust-quantity-input-values.md @@ -47,4 +47,4 @@ if ( ! function_exists( 'YOUR_PREFIX_woocommerce_available_variation' ) ) { } ``` -If you are looking for a little more power, check out our [Min/Max Quantities](https://woo.com/products/minmax-quantities) extension! +If you are looking for a little more power, check out our [Min/Max Quantities](https://woocommerce.com/products/minmax-quantities) extension! diff --git a/docs/code-snippets/customising-checkout-fields.md b/docs/code-snippets/customising-checkout-fields.md index 7406b6e83ad..379a5af0135 100644 --- a/docs/code-snippets/customising-checkout-fields.md +++ b/docs/code-snippets/customising-checkout-fields.md @@ -3,7 +3,7 @@ post_title: Customizing checkout fields using actions and filters tags: code-snippet --- -If you are unfamiliar with code and resolving potential conflicts, we have an extension that can help: [WooCommerce Checkout Field Editor](https://woo.com/products/woocommerce-checkout-field-editor/). Installing and activating this extension overrides any code below that you try to implement; and you cannot have custom checkout field code in your functions.php file when the extension is activated. +If you are unfamiliar with code and resolving potential conflicts, we have an extension that can help: [WooCommerce Checkout Field Editor](https://woocommerce.com/products/woocommerce-checkout-field-editor/). Installing and activating this extension overrides any code below that you try to implement; and you cannot have custom checkout field code in your functions.php file when the extension is activated. Custom code should be copied into your child theme's **functions.php** file. @@ -206,7 +206,7 @@ The priority argument is set during the [add_action](https://developer.wordpress In the example below, blue text is the name of the hook we're modifying, green text is the name of our custom function, and red is the priority we set. -![Setting priority for the hooked function](https://developer.woo.com/wp-content/uploads/2023/12/priority-markup.png) +![Setting priority for the hooked function](https://developer.woocommerce.com/wp-content/uploads/2023/12/priority-markup.png) ## Examples @@ -295,7 +295,7 @@ function my_custom_checkout_field_display_admin_order_meta($order){ } ``` -![adding custom sthipping and billing fields](https://developer.woo.com/wp-content/uploads/2023/12/Webp-to-PNG-Shipping-Field-Hook.png) +![adding custom sthipping and billing fields](https://developer.woocommerce.com/wp-content/uploads/2023/12/Webp-to-PNG-Shipping-Field-Hook.png) It's alive! @@ -333,7 +333,7 @@ function my_custom_checkout_field( $checkout ) { This gives us: -![WooCommerce Codex - Checkout Field Hook](https://developer.woo.com/wp-content/uploads/2023/12/WooCommerce-Codex-Checkout-Field-Hook.png) +![WooCommerce Codex - Checkout Field Hook](https://developer.woocommerce.com/wp-content/uploads/2023/12/WooCommerce-Codex-Checkout-Field-Hook.png) Next we need to validate the field when the checkout form is posted. For this example the field is required and not optional: @@ -353,7 +353,7 @@ function my_custom_checkout_field_process() { A checkout error is displayed if the field is blank: -![WooCommerce Codex - Checkout Field Notice](https://developer.woo.com/wp-content/uploads/2023/12/WooCommerce-Codex-Checkout-Field-Notice.png) +![WooCommerce Codex - Checkout Field Notice](https://developer.woocommerce.com/wp-content/uploads/2023/12/WooCommerce-Codex-Checkout-Field-Notice.png) Finally, let's save the new field to order custom fields using the following code: @@ -389,7 +389,7 @@ function my_custom_checkout_field_display_admin_order_meta( $order ){ This is the result: -![checkout_field_custom_field_admin](https://developer.woo.com/wp-content/uploads/2023/12/checkout_field_custom_field_admin.png) +![checkout_field_custom_field_admin](https://developer.woocommerce.com/wp-content/uploads/2023/12/checkout_field_custom_field_admin.png) ### Make phone number not required diff --git a/docs/contributing-docs/contributing-docs.md b/docs/contributing-docs/contributing-docs.md index fbae8e53da9..9d4a0224c67 100644 --- a/docs/contributing-docs/contributing-docs.md +++ b/docs/contributing-docs/contributing-docs.md @@ -66,7 +66,7 @@ tags: tag1, tag2, tag3 To help reduce sidebar clutter, you can optionally tag content types in Front Matter. The supported tags are `reference`, `how-to`, and `code-snippet`. Content tagged with one of these types will appear under a sub-heading in its category on the sidebar and on the category's page. Untagged pages will appear at the top of the category. -![Untagged docs appear at the top of the sidebar and category page, and tagged docs appear under with a heading](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/CleanShot-2024-01-15-at-14.01.16@2x.png) +![Untagged docs appear at the top of the sidebar and category page, and tagged docs appear under with a heading](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/CleanShot-2024-01-15-at-14.01.16@2x.png) Tags other than `reference`, `how-to` and `code-snippet` will function like regular WordPress tags. While you're welcome to include any tags you think are relevant, you should only tag a page with a maximum of one of the three special tags. diff --git a/docs/contributing/common-issues.md b/docs/contributing/common-issues.md index 4744437d1e4..c27e2e04a86 100644 --- a/docs/contributing/common-issues.md +++ b/docs/contributing/common-issues.md @@ -80,7 +80,7 @@ Add this to `wp-config.php`: define( 'WCPAY_DEV_MODE', true ); ``` -Also see [this document](https://woo.com/document/payments/testing/dev-mode). +Also see [this document](https://woocommerce.com/document/payments/testing/dev-mode). ## WooCommerce Admin install timestamp diff --git a/docs/contributing/woocommerce-git-flow.md b/docs/contributing/woocommerce-git-flow.md index 27df948a27b..f21cbf20e37 100644 --- a/docs/contributing/woocommerce-git-flow.md +++ b/docs/contributing/woocommerce-git-flow.md @@ -6,7 +6,7 @@ tags: reference For core development, we use the following structure and flow. -![Git Flow WooCommerce uses for core development](https://developer.woo.com/wp-content/uploads/2023/12/flow-1.png) +![Git Flow WooCommerce uses for core development](https://developer.woocommerce.com/wp-content/uploads/2023/12/flow-1.png) ## Branches diff --git a/docs/data-management/data-stores.md b/docs/data-management/data-stores.md index 42f232d260f..9f3f6baa77b 100644 --- a/docs/data-management/data-stores.md +++ b/docs/data-management/data-stores.md @@ -267,7 +267,7 @@ Does your extension create a new product type? Each product type has a data stor For example, the external product data store handles "button text" and "external URL". The variable data store handles the relationship between parent products and their variations. -Check out [this walkthrough](https://developer.woo.com/2017/02/06/wc-2-7-extension-compatibility-examples-3-bookings/) for more information on this process. +Check out [this walkthrough](https://developer.woocommerce.com/2017/02/06/wc-2-7-extension-compatibility-examples-3-bookings/) for more information on this process. ### Data store for custom data diff --git a/docs/docs-manifest.json b/docs/docs-manifest.json index 25a944709cb..8ec9fdfd2a2 100644 --- a/docs/docs-manifest.json +++ b/docs/docs-manifest.json @@ -566,7 +566,7 @@ "categories": [] }, { - "content": "\nWooCommerce has traditionally stored store orders and related order information (like refunds) as custom WordPress post types or post meta records. This comes with performance issues.\n\n[High-Performance Order Storage (HPOS)](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) also previously known as \"Custom Order Tables\" is a solution that provides an easy-to-understand and solid database structure - specifically designed for eCommerce needs. It uses the WooCommerce CRUD design to store order data in custom tables - optimized for WooCommerce queries with minimal impact on the store's performance.\n\nIn January 2022, we published the [initial plan for the Custom Order Tables feature](https://developer.woo.com/2022/01/17/the-plan-for-the-woocommerce-custom-order-table/) and since then, we've been working hard to bring the High-Performance Order Storage (HPOS) to WooCommerce Core. In May 2022, we invited you to [test the order migration process](https://developer.woo.com/2022/05/16/call-for-early-testing-custom-order-table-migrations/) and provide feedback on how our initial work performs on real stores of varied configurations.\n\nFrom WooCommerce 8.2, released on October 2023, [High-Performance Order Storage (HPOS)](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) is officially released under the stable flag and will be enabled by default for new installations.\n\n## What's New with High-Performance Order Storage?\n\nBringing High-Performance Order Storage (HPOS) to WooCommerce improves these three essential properties for eCommerce stores.\n\n### Scalability\n\nThe rise in the number of customers and customer orders increases the load on your store's database - making it difficult to handle customer order requests and deliver a seamless user experience.\n\nWith High-Performance Order Storage, you get dedicated tables for data like orders and order addresses and thus dedicated indexes which results in fewer read/write operations and fewer busy tables. This feature enables eCommerce stores of all shapes and sizes to scale their business to their maximum potential - without expert intervention.\n\n### Reliability\n\nHigh-Performance Order Storage makes implementing and restoring targeted data backup easier. You'll no longer need to worry about losing orders, inventory numbers, or client information with reliable backup in these custom order tables. It'll also facilitate implementing read/write locks and prevent race conditions.\n\n### Simplicity\n\nYou no longer have to go through a single huge database to locate underlying data and WooCommerce entries.\n\nWith High-Performance Order Storage, you can easily browse through the separate tables and easy-to-handle entries, independent of the table `_posts`, to find data or understand the table structure. It also lets you easily develop new plugins, implement designs for shops and products, and modify WooCommerce with more flexibility.\n\n## Background\n\nBefore the release of version 8.2, WooCommerce relied on the `_post` and `_postmeta` table structures to store order information, which has served well over the years.\n\nHowever, High-Performance Order Storage introduces dedicated tables for data like orders and order addresses and thus dedicated indexes which results in fewer read/write operations and fewer busy tables. This feature enables eCommerce stores of all shapes and sizes to scale their business to their maximum potential - without expert intervention.\n\nThe order data is synced from `_posts` and `_postmeta` table to four custom order tables:\n\n1. `_wc_orders`\n2. `_wc_order_addresses`\n3. `_wc_order_operational_data`\n4. `_wc_orders_meta`\n\n\n## Enabling the feature\n\nFrom 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)\n\n## Database tables\n\nA number of database tables are used to store order data by HPOS. The `get_all_table_names` method in [the OrdersTableDataStore class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php) will return the names of all the tables.\n\n## Authoritative tables\n\nAt any given time, while the HPOS feature is enabled, there are two roles for the involved database tables: _authoritative_ and _backup_. The authoritative tables are the working tables, where order data will be stored to and retrieved from during normal operation of the store. The _backup_ tables will receive a copy of the authoritative data whenever [synchronization](#synchronization) happens.\n\nIf the `woocommerce_custom_orders_table_enabled` options is set to true, HPOS is active and [the new tables](#database-tables) are authoritative, while the posts and post meta tables act as the backup tables. If the option is set to false, it's the other way around. The option can be changed via admin UI (WooCommerce - Settings - Advanced - Custom data stores).\n\n[The CustomOrdersTableController class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php) hooks on the `woocommerce_order_data_store` filter so that `WC_Data_Store::load( 'order' );` will return either an instance of [OrdersTableDataStore](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php) or an instance of [WC_Order_Data_Store_CPT](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php), depending on which are the authoritative tables.\n\nIn order to preserve data integrity, switching the authoritative tables (from the new tables to the posts table or the other way around) isn't allowed while there are orders pending synchronization.\n\n## Synchronization\n\n_Synchronization_ is the process of applying all the pending changes in the authoritative tables to the backup tables. _Orders pending synchronization_ are orders that have been modified in the authoritative tables but the changes haven't been applied to the backup tables yet.\n\nThis can happen in a number of ways:\n\n\n### Immediate synchronization\n\nIf the `woocommerce_custom_orders_table_data_sync_enabled` setting is set to true, synchronization happens automatically and immediately as soon as the orders are changed in the authoritative tables.\n\n\n### Manual synchronization\n\nWhen immediate synchronization is disabled, it can be triggered manually via command line as follows: `wp wc cot sync`. It can also be triggered programmatically as follows:\n\n```php\n$synchronizer = wc_get_container()->get(Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer::class);\n$order_ids = $synchronizer->get_next_batch_to_process( $batch_size );\nif ( count( $order_ids ) ) {\n\t$synchronizer->process_batch( $order_ids );\n}\n```\n\nwhere `$batch_size` is the maximum count of orders to process.\n\n\n### Scheduled synchronization\n\nIf immediate synchronization gets activated (`woocommerce_custom_orders_table_data_sync_enabled` is set to true) while there are orders pending synchronization, an instance of [DataSynchronizer](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/DataSynchronizer.php) will be enqueued using [BatchProcessingController](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/BatchProcessing/BatchProcessingController.php) so that the synchronization of created/modified/deleted orders will happen in batches via scheduled actions. This scheduling happens inside [CustomOrdersTableController](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php), by means of hooking into `woocommerce_update_options_advanced_custom_data_stores`.\n\nIf for some reason immediate synchronization is already active but synchronization is not scheduled, a trick to restart it is to go to the settings page (WooCommerce - Settings - Advanced - Custom data stores) and hit \"Save\" even without making any changes. As long as \"Keep the posts table and the orders tables synchronized\" is checked the synchronization scheduling will happen, even if it was checked before.\n\nIf the `woocommerce_auto_flip_authoritative_table_roles` option is set to true (there's a checkbox for it in the settings page), the authoritative tables will be switched automatically once all the orders have been synchronized. This is handled by [the CustomOrdersTableController class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php).\n\n\n### Deletion synchronization\n\nSynchronization of order deletions is tricky: if an order exists in one set of tables (new tables or posts) but not in the other, it's not clear if the missing orders need to be created or if the existing orders need to be deleted. Theoretically, the orders missing from the backup tables imply the former and the orders missing from the authoritative tables imply the latter; but that's dangerous as a bug in the involved code could easily lead to the deletion of legitimate orders.\n\nTo achieve a robust order deletion synchronization mechanism the following is done. Whenever an order is deleted and immediate synchronization is disabled, a record is created in the `wp_wc_orders_meta` table that has `deleted_from` as the key and the name of the authoritative table the order was deleted from (`wp_wc_orders` or the posts table). Then at synchronization time these records are processed (the corresponding orders are deleted from the corresponding tables) and deleted afterwards.\n\nAn exception to the above are the [placeholder records](#placeholder-records): these are deleted immediately when the corresponding order is deleted from `wp_wc_orders`, even if immediate synchronization is disabled.\n\nWhen the \"**High-Performance Order Storage**\" and \"**Compatibility mode**\" are enabled, WooCommerce populates the HPOS tables with data from posts & postmeta tables. The synchronization between the tables is [explained in detail in this document](https://developer.woo.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization).\n\n\n> You can find a deeper explanation about the synchronization between the tables in [this document about high-performance-order-storage-backward-compatibility-and-synchronization](https://developer.woo.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization).\n\n## Placeholder records\n\nOrder IDs must match in both the authoritative tables and the backup tables, otherwise synchronization wouldn't be possible. The order IDs that are compared for order identification and synchronization purposes are the ones from the `id` field in both the `wp_wc_orders` table and the posts table.\n\nIf the posts table is authoritative, achieving an order ID match is easy: the record in `wp_wc_orders` is created with the same ID and that's it. However, when the new orders tables are authoritative there's a problem: the posts table is used to store multiple types of data, not only orders; and by the time synchronization needs to happen, a non-order post could already exist having the same ID as the order to synchronize.\n\nTo solve this, _placeholder records_ are used. Whenever the new orders tables are authoritative and immediate synchronization is disabled, creating a new order will cause a record with post type `shop_order_placehold` and the same ID as the order to be created in the posts table; this effectively \"reserves\" the order ID in the posts table. Then, at synchronization time, the record is filled appropriately and its post type is changed to `shop_order`.\n\n\n## Order Data Storage\n\nYou can switch between data stores freely to sync the data between the tables.\n\n- If you select **\"WordPress Post Tables\"**, the system will save the order data within `_post` and `_postmeta` tables. The order tables are not utilized in this scenario.\n\n![Select WordPress Post Tables](https://woo.com/wp-content/uploads/2023/10/image-18.png?w=650)\n\n- If you select **\"High-Performance Order Storage\"**, the system will save the order data within the new WooCommerce order tables\n\n![Select High-Performance Order Storage](https://woo.com/wp-content/uploads/2023/10/image-19.png?w=650)\n\n- If you select **\"WordPress Post Tables\"** and **\"Enable compatibility mode\"**, the system will sync the order data between the posts/postmeta and the WooCommerce order tables.\n\n![Select WordPress Post Tables and Enable compatibility mode](https://woo.com/wp-content/uploads/2023/10/image-20.png?w=650)\n\n\n## Incompatible Plugins\n\nIf you are using a plugin that is not compatible with High-Performance Order Storage, then the HPOS option will be disabled under **WooCommerce > Settings > Advanced > Features**.\n\n![Incompatible plugin](https://woo.com/wp-content/uploads/2023/10/image-21.png?w=650)\n\n- You can click on \"**View and manage**\" to review the list of incompatible plugins\n- Or you can visit `https://example.com/wp-admin/plugins.php?plugin_status=incompatible_with_feature&feature_id=custom_order_tables` to review the list of incompatible plugins (please replace `example.com` with your site domain)\n\n![Plugins page](https://woo.com/wp-content/uploads/2023/10/image-22.png?w=650)\n\n> **Note:** If you are using a third-party extension that isn't working properly with High-Performance Order Storage then please notify the developers of the extension and ask them to update their extension to add support for HPOS. It's up to the extension developers to add support for HPOS. We have [developer resources and documentation](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) available to help with their integration efforts.\n\n\n## Disabling HPOS\n\nIf you encounter problems or if you need to continue working with plugins that are not yet compatible with HPOS, then we recommend temporarily switching back to **WordPress posts storage**.\n\nTo do this, navigate to **WooCommerce ▸ Settings ▸ Advanced ▸ Features** and start by making sure that **compatibility mode** is enabled. If it was not already enabled, you may find you need to wait for some time while order data is synchronized across data-stores.\n\n![WooCommerce ▸ Settings ▸ Advanced ▸ Features Screen](https://woo.com/wp-content/uploads/2023/10/hpos-feature-settings.png?w=650)\n\nOnce synchronization has completed, you can select **WordPress posts storage (legacy)** as your preferred option. You can also disable compatibility mode at this point. Once you are ready to re-enable HPOS, simply follow the instructions posted at the [start of this doc](https://github.com/woocommerce/woocommerce/blob/trunk/docs/high-performance-order-storage/#section-3). Finally, remember to save this page between changes!\n\nAs noted earlier, we also strongly recommend reaching out to the support teams of any plugins that are incompatible, so they can take corrective action.\n", + "content": "\nWooCommerce has traditionally stored store orders and related order information (like refunds) as custom WordPress post types or post meta records. This comes with performance issues.\n\n[High-Performance Order Storage (HPOS)](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) also previously known as \"Custom Order Tables\" is a solution that provides an easy-to-understand and solid database structure - specifically designed for eCommerce needs. It uses the WooCommerce CRUD design to store order data in custom tables - optimized for WooCommerce queries with minimal impact on the store's performance.\n\nIn January 2022, we published the [initial plan for the Custom Order Tables feature](https://developer.woocommerce.com/2022/01/17/the-plan-for-the-woocommerce-custom-order-table/) and since then, we've been working hard to bring the High-Performance Order Storage (HPOS) to WooCommerce Core. In May 2022, we invited you to [test the order migration process](https://developer.woocommerce.com/2022/05/16/call-for-early-testing-custom-order-table-migrations/) and provide feedback on how our initial work performs on real stores of varied configurations.\n\nFrom WooCommerce 8.2, released on October 2023, [High-Performance Order Storage (HPOS)](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) is officially released under the stable flag and will be enabled by default for new installations.\n\n## What's New with High-Performance Order Storage?\n\nBringing High-Performance Order Storage (HPOS) to WooCommerce improves these three essential properties for eCommerce stores.\n\n### Scalability\n\nThe rise in the number of customers and customer orders increases the load on your store's database - making it difficult to handle customer order requests and deliver a seamless user experience.\n\nWith High-Performance Order Storage, you get dedicated tables for data like orders and order addresses and thus dedicated indexes which results in fewer read/write operations and fewer busy tables. This feature enables eCommerce stores of all shapes and sizes to scale their business to their maximum potential - without expert intervention.\n\n### Reliability\n\nHigh-Performance Order Storage makes implementing and restoring targeted data backup easier. You'll no longer need to worry about losing orders, inventory numbers, or client information with reliable backup in these custom order tables. It'll also facilitate implementing read/write locks and prevent race conditions.\n\n### Simplicity\n\nYou no longer have to go through a single huge database to locate underlying data and WooCommerce entries.\n\nWith High-Performance Order Storage, you can easily browse through the separate tables and easy-to-handle entries, independent of the table `_posts`, to find data or understand the table structure. It also lets you easily develop new plugins, implement designs for shops and products, and modify WooCommerce with more flexibility.\n\n## Background\n\nBefore the release of version 8.2, WooCommerce relied on the `_post` and `_postmeta` table structures to store order information, which has served well over the years.\n\nHowever, High-Performance Order Storage introduces dedicated tables for data like orders and order addresses and thus dedicated indexes which results in fewer read/write operations and fewer busy tables. This feature enables eCommerce stores of all shapes and sizes to scale their business to their maximum potential - without expert intervention.\n\nThe order data is synced from `_posts` and `_postmeta` table to four custom order tables:\n\n1. `_wc_orders`\n2. `_wc_order_addresses`\n3. `_wc_order_operational_data`\n4. `_wc_orders_meta`\n\n\n## Enabling the feature\n\nFrom 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)\n\n## Database tables\n\nA number of database tables are used to store order data by HPOS. The `get_all_table_names` method in [the OrdersTableDataStore class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php) will return the names of all the tables.\n\n## Authoritative tables\n\nAt any given time, while the HPOS feature is enabled, there are two roles for the involved database tables: _authoritative_ and _backup_. The authoritative tables are the working tables, where order data will be stored to and retrieved from during normal operation of the store. The _backup_ tables will receive a copy of the authoritative data whenever [synchronization](#synchronization) happens.\n\nIf the `woocommerce_custom_orders_table_enabled` options is set to true, HPOS is active and [the new tables](#database-tables) are authoritative, while the posts and post meta tables act as the backup tables. If the option is set to false, it's the other way around. The option can be changed via admin UI (WooCommerce - Settings - Advanced - Custom data stores).\n\n[The CustomOrdersTableController class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php) hooks on the `woocommerce_order_data_store` filter so that `WC_Data_Store::load( 'order' );` will return either an instance of [OrdersTableDataStore](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php) or an instance of [WC_Order_Data_Store_CPT](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php), depending on which are the authoritative tables.\n\nIn order to preserve data integrity, switching the authoritative tables (from the new tables to the posts table or the other way around) isn't allowed while there are orders pending synchronization.\n\n## Synchronization\n\n_Synchronization_ is the process of applying all the pending changes in the authoritative tables to the backup tables. _Orders pending synchronization_ are orders that have been modified in the authoritative tables but the changes haven't been applied to the backup tables yet.\n\nThis can happen in a number of ways:\n\n\n### Immediate synchronization\n\nIf the `woocommerce_custom_orders_table_data_sync_enabled` setting is set to true, synchronization happens automatically and immediately as soon as the orders are changed in the authoritative tables.\n\n\n### Manual synchronization\n\nWhen immediate synchronization is disabled, it can be triggered manually via command line as follows: `wp wc cot sync`. It can also be triggered programmatically as follows:\n\n```php\n$synchronizer = wc_get_container()->get(Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer::class);\n$order_ids = $synchronizer->get_next_batch_to_process( $batch_size );\nif ( count( $order_ids ) ) {\n\t$synchronizer->process_batch( $order_ids );\n}\n```\n\nwhere `$batch_size` is the maximum count of orders to process.\n\n\n### Scheduled synchronization\n\nIf immediate synchronization gets activated (`woocommerce_custom_orders_table_data_sync_enabled` is set to true) while there are orders pending synchronization, an instance of [DataSynchronizer](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/DataSynchronizer.php) will be enqueued using [BatchProcessingController](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/BatchProcessing/BatchProcessingController.php) so that the synchronization of created/modified/deleted orders will happen in batches via scheduled actions. This scheduling happens inside [CustomOrdersTableController](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php), by means of hooking into `woocommerce_update_options_advanced_custom_data_stores`.\n\nIf for some reason immediate synchronization is already active but synchronization is not scheduled, a trick to restart it is to go to the settings page (WooCommerce - Settings - Advanced - Custom data stores) and hit \"Save\" even without making any changes. As long as \"Keep the posts table and the orders tables synchronized\" is checked the synchronization scheduling will happen, even if it was checked before.\n\nIf the `woocommerce_auto_flip_authoritative_table_roles` option is set to true (there's a checkbox for it in the settings page), the authoritative tables will be switched automatically once all the orders have been synchronized. This is handled by [the CustomOrdersTableController class](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php).\n\n\n### Deletion synchronization\n\nSynchronization of order deletions is tricky: if an order exists in one set of tables (new tables or posts) but not in the other, it's not clear if the missing orders need to be created or if the existing orders need to be deleted. Theoretically, the orders missing from the backup tables imply the former and the orders missing from the authoritative tables imply the latter; but that's dangerous as a bug in the involved code could easily lead to the deletion of legitimate orders.\n\nTo achieve a robust order deletion synchronization mechanism the following is done. Whenever an order is deleted and immediate synchronization is disabled, a record is created in the `wp_wc_orders_meta` table that has `deleted_from` as the key and the name of the authoritative table the order was deleted from (`wp_wc_orders` or the posts table). Then at synchronization time these records are processed (the corresponding orders are deleted from the corresponding tables) and deleted afterwards.\n\nAn exception to the above are the [placeholder records](#placeholder-records): these are deleted immediately when the corresponding order is deleted from `wp_wc_orders`, even if immediate synchronization is disabled.\n\nWhen the \"**High-Performance Order Storage**\" and \"**Compatibility mode**\" are enabled, WooCommerce populates the HPOS tables with data from posts & postmeta tables. The synchronization between the tables is [explained in detail in this document](https://developer.woocommerce.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization).\n\n\n> You can find a deeper explanation about the synchronization between the tables in [this document about high-performance-order-storage-backward-compatibility-and-synchronization](https://developer.woocommerce.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization).\n\n## Placeholder records\n\nOrder IDs must match in both the authoritative tables and the backup tables, otherwise synchronization wouldn't be possible. The order IDs that are compared for order identification and synchronization purposes are the ones from the `id` field in both the `wp_wc_orders` table and the posts table.\n\nIf the posts table is authoritative, achieving an order ID match is easy: the record in `wp_wc_orders` is created with the same ID and that's it. However, when the new orders tables are authoritative there's a problem: the posts table is used to store multiple types of data, not only orders; and by the time synchronization needs to happen, a non-order post could already exist having the same ID as the order to synchronize.\n\nTo solve this, _placeholder records_ are used. Whenever the new orders tables are authoritative and immediate synchronization is disabled, creating a new order will cause a record with post type `shop_order_placehold` and the same ID as the order to be created in the posts table; this effectively \"reserves\" the order ID in the posts table. Then, at synchronization time, the record is filled appropriately and its post type is changed to `shop_order`.\n\n\n## Order Data Storage\n\nYou can switch between data stores freely to sync the data between the tables.\n\n- If you select **\"WordPress Post Tables\"**, the system will save the order data within `_post` and `_postmeta` tables. The order tables are not utilized in this scenario.\n\n![Select WordPress Post Tables](https://woocommerce.com/wp-content/uploads/2023/10/image-18.png?w=650)\n\n- If you select **\"High-Performance Order Storage\"**, the system will save the order data within the new WooCommerce order tables\n\n![Select High-Performance Order Storage](https://woocommerce.com/wp-content/uploads/2023/10/image-19.png?w=650)\n\n- If you select **\"WordPress Post Tables\"** and **\"Enable compatibility mode\"**, the system will sync the order data between the posts/postmeta and the WooCommerce order tables.\n\n![Select WordPress Post Tables and Enable compatibility mode](https://woocommerce.com/wp-content/uploads/2023/10/image-20.png?w=650)\n\n\n## Incompatible Plugins\n\nIf you are using a plugin that is not compatible with High-Performance Order Storage, then the HPOS option will be disabled under **WooCommerce > Settings > Advanced > Features**.\n\n![Incompatible plugin](https://woocommerce.com/wp-content/uploads/2023/10/image-21.png?w=650)\n\n- You can click on \"**View and manage**\" to review the list of incompatible plugins\n- Or you can visit `https://example.com/wp-admin/plugins.php?plugin_status=incompatible_with_feature&feature_id=custom_order_tables` to review the list of incompatible plugins (please replace `example.com` with your site domain)\n\n![Plugins page](https://woocommerce.com/wp-content/uploads/2023/10/image-22.png?w=650)\n\n> **Note:** If you are using a third-party extension that isn't working properly with High-Performance Order Storage then please notify the developers of the extension and ask them to update their extension to add support for HPOS. It's up to the extension developers to add support for HPOS. We have [developer resources and documentation](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) available to help with their integration efforts.\n\n\n## Disabling HPOS\n\nIf you encounter problems or if you need to continue working with plugins that are not yet compatible with HPOS, then we recommend temporarily switching back to **WordPress posts storage**.\n\nTo do this, navigate to **WooCommerce ▸ Settings ▸ Advanced ▸ Features** and start by making sure that **compatibility mode** is enabled. If it was not already enabled, you may find you need to wait for some time while order data is synchronized across data-stores.\n\n![WooCommerce ▸ Settings ▸ Advanced ▸ Features Screen](https://woocommerce.com/wp-content/uploads/2023/10/hpos-feature-settings.png?w=650)\n\nOnce synchronization has completed, you can select **WordPress posts storage (legacy)** as your preferred option. You can also disable compatibility mode at this point. Once you are ready to re-enable HPOS, simply follow the instructions posted at the [start of this doc](https://github.com/woocommerce/woocommerce/blob/trunk/docs/high-performance-order-storage/#section-3). Finally, remember to save this page between changes!\n\nAs noted earlier, we also strongly recommend reaching out to the support teams of any plugins that are incompatible, so they can take corrective action.\n", "category_slug": "hpos", "category_title": "High Performance Order Storage", "posts": [ @@ -949,7 +949,7 @@ "categories": [] }, { - "content": "\nThis section covers general guidelines, and best practices to follow in order to ensure your product experience aligns with WooCommerce for ease of use, seamless integration, and strong adoption.\n\nWe strongly recommend you review the current [WooCommerce setup experience](https://woo.com/documentation/plugins/woocommerce/getting-started/) to get familiar with the user experience and taxonomy.\n\nWe also recommend you review the [WordPress core guidelines](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/) to ensure your product isn't breaking any rules, and review [this helpful resource](https://woo.com/document/grammar-punctuation-style-guide/) on content style.\n\n## General\n\nUse existing WordPress/WooCommerce UI, built in components (text fields, checkboxes, etc) and existing menu structures.\n\nPlugins which draw on WordPress' core design aesthetic will benefit from future updates to this design as WordPress continues to evolve. If you need to make an exception for your product, be prepared to provide a valid use case.\n\n- [WordPress Components library](https://wordpress.github.io/gutenberg/?path=/story/docs-introduction--page)\n- [Figma for WordPress](https://make.wordpress.org/design/2018/11/19/figma-for-wordpress/) | ([WordPress Design Library Figma](https://www.figma.com/file/e4tLacmlPuZV47l7901FEs/WordPress-Design-Library))\n- [WooCommerce Component Library](https://woocommerce.github.io/woocommerce-admin/)\n", + "content": "\nThis section covers general guidelines, and best practices to follow in order to ensure your product experience aligns with WooCommerce for ease of use, seamless integration, and strong adoption.\n\nWe strongly recommend you review the current [WooCommerce setup experience](https://woocommerce.com/documentation/plugins/woocommerce/getting-started/) to get familiar with the user experience and taxonomy.\n\nWe also recommend you review the [WordPress core guidelines](https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/) to ensure your product isn't breaking any rules, and review [this helpful resource](https://woocommerce.com/document/grammar-punctuation-style-guide/) on content style.\n\n## General\n\nUse existing WordPress/WooCommerce UI, built in components (text fields, checkboxes, etc) and existing menu structures.\n\nPlugins which draw on WordPress' core design aesthetic will benefit from future updates to this design as WordPress continues to evolve. If you need to make an exception for your product, be prepared to provide a valid use case.\n\n- [WordPress Components library](https://wordpress.github.io/gutenberg/?path=/story/docs-introduction--page)\n- [Figma for WordPress](https://make.wordpress.org/design/2018/11/19/figma-for-wordpress/) | ([WordPress Design Library Figma](https://www.figma.com/file/e4tLacmlPuZV47l7901FEs/WordPress-Design-Library))\n- [WooCommerce Component Library](https://woocommerce.github.io/woocommerce-admin/)\n", "category_slug": "user-experience-extensions", "category_title": "Extension Guidelines", "posts": [ @@ -1141,7 +1141,7 @@ "categories": [] }, { - "content": "\nThis section covers general guidelines and best practices to follow in order to ensure your theme experience aligns with ecommerce industry standards and WooCommerce for providing a great online shopping experience, maximizing sales, ensuring ease of use, seamless integration, and strong UX adoption.\n\nWe recommend you review the [UI best practices for WordPress](https://developer.wordpress.org/themes/advanced-topics/ui-best-practices/) to ensure your theme is aligned with the WordPress theme requirements.\n\nMake sure your theme fits one or more industries currently available in the [WooCommerce themes store](https://woo.com/product-category/themes). It's important that the theme offers enough originality and distinctiveness in its design, while keeping it familiar, in order to be distinguished from other themes on the WooCommerce theme store. Your theme should avoid copying existing themes on the WooCommerce theme store or other WordPress theme marketplaces.\n", + "content": "\nThis section covers general guidelines and best practices to follow in order to ensure your theme experience aligns with ecommerce industry standards and WooCommerce for providing a great online shopping experience, maximizing sales, ensuring ease of use, seamless integration, and strong UX adoption.\n\nWe recommend you review the [UI best practices for WordPress](https://developer.wordpress.org/themes/advanced-topics/ui-best-practices/) to ensure your theme is aligned with the WordPress theme requirements.\n\nMake sure your theme fits one or more industries currently available in the [WooCommerce themes store](https://woocommerce.com/product-category/themes). It's important that the theme offers enough originality and distinctiveness in its design, while keeping it familiar, in order to be distinguished from other themes on the WooCommerce theme store. Your theme should avoid copying existing themes on the WooCommerce theme store or other WordPress theme marketplaces.\n", "category_slug": "user-experience-themes", "category_title": "Theme Design Guidelines", "posts": [ diff --git a/docs/extension-development/building-your-first-extension.md b/docs/extension-development/building-your-first-extension.md index 186da156329..2e7f6990f5e 100644 --- a/docs/extension-development/building-your-first-extension.md +++ b/docs/extension-development/building-your-first-extension.md @@ -75,7 +75,7 @@ If you did not set a custom name for your extension, you can visit [here](http:/ Now that you’ve bootstrapped your extension, you can finally add some features! Here are some simple ones you could include: -[How to add a custom field to simple and variable products](https://developer.woo.com/docs/how-to-add-a-custom-field-to-simple-and-variable-products/) +[How to add a custom field to simple and variable products](https://developer.woocommerce.com/docs/how-to-add-a-custom-field-to-simple-and-variable-products/) ## Reference diff --git a/docs/extension-development/data-storage.md b/docs/extension-development/data-storage.md index 8e5746273c9..e6c05919192 100644 --- a/docs/extension-development/data-storage.md +++ b/docs/extension-development/data-storage.md @@ -22,6 +22,6 @@ If the data type is an entity with n units, consider a [post type](https://devel If the data is a means of sorting/categorizing an entity, consider a [taxonomy](https://developer.wordpress.org/taxonomy/). Taxonomies are a way of grouping things together. ## Logging -Logs should be written to a file using the [WC_Logger](https://woo.com/wc-apidocs/class-WC_Logger.html) class. This is a simple and standardized way of recording events and errors for debugging purposes. +Logs should be written to a file using the [WC_Logger](https://woocommerce.com/wc-apidocs/class-WC_Logger.html) class. This is a simple and standardized way of recording events and errors for debugging purposes. Remember, the best method of data storage depends on the nature of the data and how it will be used in your application. diff --git a/docs/extension-development/example-plugin-header-comment.md b/docs/extension-development/example-plugin-header-comment.md index b0db379bcc7..e3f5cd98ac0 100644 --- a/docs/extension-development/example-plugin-header-comment.md +++ b/docs/extension-development/example-plugin-header-comment.md @@ -9,7 +9,7 @@ This is a WordPress plugin header comment. It's used to provide WordPress with m ```php /** * Plugin Name: WooCommerce Extension -* Plugin URI: https://woo.com/products/woocommerce-extension/ +* Plugin URI: https://woocommerce.com/products/woocommerce-extension/ * Description: Your extension's description text. * Version: 1.0.0 * Author: Your Name diff --git a/docs/extension-development/extension-development-best-practices.md b/docs/extension-development/extension-development-best-practices.md index 36f6723ccf2..d5c2d926dd7 100644 --- a/docs/extension-development/extension-development-best-practices.md +++ b/docs/extension-development/extension-development-best-practices.md @@ -12,7 +12,7 @@ Your WooCommerce extension should: - Adhere to all WordPress plugin coding standards, as well as [best practice guidelines](https://developer.wordpress.org/plugins/plugin-basics/best-practices/) for harmonious existence within WordPress and alongside other WordPress plugins. - Have a single core purpose and use WooCommerce features as much as possible. - Not do anything malicious, illegal, or dishonest - for example, inserting spam links or executable code via third-party systems if not part of the service or explicitly permitted in the service's terms of use. -- Adhere to WooCommerce [compatibility and interoperability guidelines](https://woo.com/document/marketplace-overview/#section-9). +- Adhere to WooCommerce [compatibility and interoperability guidelines](https://woocommerce.com/document/marketplace-overview/#section-9). Merchants make use of WooCommerce extensions daily, and should have a unified and pleasant experience while doing so without advertising invading their WP Admin or store. @@ -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. 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. -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://woo.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](.docs/link-to-logged-data) in your extension. diff --git a/docs/extension-development/how-to-add-your-own-store-management-links.md b/docs/extension-development/how-to-add-your-own-store-management-links.md index a11583c15a1..dbf07dd3f15 100644 --- a/docs/extension-development/how-to-add-your-own-store-management-links.md +++ b/docs/extension-development/how-to-add-your-own-store-management-links.md @@ -74,4 +74,4 @@ addFilter( Here's a screen shot using our new custom store management link: -![screen shot of custom store management link in wp-admin](https://developer.woo.com/wp-content/uploads/2023/12/yvXeSya.png) +![screen shot of custom store management link in wp-admin](https://developer.woocommerce.com/wp-content/uploads/2023/12/yvXeSya.png) diff --git a/docs/extension-development/how-to-design-a-simple-extension.md b/docs/extension-development/how-to-design-a-simple-extension.md index 52bf722bda8..c48d9112f1a 100644 --- a/docs/extension-development/how-to-design-a-simple-extension.md +++ b/docs/extension-development/how-to-design-a-simple-extension.md @@ -30,7 +30,7 @@ Below is an example of what the header content might look like for an extension ```php /** * Plugin Name: My Great WooCommerce Extension - * Plugin URI: https://woo.com/products/woocommerce-extension/ + * Plugin URI: https://woocommerce.com/products/woocommerce-extension/ * Description: Your extension's description text. * Version: 1.0.0 * Author: Your Name @@ -264,7 +264,7 @@ Below is an example of what a main plugin file might look like for a very simple ```php /** * Plugin Name: My Great WooCommerce Extension - * Plugin URI: https://woo.com/products/woocommerce-extension/ + * Plugin URI: https://woocommerce.com/products/woocommerce-extension/ * Description: Your extension's description text. * Version: 1.0.0 * Author: Your Name diff --git a/docs/extension-development/implementing-settings.md b/docs/extension-development/implementing-settings.md index 049d9d36ed7..4b86c41b714 100644 --- a/docs/extension-development/implementing-settings.md +++ b/docs/extension-development/implementing-settings.md @@ -179,7 +179,7 @@ And these settings have attributes which you can use. These affect the way the s ### Creating Your Own Settings -The built-in settings are great but you may need extra controls to create your settings page. That's why we included some methods to do this for you. First, define a setting by adding it to the `$this->form_fields` array, entering the kind of form control you want under `type`. You can override the default HTML for your form inputs by creating a method with a name of the format `generate_{ type }_html` which outputs HTML markup. To specify how buttons are rendered, you'd add a method called `generate_button_html`. For textareas, you'd add a `generate_textarea_html` method, and so on. (Check out the `generate_settings_html` method of the `WC_Settings_API` class in the WooCommerce source code to see how WooCommerce uses this.) The below example creates a button that goes to Woo.com. +The built-in settings are great but you may need extra controls to create your settings page. That's why we included some methods to do this for you. First, define a setting by adding it to the `$this->form_fields` array, entering the kind of form control you want under `type`. You can override the default HTML for your form inputs by creating a method with a name of the format `generate_{ type }_html` which outputs HTML markup. To specify how buttons are rendered, you'd add a method called `generate_button_html`. For textareas, you'd add a `generate_textarea_html` method, and so on. (Check out the `generate_settings_html` method of the `WC_Settings_API` class in the WooCommerce source code to see how WooCommerce uses this.) The below example creates a button that goes to WooCommerce.com. ```php /** @@ -194,7 +194,7 @@ public function init_form_fields() { 'title' => __( 'Customize!', 'woocommerce-integration-demo' ), 'type' => 'button', 'custom_attributes' => array( - 'onclick' => "location.href='https://woo.com'", + 'onclick' => "location.href='https://woocommerce.com'", ), 'description' => __( 'Customize your settings by going to the integration site directly.', 'woocommerce-integration-demo' ), 'desc_tip' => true, diff --git a/docs/extension-development/logging.md b/docs/extension-development/logging.md index 68fc589e034..a1e7298161b 100644 --- a/docs/extension-development/logging.md +++ b/docs/extension-development/logging.md @@ -12,17 +12,17 @@ You can view the entries created by the logger by going to **WooCommerce > Statu With the default file system storage method, the first thing you will see is the list of existing log files: -![The default log viewing interface, showing a list of log files](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/file-browse.png) +![The default log viewing interface, showing a list of log files](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/file-browse.png) The name of a log file is based on the source of the entries it contains (meaning the extension or the part of the WooCommerce codebase), as well as the date the entries were generated. In this file browsing view, you can sort the files in different ways as well as filtering them to show only those from a specific source. Clicking on a file will take you to a single file view, where you can see the actual log entries: -![The contents of a log file](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/file-view-new.png) +![The contents of a log file](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/file-view-new.png) Click on a line number in the file to highlight it. This can also be used to link to a specific line in a file from elsewhere. From the file browser view, you can sort and filter a list of log files, and then search for a string within the contents of those files: -![A list of search results](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/search-results.png) +![A list of search results](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/search-results.png) Clicking on a search result line number will take you to that line in the single file view. @@ -30,7 +30,7 @@ Clicking on a search result line number will take you to that line in the single With the database storage method, you will see a list of log entries, starting with the most recent: -![The log viewing interface when log entries are stored in the database](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/database-logs.png) +![The log viewing interface when log entries are stored in the database](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/database-logs.png) These entries can be sorted by timestamp, level, and source, as well as filtered to only show a particular source or a minimum level. You can also search for a string within the log entry message fields. @@ -38,7 +38,7 @@ These entries can be sorted by timestamp, level, and source, as well as filtered From the Logs screen at **WooCommerce > Status > Logs**, click the "Settings" link to make configuration changes: -![The Logs settings screen](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/settings.png) +![The Logs settings screen](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/settings.png) ### Logger @@ -104,7 +104,7 @@ If a source is not specified, the logger will generate a source value based on t Setting the `backtrace` key in your context parameter to `true` will cause the logger to generate a backtrace (i.e. stack trace) in array format, which will be included in the context in place of the `true` value. This is useful particularly for error-related logs, so you can see what code was executed that led to the log entry being generated. -![A backtrace displayed in the log file viewer](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/02/backtrace.png) +![A backtrace displayed in the log file viewer](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/02/backtrace.png) ### Full example diff --git a/docs/getting-started/contributing-to-core-and-marketplace.md b/docs/getting-started/contributing-to-core-and-marketplace.md index bf801075967..afd807603c7 100644 --- a/docs/getting-started/contributing-to-core-and-marketplace.md +++ b/docs/getting-started/contributing-to-core-and-marketplace.md @@ -14,6 +14,6 @@ If you have ever wanted to contribute to the WooCommerce platform as a developer Visit the WooCommerce monorepo on GitHub to learn the first steps to environment set up and platform contribution expectations. -### [Marketplace Contribution Guidelines](https://woo.com/document/marketplace-overview/) +### [Marketplace Contribution Guidelines](https://woocommerce.com/document/marketplace-overview/) -Are you hoping to sell your extension in the [Woo Marketplace](https://woo.com/marketplace/)? Read our guidelines to make sure your extension is marketplace-ready. +Are you hoping to sell your extension in the [Woo Marketplace](https://woocommerce.com/marketplace/)? Read our guidelines to make sure your extension is marketplace-ready. diff --git a/docs/getting-started/customizing-endpoint-urls.md b/docs/getting-started/customizing-endpoint-urls.md index 52d13df217b..b801292d9fa 100644 --- a/docs/getting-started/customizing-endpoint-urls.md +++ b/docs/getting-started/customizing-endpoint-urls.md @@ -10,7 +10,7 @@ Before you start, check out [WooCommerce Endpoints](./woocommerce-endpoints.md). The URL for each endpoint can be customized in **WooCommerce > Settings > Advanced** in the Page setup section. -![Endpoints](https://developer.woo.com/wp-content/uploads/2023/12/endpoints.png) +![Endpoints](https://developer.woocommerce.com/wp-content/uploads/2023/12/endpoints.png) Ensure that they are unique to avoid conflicts. If you encounter issues with 404s, go to **Settings > Permalinks** and save to flush the rewrite rules. @@ -18,7 +18,7 @@ Ensure that they are unique to avoid conflicts. If you encounter issues with 404 If you want to include an endpoint in your menus, you need to use the Links section: -![The Links section of a menu item in WordPress](https://developer.woo.com/wp-content/uploads/2023/12/2014-02-26-at-14.26.png) +![The Links section of a menu item in WordPress](https://developer.woocommerce.com/wp-content/uploads/2023/12/2014-02-26-at-14.26.png) Enter the full URL to the endpoint and then insert that into your menu. @@ -76,4 +76,4 @@ Landing on the wrong page when clicking an endpoint URL is typically caused by i Sometimes the "Downloads" endpoint on the "My account" page does not need to be displayed. This can be removed by going to **WooCommerce → Settings → Advanced → Account endpoints** and clearing the Downloads endpoint field. -![Account endpoints](https://developer.woo.com/wp-content/uploads/2023/12/Screenshot-2023-04-09-at-11.45.58-PM.png) +![Account endpoints](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screenshot-2023-04-09-at-11.45.58-PM.png) diff --git a/docs/getting-started/development-environment.md b/docs/getting-started/development-environment.md index 4fe9900a9c0..3cde937ffdb 100644 --- a/docs/getting-started/development-environment.md +++ b/docs/getting-started/development-environment.md @@ -6,7 +6,7 @@ tags: tutorial, setup ## Introduction -Creating a WooCommerce extension - which extends the WooCommerce plugin, or developing a theme for the WooCommerce plugin can be excellent ways to build custom functionality into your store and even monetize your development through the [WooCommerce Marketplace](https://woo.com/products/). +Creating a WooCommerce extension - which extends the WooCommerce plugin, or developing a theme for the WooCommerce plugin can be excellent ways to build custom functionality into your store and even monetize your development through the [WooCommerce Marketplace](https://woocommerce.com/products/). This guide will walk you through the steps of getting a basic development environment set up for building WooCommerce extensions. @@ -16,7 +16,7 @@ If you would like to contribute to the WooCommerce core platform; please read ou WooCommerce does adhere to WordPress code standards and guidelines, so it’s best to familiarize yourself with [WordPress Development](https://learn.wordpress.org/tutorial/introduction-to-wordpress/) as well as [PHP](https://www.php.net/). -Knowledge and understanding of [WooCommerce Hooks and Filters](https://woo.com/document/introduction-to-hooks-actions-and-filters/) will allow you to add and change code without editing core files. You can learn more about WordPress hooks and filters in the [WordPress Plugin Development Handbook](https://developer.wordpress.org/plugins/hooks/). +Knowledge and understanding of [WooCommerce Hooks and Filters](https://woocommerce.com/document/introduction-to-hooks-actions-and-filters/) will allow you to add and change code without editing core files. You can learn more about WordPress hooks and filters in the [WordPress Plugin Development Handbook](https://developer.wordpress.org/plugins/hooks/). ### Recommended reading @@ -54,7 +54,7 @@ In addition to the software listed above, you'll also want to have some way of s ### Minimum server requirements -Regardless of the tool you choose for managing your development environment, you should make sure it [meets the server recommendations](https://woo.com/document/server-requirements/?utm_source=wooextdevguide) for WooCommerce as well as the [requirements for running WordPress](https://wordpress.org/about/requirements/). +Regardless of the tool you choose for managing your development environment, you should make sure it [meets the server recommendations](https://woocommerce.com/document/server-requirements/?utm_source=wooextdevguide) for WooCommerce as well as the [requirements for running WordPress](https://wordpress.org/about/requirements/). ## Anatomy of a WordPress development environment (public_html/) diff --git a/docs/getting-started/troubleshooting-endpoints.md b/docs/getting-started/troubleshooting-endpoints.md index a1790837c2c..b29546d2456 100644 --- a/docs/getting-started/troubleshooting-endpoints.md +++ b/docs/getting-started/troubleshooting-endpoints.md @@ -46,4 +46,4 @@ Landing on the wrong page when clicking an endpoint URL is typically caused by i Sometimes the "Downloads" endpoint on the "My account" page does not need to be displayed. This can be removed by going to **WooCommerce → Settings → Advanced → Account endpoints** and clearing the Downloads endpoint field. -![Account endpoints](https://developer.woo.com/wp-content/uploads/2023/12/Screenshot-2023-04-09-at-11.45.58-PM.png) +![Account endpoints](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screenshot-2023-04-09-at-11.45.58-PM.png) diff --git a/docs/high-performance-order-storage/README.md b/docs/high-performance-order-storage/README.md index 529783b7107..b31d4d4eda3 100644 --- a/docs/high-performance-order-storage/README.md +++ b/docs/high-performance-order-storage/README.md @@ -6,11 +6,11 @@ post_title: High Performance Order Storage (HPOS) WooCommerce has traditionally stored store orders and related order information (like refunds) as custom WordPress post types or post meta records. This comes with performance issues. -[High-Performance Order Storage (HPOS)](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) also previously known as "Custom Order Tables" is a solution that provides an easy-to-understand and solid database structure - specifically designed for eCommerce needs. It uses the WooCommerce CRUD design to store order data in custom tables - optimized for WooCommerce queries with minimal impact on the store's performance. +[High-Performance Order Storage (HPOS)](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) also previously known as "Custom Order Tables" is a solution that provides an easy-to-understand and solid database structure - specifically designed for eCommerce needs. It uses the WooCommerce CRUD design to store order data in custom tables - optimized for WooCommerce queries with minimal impact on the store's performance. -In January 2022, we published the [initial plan for the Custom Order Tables feature](https://developer.woo.com/2022/01/17/the-plan-for-the-woocommerce-custom-order-table/) and since then, we've been working hard to bring the High-Performance Order Storage (HPOS) to WooCommerce Core. In May 2022, we invited you to [test the order migration process](https://developer.woo.com/2022/05/16/call-for-early-testing-custom-order-table-migrations/) and provide feedback on how our initial work performs on real stores of varied configurations. +In January 2022, we published the [initial plan for the Custom Order Tables feature](https://developer.woocommerce.com/2022/01/17/the-plan-for-the-woocommerce-custom-order-table/) and since then, we've been working hard to bring the High-Performance Order Storage (HPOS) to WooCommerce Core. In May 2022, we invited you to [test the order migration process](https://developer.woocommerce.com/2022/05/16/call-for-early-testing-custom-order-table-migrations/) and provide feedback on how our initial work performs on real stores of varied configurations. -From WooCommerce 8.2, released on October 2023, [High-Performance Order Storage (HPOS)](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) is officially released under the stable flag and will be enabled by default for new installations. +From WooCommerce 8.2, released on October 2023, [High-Performance Order Storage (HPOS)](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) is officially released under the stable flag and will be enabled by default for new installations. ## What's New with High-Performance Order Storage? @@ -108,10 +108,10 @@ To achieve a robust order deletion synchronization mechanism the following is do An exception to the above are the [placeholder records](#placeholder-records): these are deleted immediately when the corresponding order is deleted from `wp_wc_orders`, even if immediate synchronization is disabled. -When the "**High-Performance Order Storage**" and "**Compatibility mode**" are enabled, WooCommerce populates the HPOS tables with data from posts & postmeta tables. The synchronization between the tables is [explained in detail in this document](https://developer.woo.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization). +When the "**High-Performance Order Storage**" and "**Compatibility mode**" are enabled, WooCommerce populates the HPOS tables with data from posts & postmeta tables. The synchronization between the tables is [explained in detail in this document](https://developer.woocommerce.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization). -> You can find a deeper explanation about the synchronization between the tables in [this document about high-performance-order-storage-backward-compatibility-and-synchronization](https://developer.woo.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization). +> You can find a deeper explanation about the synchronization between the tables in [this document about high-performance-order-storage-backward-compatibility-and-synchronization](https://developer.woocommerce.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/#synchronization). ## Placeholder records @@ -128,29 +128,29 @@ You can switch between data stores freely to sync the data between the tables. - If you select **"WordPress Post Tables"**, the system will save the order data within `_post` and `_postmeta` tables. The order tables are not utilized in this scenario. -![Select WordPress Post Tables](https://woo.com/wp-content/uploads/2023/10/image-18.png?w=650) +![Select WordPress Post Tables](https://woocommerce.com/wp-content/uploads/2023/10/image-18.png?w=650) - If you select **"High-Performance Order Storage"**, the system will save the order data within the new WooCommerce order tables -![Select High-Performance Order Storage](https://woo.com/wp-content/uploads/2023/10/image-19.png?w=650) +![Select High-Performance Order Storage](https://woocommerce.com/wp-content/uploads/2023/10/image-19.png?w=650) - If you select **"WordPress Post Tables"** and **"Enable compatibility mode"**, the system will sync the order data between the posts/postmeta and the WooCommerce order tables. -![Select WordPress Post Tables and Enable compatibility mode](https://woo.com/wp-content/uploads/2023/10/image-20.png?w=650) +![Select WordPress Post Tables and Enable compatibility mode](https://woocommerce.com/wp-content/uploads/2023/10/image-20.png?w=650) ## Incompatible Plugins If you are using a plugin that is not compatible with High-Performance Order Storage, then the HPOS option will be disabled under **WooCommerce > Settings > Advanced > Features**. -![Incompatible plugin](https://woo.com/wp-content/uploads/2023/10/image-21.png?w=650) +![Incompatible plugin](https://woocommerce.com/wp-content/uploads/2023/10/image-21.png?w=650) - You can click on "**View and manage**" to review the list of incompatible plugins - Or you can visit `https://example.com/wp-admin/plugins.php?plugin_status=incompatible_with_feature&feature_id=custom_order_tables` to review the list of incompatible plugins (please replace `example.com` with your site domain) -![Plugins page](https://woo.com/wp-content/uploads/2023/10/image-22.png?w=650) +![Plugins page](https://woocommerce.com/wp-content/uploads/2023/10/image-22.png?w=650) -> **Note:** If you are using a third-party extension that isn't working properly with High-Performance Order Storage then please notify the developers of the extension and ask them to update their extension to add support for HPOS. It's up to the extension developers to add support for HPOS. We have [developer resources and documentation](https://developer.woo.com/2022/09/14/high-performance-order-storage-progress-report/) available to help with their integration efforts. +> **Note:** If you are using a third-party extension that isn't working properly with High-Performance Order Storage then please notify the developers of the extension and ask them to update their extension to add support for HPOS. It's up to the extension developers to add support for HPOS. We have [developer resources and documentation](https://developer.woocommerce.com/2022/09/14/high-performance-order-storage-progress-report/) available to help with their integration efforts. ## Disabling HPOS @@ -159,7 +159,7 @@ If you encounter problems or if you need to continue working with plugins that a To do this, navigate to **WooCommerce ▸ Settings ▸ Advanced ▸ Features** and start by making sure that **compatibility mode** is enabled. If it was not already enabled, you may find you need to wait for some time while order data is synchronized across data-stores. -![WooCommerce ▸ Settings ▸ Advanced ▸ Features Screen](https://woo.com/wp-content/uploads/2023/10/hpos-feature-settings.png?w=650) +![WooCommerce ▸ Settings ▸ Advanced ▸ Features Screen](https://woocommerce.com/wp-content/uploads/2023/10/hpos-feature-settings.png?w=650) Once synchronization has completed, you can select **WordPress posts storage (legacy)** as your preferred option. You can also disable compatibility mode at this point. Once you are ready to re-enable HPOS, simply follow the instructions posted at the [start of this doc](https://github.com/woocommerce/woocommerce/blob/trunk/docs/high-performance-order-storage/#section-3). Finally, remember to save this page between changes! diff --git a/docs/high-performance-order-storage/enable-hpos.md b/docs/high-performance-order-storage/enable-hpos.md index c8eaca42938..426698236b2 100644 --- a/docs/high-performance-order-storage/enable-hpos.md +++ b/docs/high-performance-order-storage/enable-hpos.md @@ -11,7 +11,7 @@ To activate High-Performance Order Storage, existing stores will firs t need t 1. Navigate to **WooCommerce > Settings > Advanced > Features** 2. Turn on the **"Enable compatibility mode (synchronizes orders to the posts table)"** setting. - ![Enable HPOS Screen](https://developer.woo.com/wp-content/uploads/2023/12/New-Project-4.jpg) + ![Enable HPOS Screen](https://developer.woocommerce.com/wp-content/uploads/2023/12/New-Project-4.jpg) 3. Once this setting is activated, background actions will be scheduled. @@ -20,8 +20,8 @@ To activate High-Performance Order Storage, existing stores will firs t need t - You can either wait for these actions to run on their own, which should be quite soon, or you can go to **WooCommerce > Status > Scheduled Actions**, find the actions and click on the run button. - The action will backfill 25 orders at a time, if there are more orders to be synced, then more actions will be scheduled as soon as the previous actions are completed. - ![wc_schedule_pending_batch_process Screen](https://developer.woo.com/wp-content/uploads/2023/12/2.jpg) - ![wc_run_batch_process Screen](https://developer.woo.com/wp-content/uploads/2023/12/New-Project-5.jpg) + ![wc_schedule_pending_batch_process Screen](https://developer.woocommerce.com/wp-content/uploads/2023/12/2.jpg) + ![wc_run_batch_process Screen](https://developer.woocommerce.com/wp-content/uploads/2023/12/New-Project-5.jpg) 4. After both tables are successfully synchronized, you'll be able to select the option to switch to High-Performance Order Storage (HPOS). diff --git a/docs/high-performance-order-storage/guide-large-store.md b/docs/high-performance-order-storage/guide-large-store.md index 95766a1e9b4..c4c131e13f7 100644 --- a/docs/high-performance-order-storage/guide-large-store.md +++ b/docs/high-performance-order-storage/guide-large-store.md @@ -2,11 +2,11 @@ Do you run a high-volume WooCommerce store? Are you about to embark on the task to enable High Performance Order Storage (HPOS) on said store? As we move more and more high-volume store to HPOS, we decided to document the guidelines for those of you who may be faced with this task. -## Before you begin: [Get familiar with the HPOS project and related documentation](https://developer.woo.com/docs/category/hpos/) +## Before you begin: [Get familiar with the HPOS project and related documentation](https://developer.woocommerce.com/docs/category/hpos/) 1. [High-Performance Order Storage](https://woocommerce.com/document/high-performance-order-storage/) 2. [High-Performance Order Storage Upgrade Recipe Book](https://github.com/woocommerce/woocommerce/wiki/High-Performance-Order-Storage-Upgrade-Recipe-Book) -3. [High-Performance Order Storage: Backward Compatibility and Synchronization](https://developer.woo.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/) +3. [High-Performance Order Storage: Backward Compatibility and Synchronization](https://developer.woocommerce.com/2022/09/29/high-performance-order-storage-backward-compatibility-and-synchronization/) ## Phase 1: Test out HPOS on a local development system @@ -23,7 +23,7 @@ You can repeat the tests with both synchronization enabled and disabled. Remember that you can [toggle synchronization](https://woocommerce.com/document/high-performance-order-storage/#section-5) by going to **WooCommerce > Settings > Advanced > Features**, and toggling the “**Enable compatibility mode**” checkbox. -![Toggle synchronization](https://woo.com/wp-content/uploads/2023/10/image-18.png) +![Toggle synchronization](https://woocommerce.com/wp-content/uploads/2023/10/image-18.png) ### Review: Phase 1 Checklist** diff --git a/docs/localization-translation/translating-woocommerce.md b/docs/localization-translation/translating-woocommerce.md index bcc16b32f6f..615f84564cf 100644 --- a/docs/localization-translation/translating-woocommerce.md +++ b/docs/localization-translation/translating-woocommerce.md @@ -34,17 +34,17 @@ If you're new to translating, check out the [translators handbook](https://make. 1. Go to [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/woocommerce) and look for your language in the list. 2. Click the title to be taken to the section for that language. - ![screenshot of WooCommerce translation page on wordpress.org](https://developer.woo.com/wp-content/uploads/2023/12/2016-02-17-at-09.57.png) + ![screenshot of WooCommerce translation page on wordpress.org](https://developer.woocommerce.com/wp-content/uploads/2023/12/2016-02-17-at-09.57.png) 3. Click the heading under `Set/Sub Project` to view and download a Stable version. - ![list of versions available for selected language](https://developer.woo.com/wp-content/uploads/2023/12/2016-02-17-at-09.59.png) + ![list of versions available for selected language](https://developer.woocommerce.com/wp-content/uploads/2023/12/2016-02-17-at-09.59.png) 4. Scroll to the bottom for export options. Export a `.mo` file for use on your site. 5. Rename this file to `woocommerce-YOURLANG.mo` (e.g., Great Britain English should be `en_GB`). The corresponding language code can be found by going to [https://translate.wordpress.org/projects/wp-plugins/woocommerce/](https://translate.wordpress.org/projects/wp-plugins/woocommerce/) and opening the desired language. The language code is visible in the upper-right corner. - ![screenshot of plugin card with associated language code](https://developer.woo.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-09.44.53.png) + ![screenshot of plugin card with associated language code](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-09.44.53.png) 6. Upload to your site under `wp-content/languages/woocommerce/`. Once uploaded, this translation file may be used. @@ -61,12 +61,12 @@ To get started: 1. Open PoEdit and select `Create new translation from POT template`. 2. Choose `woocommerce.pot` and PoEdit will show the catalog properties window. - ![screenshot](https://developer.woo.com/wp-content/uploads/2023/12/Screen-Shot-2013-05-09-at-10.16.46.png) + ![screenshot](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screen-Shot-2013-05-09-at-10.16.46.png) 3. Enter your name and details, so other translators know who you are, and click `OK`. 4. Save your `.po` file. Name it based on what you are translating to, i.e., a GB translation is saved as `woocommerce-en_GB.po`. Now the strings are listed. - ![screenshot](https://developer.woo.com/wp-content/uploads/2023/12/Screen-Shot-2013-05-09-at-10.20.58.png) + ![screenshot](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screen-Shot-2013-05-09-at-10.20.58.png) 5. Save after translating strings. The `.mo` file is generated automatically. 6. Update your `.po` file by opening it and then go to `Catalog > Update from POT file`. @@ -116,7 +116,7 @@ There are some other third-party tools that can help with translations. The foll You may see that some of the strings are not being translated on the Checkout page. For example, in the screenshot below, `Local pickup` shipping method, `Cash on delivery` payment method and a message related to Privacy Policy are not being translated to Russian while the rest of the form is indeed translated: -![checkout page with some strings not translated](https://developer.woo.com/wp-content/uploads/2023/12/not_translated.jpg) +![checkout page with some strings not translated](https://developer.woocommerce.com/wp-content/uploads/2023/12/not_translated.jpg) This usually happens when you first install WooCommerce and select default site language (English) and later change the site language to another one. In WooCommerce, the strings that have not been translated in the screenshot, are stored in the database after the initial WooCommerce installation. Therefore, if the site language is changed to another one, there is no way for WooCommerce to detect a translatable string since these are database entries. @@ -153,8 +153,8 @@ If some of your translated strings don't show up as expected on your WooCommerce This screenshot shows that the Singular translation is available: -![This screenshot shows that the Singular translation is available:](https://developer.woo.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-10.10.06.png) +![This screenshot shows that the Singular translation is available:](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-10.10.06.png) While this screenshot shows that the Plural translation is not available: -![this screenshot shows that the Plural translation is not available](https://developer.woo.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-10.10.21.png) +![this screenshot shows that the Plural translation is not available](https://developer.woocommerce.com/wp-content/uploads/2023/12/Screenshot-2023-10-17-at-10.10.21.png) diff --git a/docs/payments/payment-gateway-api.md b/docs/payments/payment-gateway-api.md index ca052c002a1..62453e1b77b 100644 --- a/docs/payments/payment-gateway-api.md +++ b/docs/payments/payment-gateway-api.md @@ -15,7 +15,7 @@ Payment gateways come in several varieties: 3. **Direct** - This is when the payment fields are shown directly on the checkout page and the payment is made when 'place order' is pressed. _Example_: PayPal Pro, Authorize.net AIM 4. **Offline** - No online payment is made. _Example_: Cheque, Bank Transfer -Form and iFrame based gateways post data offsite, meaning there are less security issues for you to think about. Direct gateways, however, require server security to be implemented ([SSL certificates](https://woo.com/document/ssl-and-https/), etc.) and may also require a level of [PCI compliance](https://woo.com/document/pci-dss-compliance-and-woocommerce/). +Form and iFrame based gateways post data offsite, meaning there are less security issues for you to think about. Direct gateways, however, require server security to be implemented ([SSL certificates](https://woocommerce.com/document/ssl-and-https/), etc.) and may also require a level of [PCI compliance](https://woocommerce.com/document/pci-dss-compliance-and-woocommerce/). ## Creating a basic payment gateway @@ -27,7 +27,7 @@ Payment gateways should be created as additional plugins that hook into WooComme add_action( 'plugins_loaded', 'init_your_gateway_class' ); ``` -It is also important that your gateway class extends the WooCommerce base gateway class, so you have access to important methods and the [settings API](https://woo.com/document/settings-api/ "https://woo.com/document/settings-api/"): +It is also important that your gateway class extends the WooCommerce base gateway class, so you have access to important methods and the [settings API](https://woocommerce.com/document/settings-api/ "https://woocommerce.com/document/settings-api/"): ```php function init_your_gateway_class() { @@ -87,7 +87,7 @@ add_action( 'woocommerce_update_options_payment_gateways\_' . $this->id, array( #### init_form_fields() -Use this method to set `$this->form_fields` - these are options you'll show in admin on your gateway settings page and make use of the [WC Settings API](https://woo.com/document/settings-api/ "https://woo.com/document/settings-api/"). +Use this method to set `$this->form_fields` - these are options you'll show in admin on your gateway settings page and make use of the [WC Settings API](https://woocommerce.com/document/settings-api/ "https://woocommerce.com/document/settings-api/"). A basic set of settings for your gateway would consist of _enabled_, _title_ and _description_: @@ -241,7 +241,7 @@ add_action( 'woocommerce_api_wc_gateway_paypal', array( $this, 'check_ipn_respon WooCommerce will call your gateway and run the action when the URL is called. -For more information, see [WC_API - The WooCommerce API Callback](https://woo.com/document/wc_api-the-woocommerce-api-callback/). +For more information, see [WC_API - The WooCommerce API Callback](https://woocommerce.com/document/wc_api-the-woocommerce-api-callback/). ## Hooks in Gateways diff --git a/docs/product-editor-development/product-editor-extensibility-guidelines.md b/docs/product-editor-development/product-editor-extensibility-guidelines.md index dc70f9803e4..9413465d685 100644 --- a/docs/product-editor-development/product-editor-extensibility-guidelines.md +++ b/docs/product-editor-development/product-editor-extensibility-guidelines.md @@ -43,7 +43,7 @@ Like everything in the new product form, each extension point is a separate bloc The new product form consists of groups currently displayed as tabs. Each is a separate view and may contain any number of sections and subsections. All areas serve a specific purpose, allowing merchants to quickly find the information they're looking for (both in default Woo features and extensions). -![Product form groups](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-form-groups.gif) +![Product form groups](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-form-groups.gif) If a tab doesn't contain any sections, it won't be shown to merchants. @@ -92,7 +92,7 @@ With so much advanced functionality, the plugin would best register a new produc ### Fields -![Fields example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-fields.png) +![Fields example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-fields.png) Fields are the simplest type of extension. They let users add extra product information, replace or manage the visibility of other fields assigned to a specific product type, and control the contents of other fields. @@ -117,7 +117,7 @@ Field extensions should always be logically related to the form area they are in ### Subsections -![Subsections example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-subsections.png) +![Subsections example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-subsections.png) Subsections add extra fields to existing form groups. They are small forms with a low to medium level of complexity. This interface location works best for extensions that add extra features that build off an existing Woo functionality. @@ -145,7 +145,7 @@ If you're developing an extension that allows merchants to upload 360 images or ### Sections -![Sections example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-sections.png) +![Sections example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-sections.png) Sections are significant parts of the form that may consist of multiple subsections and fields. They should be used sparsely throughout the form, so merchants are not overwhelmed with options while filling out the information about their products. @@ -173,7 +173,7 @@ If you're working on an extension that allows merchants to offer discounts based ### Top bar (header) *(future feature)* -![Top bar example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-top-bar.png) +![Top bar example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-top-bar.png) Top bar extensions offer supplementary experiences **not vital** to the critical product creation flows. They're secondary, meaning that they shouldn't contain information that may impact the product's overall quality or completeness. @@ -189,7 +189,7 @@ Depending on their roles, top bar extensions can be displayed in either a **popo ### Dialog extensions *(future feature)* -![Dialog example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-dialog-extensions.png) +![Dialog example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-dialog-extensions.png) Dialog extensions differ from other extensions as they are unrelated to any section or functionality within the product form. They can connect to third-party systems or come with complex interfaces that require a separate, focused experience. diff --git a/docs/quality-and-best-practices/core-critical-flows.md b/docs/quality-and-best-practices/core-critical-flows.md index 753c804f506..cb2fdc55f06 100644 --- a/docs/quality-and-best-practices/core-critical-flows.md +++ b/docs/quality-and-best-practices/core-critical-flows.md @@ -265,7 +265,7 @@ These flows will continually evolve as the platform evolves with flows updated, | User Type | Flow Area | Flow Name | Test File | | --------- | ---------------- | --------------------------------------- | --------- | -| Merchant | My Subscriptions | Can initiate Woo.com Connection | | +| Merchant | My Subscriptions | Can initiate WooCommerce.com Connection | | ### Merchant - Pages diff --git a/docs/quality-and-best-practices/writing-high-quality-testing-instructions.md b/docs/quality-and-best-practices/writing-high-quality-testing-instructions.md index 1c9081dfc76..8010b42c85b 100644 --- a/docs/quality-and-best-practices/writing-high-quality-testing-instructions.md +++ b/docs/quality-and-best-practices/writing-high-quality-testing-instructions.md @@ -53,7 +53,7 @@ Therefore, a PR could have testing instructions for multiple scenarios, in fact, 3. Identify the **preconditions**, **action** and **validation** steps. 4. Write **as many preconditions as you need** to explain how to set up the state of WooCommerce so that you can execute the desired action to test every flow. 1. Try to be detailed when explaining the interactions the user needs to perform in WooCommerce. - 2. If there are several preconditions for a user flow that is explained in a public guide, feel free to simply link the guide in the testing instructions instead of writing several steps. For example, _"Enable dev mode in WooCommerce Payments by following the steps mentioned [here](https://woo.com/document/woocommerce-payments/testing-and-troubleshooting/dev-mode/)"_. + 2. If there are several preconditions for a user flow that is explained in a public guide, feel free to simply link the guide in the testing instructions instead of writing several steps. For example, _"Enable dev mode in WooCommerce Payments by following the steps mentioned [here](https://woocommerce.com/document/woocommerce-payments/testing-and-troubleshooting/dev-mode/)"_. 5. Write **the action step**, which should cover the specific action that we want to test as part of this user flow. 6. Write **as many validation steps** as needed in order to assess that the actual result meets expectations. 1. Bear in mind to check only the steps needed to validate that this change works. @@ -83,11 +83,11 @@ Therefore, a PR could have testing instructions for multiple scenarios, in fact, #### Example 1 -![Sample of good quality instructions](https://developer.woo.com/wp-content/uploads/2023/12/213682695-3dc51613-b836-4e7e-93ef-f75078ab48ac.png) +![Sample of good quality instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682695-3dc51613-b836-4e7e-93ef-f75078ab48ac.png) #### Example 2 -![Another sample of good quality instructions](https://developer.woo.com/wp-content/uploads/2023/12/213682778-b552ab07-a518-48a7-9358-16adc5762aca.png) +![Another sample of good quality instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682778-b552ab07-a518-48a7-9358-16adc5762aca.png) ### Improving real testing instructions @@ -99,7 +99,7 @@ Before: After: -![Improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/213682303-1b12ab97-f27a-41cb-a8db-da8a78d18840.png) +![Improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682303-1b12ab97-f27a-41cb-a8db-da8a78d18840.png) Improvements: @@ -107,36 +107,36 @@ Improvements: Before: -![Instructions needing improvement](https://developer.woo.com/wp-content/uploads/2023/12/213682396-8c52d20e-1fca-4ac1-8345-f381c15a102a.png) +![Instructions needing improvement](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682396-8c52d20e-1fca-4ac1-8345-f381c15a102a.png) After: -![Improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/213682480-c01e0e84-5969-4456-8f43-70cbb8509e8d.png) +![Improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682480-c01e0e84-5969-4456-8f43-70cbb8509e8d.png) Improvements: -![Changes made](https://developer.woo.com/wp-content/uploads/2023/12/213682597-8d06e638-35dd-4ff8-9236-63c6ec5d05b8.jpg) +![Changes made](https://developer.woocommerce.com/wp-content/uploads/2023/12/213682597-8d06e638-35dd-4ff8-9236-63c6ec5d05b8.jpg) Before: -![example before providing improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/216365611-b540a814-3b8f-40f3-ae64-81018b9f97fb.png) +![example before providing improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/216365611-b540a814-3b8f-40f3-ae64-81018b9f97fb.png) After: -![example after providing improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/216366043-967e5daa-6a23-4ab8-adda-5f3082d1ebf7.png) +![example after providing improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/216366043-967e5daa-6a23-4ab8-adda-5f3082d1ebf7.png) Improvements: -![example of improvements](https://developer.woo.com/wp-content/uploads/2023/12/216366152-b331648d-bcef-443b-b126-de2621a20862.png) +![example of improvements](https://developer.woocommerce.com/wp-content/uploads/2023/12/216366152-b331648d-bcef-443b-b126-de2621a20862.png) Before: -![example before providing improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/216388785-8806ea74-62e6-42da-8887-c8e291e7dfe2-1.png) +![example before providing improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/216388785-8806ea74-62e6-42da-8887-c8e291e7dfe2-1.png) After: -![example after providing improved instructions](https://developer.woo.com/wp-content/uploads/2023/12/216388842-e5ab433e-d288-4306-862f-72f6f81ab2cd.png) +![example after providing improved instructions](https://developer.woocommerce.com/wp-content/uploads/2023/12/216388842-e5ab433e-d288-4306-862f-72f6f81ab2cd.png) Improvements: -![example of improvements](https://developer.woo.com/wp-content/uploads/2023/12/216388874-c5b21fc3-f693-4a7e-a58a-c5d1b6606682.png) +![example of improvements](https://developer.woocommerce.com/wp-content/uploads/2023/12/216388874-c5b21fc3-f693-4a7e-a58a-c5d1b6606682.png) diff --git a/docs/reporting/extending-woocommerce-admin-reports.md b/docs/reporting/extending-woocommerce-admin-reports.md index 96fe1deb48f..3a11ac64f66 100644 --- a/docs/reporting/extending-woocommerce-admin-reports.md +++ b/docs/reporting/extending-woocommerce-admin-reports.md @@ -45,7 +45,7 @@ Next, set up some orders to have sample data. Using WooCommerce > Settings > Cur After doing so, check out WC-Admin to make sure the orders are showing up by going to `/wp-admin/admin.php?page=wc-admin&period=today&path=%2Fanalytics%2Forders&compare=previous_year`. Note that without any modification currency figures show according to what I have currently in WooCommerce settings, which is New Zealand Dollar in this case. -![screenshot of wp-admin showing processing orders](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-12.11.34-pm.png?w=851) +![screenshot of wp-admin showing processing orders](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-12.11.34-pm.png?w=851) We can confirm each order's currency by running the following query on the `wp_posts` table and joining `wp_postmeta` to gather currency meta values. Results show an order in NZD, USD, and MXN. This query is similar to the one we'll implement later in the guide to gather and display currency values. @@ -62,7 +62,7 @@ ORDER BY wp_posts.post_date DESC LIMIT 3 ``` -![screenshot of resulting query](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-12.33.45-pm.png?w=756) +![screenshot of resulting query](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-12.33.45-pm.png?w=756) ## Add a UI dropdown @@ -99,7 +99,7 @@ add_action( 'init', 'add_currency_settings' ); In the console, you can confirm the data has safely made its way to the client. -![screnshot of console](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.11.50-pm.png?w=476) +![screnshot of console](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.11.50-pm.png?w=476) In `index.js` create the custom currency filter and add it the Orders Report. @@ -130,7 +130,7 @@ addFilter( If we check out the Orders Report, we can see our new dropdown. Play around with it and you'll notice the currency query parameter gets added to the url. If you check out the Network tab, you'll also see this value included in requests for data used to populate the report. For example, see the requests to orders stats endpoint, `/wp-json/wc-analytics/reports/orders/stats`. Next we'll use that query parameter to adjust report results. -![screenshot showing UI dropdown in wp-admin](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.16.44-pm.png?w=512) +![screenshot showing UI dropdown in wp-admin](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.16.44-pm.png?w=512) ## Handle currency parameters on the server @@ -207,7 +207,7 @@ add_filter( 'woocommerce_analytics_clauses_select_orders_stats_interval', 'add_s Lets head back to the Orders Report and see if it works. You can manipulate the dropdown and see the relevant order reflected in the table. -![screenshot of WooCommerce Orders tab in wp-admin showing the relevant order reflected in the table.](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.38.54-pm.png?w=585) +![screenshot of WooCommerce Orders tab in wp-admin showing the relevant order reflected in the table.](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-1.38.54-pm.png?w=585) ## Finishing touches @@ -247,15 +247,15 @@ const addTableColumn = (reportTableData) => { addFilter("woocommerce_admin_report_table", "dev-blog-example", addTableColumn); ``` -![screenshot of customized table](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-4.02.15-pm.png?w=861) +![screenshot of customized table](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-4.02.15-pm.png?w=861) While adding a column is certainly helpful, currency figures in the table and chart only reflect the store currency. -![screenshot of report](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-4.03.42-pm.png?w=865) +![screenshot of report](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-02-19-at-4.03.42-pm.png?w=865) In order to change a Report's currency and number formatting, we can make use of the `woocommerce_admin_report_currency` JS hook. You can see the store's default sent to the client in `wcSettings.currency`, but we'll need to change these depending on the currency being viewed and designated by the query parameter `?currency=NZD`. -![screenshot of currency settings](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-04-03-at-11.18.42-am.png?w=238) +![screenshot of currency settings](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-04-03-at-11.18.42-am.png?w=238) First, lets create some configs in index.js. @@ -299,7 +299,7 @@ addFilter( 🎉 We can now view our Orders Report and see the currency reflected in monetary values throughout the report. -![Screenshot of customized order report](https://developer.woo.com/wp-content/uploads/2023/12/screen-shot-2020-04-03-at-11.29.05-am.png?w=912) +![Screenshot of customized order report](https://developer.woocommerce.com/wp-content/uploads/2023/12/screen-shot-2020-04-03-at-11.29.05-am.png?w=912) ## Conclusion diff --git a/docs/rest-api/getting-started.md b/docs/rest-api/getting-started.md index 9f59fe4c89a..ccf8cd7dca8 100644 --- a/docs/rest-api/getting-started.md +++ b/docs/rest-api/getting-started.md @@ -9,7 +9,7 @@ The REST API is a powerful part of WooCommerce which lets you read and write var In order to access the REST API using the standard endpoint URI structure (e.g. `wc/v3/products`), you must have your WordPress permalinks configured to something other than "Plain". Go to **Settings > Permalinks** and choose an option. -![Permalinks options](https://developer.woo.com/wp-content/uploads/2023/12/permalinks.webp) +![Permalinks options](https://developer.woocommerce.com/wp-content/uploads/2023/12/permalinks.webp) ## API reference @@ -33,7 +33,7 @@ To start using REST API, you first need to generate API keys. 4. Click *Generate api key*. 5. Your keys will be shown - do not close this tab yet, the secret will be hidden if you try to view the key again. -![Generated API Keys](https://developer.woo.com/wp-content/uploads/2023/12/keys.png) +![Generated API Keys](https://developer.woocommerce.com/wp-content/uploads/2023/12/keys.png) ## Make a basic request @@ -43,11 +43,11 @@ In Postman, you need to set the fields for request type, request URL, and the se Once done, hit send and you'll see the JSON response from the API if all worked well. You should see something like this: -![Generated API Keys](https://developer.woo.com/wp-content/uploads/2023/12/postman.png) +![Generated API Keys](https://developer.woocommerce.com/wp-content/uploads/2023/12/postman.png) Insomnia is almost identical to Postman; fill in the same fields and again use basic auth. -![Insomnia](https://developer.woo.com/wp-content/uploads/2023/12/insomnia.png) +![Insomnia](https://developer.woocommerce.com/wp-content/uploads/2023/12/insomnia.png) Thats it! The API is working. @@ -59,15 +59,15 @@ If you have problems connecting, you may need to disable SSL verification - see If you're having problems connecting to the REST API on your localhost and seeing errors like this: -![SSL Error](https://developer.woo.com/wp-content/uploads/2023/12/sslerror.png) +![SSL Error](https://developer.woocommerce.com/wp-content/uploads/2023/12/sslerror.png) You need to disable SSL verification. In Postman you can find this in the settings: -![Postman settings](https://developer.woo.com/wp-content/uploads/2023/12/postman-ssl.png) +![Postman settings](https://developer.woocommerce.com/wp-content/uploads/2023/12/postman-ssl.png) Insomnia also has this setting the preferences area: -![Insomnia settings](https://developer.woo.com/wp-content/uploads/2023/12/insomnia-ssl.png) +![Insomnia settings](https://developer.woocommerce.com/wp-content/uploads/2023/12/insomnia-ssl.png) ### 401 Unauthorized diff --git a/docs/shipping/shipping-method-api.md b/docs/shipping/shipping-method-api.md index 06e1f4af658..ab3a8303fd6 100644 --- a/docs/shipping/shipping-method-api.md +++ b/docs/shipping/shipping-method-api.md @@ -76,7 +76,7 @@ if ( ! class_exists( 'WC_Your_Shipping_Method' ) ) { ## Defining settings/options -You can then define your options using the settings API. In the snippets above you'll notice we init_form_fields and init_settings. These load up the settings API. To see how to add settings, see [WooCommerce settings API](https://woo.com/document/settings-api/). +You can then define your options using the settings API. In the snippets above you'll notice we init_form_fields and init_settings. These load up the settings API. To see how to add settings, see [WooCommerce settings API](https://woocommerce.com/document/settings-api/). ## The calculate_shipping() method @@ -114,11 +114,11 @@ The skeleton shipping method code all put together looks like this: Settings screen. Only if necessary, create a top-level settings tab if your plugin has settings that don't fit under existing tabs and creating a sub-tab isn't appropriate. diff --git a/docs/ux-guidelines-extensions/notices.md b/docs/ux-guidelines-extensions/notices.md index ed1fd88db2f..1cc96528c42 100644 --- a/docs/ux-guidelines-extensions/notices.md +++ b/docs/ux-guidelines-extensions/notices.md @@ -19,7 +19,7 @@ Use short but meaningful messages that communicate what is happening. Ensure tha The placement of feedback is vital so the user notices it. For example, when validation messages are needed to prompt the user to enter data, get the user's attention by displaying a message close to the inputs where data needs to be revised. -![visualization of four different notice designs next to one another](https://developer.woo.com/wp-content/uploads/2023/12/notices1.png) +![visualization of four different notice designs next to one another](https://developer.woocommerce.com/wp-content/uploads/2023/12/notices1.png) **Success** message: When the user performs an action that is executed successfully. @@ -31,4 +31,4 @@ The placement of feedback is vital so the user notices it. For example, when val ### Examples -![an example of an informational message as a notice](https://developer.woo.com/wp-content/uploads/2023/12/informational-notice.png) +![an example of an informational message as a notice](https://developer.woocommerce.com/wp-content/uploads/2023/12/informational-notice.png) diff --git a/docs/ux-guidelines-extensions/task-list-and-inbox.md b/docs/ux-guidelines-extensions/task-list-and-inbox.md index fba9ba64c85..9c237de1cd0 100644 --- a/docs/ux-guidelines-extensions/task-list-and-inbox.md +++ b/docs/ux-guidelines-extensions/task-list-and-inbox.md @@ -5,11 +5,11 @@ menu_title: Task list and Inbox Plugins should choose between implementing a Task or Inbox note based on the following guidelines. Avoid implementing both Task and Inbox note for the same message, which adds clutter and reduces the impact of the message. -Use the Task List and Inbox sparingly. Messages should be clear, concise, and maintain a consistent tone. Follow the [Grammar, Punctuation, and Capitalization guide](https://woo.com/document/grammar-punctuation-style-guide/). +Use the Task List and Inbox sparingly. Messages should be clear, concise, and maintain a consistent tone. Follow the [Grammar, Punctuation, and Capitalization guide](https://woocommerce.com/document/grammar-punctuation-style-guide/). ## Task List -![an example of a task in the task list](https://developer.woo.com/wp-content/uploads/2023/12/task-list1.png) +![an example of a task in the task list](https://developer.woocommerce.com/wp-content/uploads/2023/12/task-list1.png) Anything that **requires** action should go in the task list. @@ -26,13 +26,13 @@ Anything that **requires** action should go in the task list. Examples: -![three tasks in the task list under the heading "Things to do next" with the option to expand at the bottom to "show 3 more tasks" ](https://developer.woo.com/wp-content/uploads/2023/12/task-list-example.png) +![three tasks in the task list under the heading "Things to do next" with the option to expand at the bottom to "show 3 more tasks" ](https://developer.woocommerce.com/wp-content/uploads/2023/12/task-list-example.png) ## Inbox The Inbox provides informational, useful, and supplemental content to the user, while important notices and setup tasks have their separate and relevant locations. -![an example of an inbox notification](https://developer.woo.com/wp-content/uploads/2023/12/inbox1.png) +![an example of an inbox notification](https://developer.woocommerce.com/wp-content/uploads/2023/12/inbox1.png) - *What appears in the Inbox*: - Informational notices such as non-critical reminders. @@ -46,4 +46,4 @@ The Inbox provides informational, useful, and supplemental content to the user, Examples: -![an example of two inbox notifications listed under the "Inbox" section of the admin](https://developer.woo.com/wp-content/uploads/2023/12/inbox-examples.png) +![an example of two inbox notifications listed under the "Inbox" section of the admin](https://developer.woocommerce.com/wp-content/uploads/2023/12/inbox-examples.png) diff --git a/docs/ux-guidelines-payments/payment-button-layout.md b/docs/ux-guidelines-payments/payment-button-layout.md index 386986d5de1..7f9c7de8cab 100644 --- a/docs/ux-guidelines-payments/payment-button-layout.md +++ b/docs/ux-guidelines-payments/payment-button-layout.md @@ -9,28 +9,28 @@ Define the position and alignment of buttons in relationship to their container, Position payment buttons correctly in relation to "Add to Cart" in horizontal or vertical layout, place payment buttons to the right of or below the "Add to Cart" button. -![Product page layout.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Product-page-layout.png) +![Product page layout.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Product-page-layout.png) ### Cart Position payment buttons correctly in relation to "Proceed to checkout" buttons in vertical layout. Place payment buttons above the "Proceed to checkout" button. Do not place payment buttons below the button or in between. -![Cart layout.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Cart-layout.png) +![Cart layout.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Cart-layout.png) ### Express checkout Position payment buttons correctly in horizontal layout, consistent in size and spacing. If a second row is required, left-align the buttons. -![Express checkout layout.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Express-checkout-layout.png) +![Express checkout layout.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Express-checkout-layout.png) ### Mobile view Express payment buttons on mobile should occupy the full width. Don't use the express payment border as it reduces the view area. -![Mobile view.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Mobile-view.png) +![Mobile view.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Mobile-view.png) ### Clear space Maintain the minimum amount of clear space on all sides of the payment button. The clear space adapts based on the size of the button. -![Clear space.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Clear-space.png) +![Clear space.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Clear-space.png) diff --git a/docs/ux-guidelines-payments/payment-button-size.md b/docs/ux-guidelines-payments/payment-button-size.md index 0ca3629fb58..1ed293590fb 100644 --- a/docs/ux-guidelines-payments/payment-button-size.md +++ b/docs/ux-guidelines-payments/payment-button-size.md @@ -18,41 +18,41 @@ Payment buttons consist of up to three elements: a button component, payment log Don't place any text outside the surface area of the button. -![Cart layout 2](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Cart-layout-2.png) +![Cart layout 2](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Cart-layout-2.png) ### Layout and spacing The spacing between and around the Label and Payment Logo adapts based on the size of the button. -![Layout and spacing 0.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing-0.png) +![Layout and spacing 0.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing-0.png) ### Adaptive height The height of the button can adapt based on the needs of the theme. -![Layout and spacing.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing.png) +![Layout and spacing.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing.png) ### Button size Make payment buttons the same size, no bigger or smaller than other payment buttons, including the CTAs "Add to cart" and "Proceed to checkout" -![Same button size.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Same-button-size.png) +![Same button size.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Same-button-size.png) ### Button width Use the same width size for all payment buttons. Don't make the width larger or smaller than other payment buttons. -![button width.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Button-width.png) +![button width.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Button-width.png) ### Minimum width Buttons have a minimum width to ensure readability. -![Layout and spacing-2.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing-2.png) +![Layout and spacing-2.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Layout-and-spacing-2.png) Follow the minimum width of each payment button size. Don't squeeze payment buttons in a single line. -![Minimum width.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Minimum-width.png) +![Minimum width.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Minimum-width.png) ### Button Shape @@ -61,7 +61,7 @@ Use the same corner radius for all payment buttons. Don't make the corner radius - Default corner radius: 4px - Maximum corner radius: ½ button height -![Corner radius.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Corner-radius.png) +![Corner radius.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Corner-radius.png) ### Button Label @@ -78,4 +78,4 @@ Icon only The button label should appear in sentence case, with only the first letter of the first word capitalized. -![Button labels.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Button-Labels.png) +![Button labels.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Button-Labels.png) diff --git a/docs/ux-guidelines-payments/payment-button-style.md b/docs/ux-guidelines-payments/payment-button-style.md index 75de5a79f5f..4f832e9d756 100644 --- a/docs/ux-guidelines-payments/payment-button-style.md +++ b/docs/ux-guidelines-payments/payment-button-style.md @@ -5,28 +5,28 @@ menu_title: Payment Button Style Use the appropriate button style depending on the site theme. -![Button styles.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Button-styles.png) +![Button styles.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Button-styles.png) ### Dark Use on white or light-color backgrounds. Don't use on black or dark backgrounds. -![Dark.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Dark.png) +![Dark.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Dark.png) ### Light Use on dark-color backgrounds. Don't use on white or light backgrounds. -![Light.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Light.png) +![Light.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Light.png) ### Light with outline Use on white or light-color backgrounds that don't provide sufficient contrast. Don't use on dark or saturated backgrounds. -![Light with outline.png](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Light-with-outline.png) +![Light with outline.png](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Light-with-outline.png) ### Button style and specifications Buttons should contain the following states for resting, loading, active, and loading contexts. For additional guidance, follow the general Woo accessibility guidelines. -![Button States and specifications](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Button-States-and-specifications.png) +![Button States and specifications](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Button-States-and-specifications.png) diff --git a/docs/ux-guidelines-payments/payments-onboarding.md b/docs/ux-guidelines-payments/payments-onboarding.md index 830713d66de..5e80a760188 100644 --- a/docs/ux-guidelines-payments/payments-onboarding.md +++ b/docs/ux-guidelines-payments/payments-onboarding.md @@ -32,10 +32,10 @@ After the merchant has completed all the actions that are required for your plug If you're offering multiple payment methods within the plugin, present the choices clearly to the merchant and provide an indication of which payment methods are enabled. -![Payment methods](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Payment-methods.png) +![Payment methods](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Payment-methods.png) If a payment method is not available for any reason, provide clear and informative error messages that help users diagnose and resolve issues. Your plugin needs to inform the merchant that it's ready to process payments. Until then, display an inline warning notice in the plugin settings as a reminder to the merchant. Do not implement a top level banner for the warning notice. -![Inline notice](https://developer.woo.com/docs/wp-content/uploads/sites/3/2024/01/Inline-Notice.png) +![Inline notice](https://developer.woocommerce.com/docs/wp-content/uploads/sites/3/2024/01/Inline-Notice.png) diff --git a/docs/ux-guidelines-product-editor/product-editor-form-dialogue-extensions.md b/docs/ux-guidelines-product-editor/product-editor-form-dialogue-extensions.md index 604ac019161..f1dfb8a9268 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-dialogue-extensions.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-dialogue-extensions.md @@ -7,7 +7,7 @@ Dialog extensions differ from other extensions as they are unrelated to any sect Dialogs can have different sizes (small, medium, large, or custom) and trigger locations (text or icon button anywhere in the form or in the form's top bar). -![Dialog example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-dialog-extensions.png) +![Dialog example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-dialog-extensions.png) ## What they are for diff --git a/docs/ux-guidelines-product-editor/product-editor-form-fields.md b/docs/ux-guidelines-product-editor/product-editor-form-fields.md index 2f5de80bf8d..cc6328cb50c 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-fields.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-fields.md @@ -5,7 +5,7 @@ menu_title: Fields Fields are the simplest type of extension. They let users add extra product information, replace or manage the visibility of other fields assigned to a specific product type, and control the contents of other fields. -![Fields example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-fields.png) +![Fields example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-fields.png) ## What they are for diff --git a/docs/ux-guidelines-product-editor/product-editor-form-groups.md b/docs/ux-guidelines-product-editor/product-editor-form-groups.md index d66e68fd123..65e38ee0722 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-groups.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-groups.md @@ -5,7 +5,7 @@ menu_title: Groups The new product form consists of groups currently displayed as tabs. Each is a separate view and may contain any number of sections and subsections. All areas serve a specific purpose, allowing merchants to quickly find the information they're looking for (both in default Woo features and extensions). -![Product form groups](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-form-groups.gif) +![Product form groups](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-form-groups.gif) If a tab doesn't contain any sections, it won't be shown to merchants. diff --git a/docs/ux-guidelines-product-editor/product-editor-form-sections.md b/docs/ux-guidelines-product-editor/product-editor-form-sections.md index 922817f52c9..6722f63054e 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-sections.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-sections.md @@ -5,7 +5,7 @@ menu_title: Sections Sections are significant parts of the form that may consist of multiple subsections and fields. They should be used sparsely throughout the form, so merchants are not overwhelmed with options while filling out the information about their products. -![Sections example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-sections.png) +![Sections example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-sections.png) ## What they are for diff --git a/docs/ux-guidelines-product-editor/product-editor-form-subsections.md b/docs/ux-guidelines-product-editor/product-editor-form-subsections.md index 344a65d20c4..d343f0d002d 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-subsections.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-subsections.md @@ -5,7 +5,7 @@ menu_title: Subsections Subsections add extra fields to existing form groups. They are small forms with a low to medium level of complexity. This interface location works best for extensions that add extra features that build off an existing Woo functionality. -![Subsections example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-subsections.png) +![Subsections example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-subsections.png) ## What they are for diff --git a/docs/ux-guidelines-product-editor/product-editor-form-top-bar.md b/docs/ux-guidelines-product-editor/product-editor-form-top-bar.md index d7f548d1420..503d5c5a7aa 100644 --- a/docs/ux-guidelines-product-editor/product-editor-form-top-bar.md +++ b/docs/ux-guidelines-product-editor/product-editor-form-top-bar.md @@ -7,7 +7,7 @@ Top bar extensions offer supplementary experiences **not vital** to the critical Each top bar extension has its unique icon in the top navigation bar. Note that when the number of extensions exceeds 4, they're truncated in a dropdown menu. -![Top bar example](https://developer.woo.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-top-bar.png) +![Top bar example](https://developer.woocommerce.com/wp-content/uploads/2023/12/product-editor-ext-guidelines-top-bar.png) For example, top bar extensions can be used to: diff --git a/docs/ux-guidelines-themes/README.md b/docs/ux-guidelines-themes/README.md index 3b9aee239f3..c74ca627676 100644 --- a/docs/ux-guidelines-themes/README.md +++ b/docs/ux-guidelines-themes/README.md @@ -8,4 +8,4 @@ This section covers general guidelines and best practices to follow in order to We recommend you review the [UI best practices for WordPress](https://developer.wordpress.org/themes/advanced-topics/ui-best-practices/) to ensure your theme is aligned with the WordPress theme requirements. -Make sure your theme fits one or more industries currently available in the [WooCommerce themes store](https://woo.com/product-category/themes). It's important that the theme offers enough originality and distinctiveness in its design, while keeping it familiar, in order to be distinguished from other themes on the WooCommerce theme store. Your theme should avoid copying existing themes on the WooCommerce theme store or other WordPress theme marketplaces. +Make sure your theme fits one or more industries currently available in the [WooCommerce themes store](https://woocommerce.com/product-category/themes). It's important that the theme offers enough originality and distinctiveness in its design, while keeping it familiar, in order to be distinguished from other themes on the WooCommerce theme store. Your theme should avoid copying existing themes on the WooCommerce theme store or other WordPress theme marketplaces. diff --git a/package.json b/package.json index 21e7055ee4a..cc645049bc8 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "woocommerce-monorepo", "title": "WooCommerce Monorepo", "description": "Monorepo for the WooCommerce ecosystem", - "homepage": "https://woo.com/", + "homepage": "https://woocommerce.com/", "engines": { "node": "^16.14.1", "pnpm": "^8.12.1" diff --git a/packages/js/components/changelog/update-woo-com-to-woocommerce-com b/packages/js/components/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/js/components/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/js/components/src/dynamic-form/README.md b/packages/js/components/src/dynamic-form/README.md index b79f9342d96..7b0d1629f08 100644 --- a/packages/js/components/src/dynamic-form/README.md +++ b/packages/js/components/src/dynamic-form/README.md @@ -23,7 +23,7 @@ const initialValues = { firstName: '' }; | Name | Type | Default | Description | | ------------- | -------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `fields` | {} or [] | [] | An object to describe the structure and types of all fields, matching the structure returned by the [Settings API](https://woo.com/document/settings-api/) | +| `fields` | {} or [] | [] | An object to describe the structure and types of all fields, matching the structure returned by the [Settings API](https://woocommerce.com/document/settings-api/) | | `isBusy` | Boolean | false | Boolean indicating busy state of submit button | | `onSubmit` | Function | `noop` | Function to call when a form is submitted with valid fields | | `onChange` | Function | `noop` | Function to call when any values on the form are changed | @@ -32,7 +32,7 @@ const initialValues = { firstName: '' }; ### Fields structure -Please reference the [WordPress settings API documentation](https://woo.com/document/settings-api/) to better understand the structure expected for the fields property. This component accepts the object returned via the `settings` property when querying a gateway via the API, or simply the array provided by `Object.values(settings)`. +Please reference the [WordPress settings API documentation](https://woocommerce.com/document/settings-api/) to better understand the structure expected for the fields property. This component accepts the object returned via the `settings` property when querying a gateway via the API, or simply the array provided by `Object.values(settings)`. ### Currently Supported Types diff --git a/packages/js/components/src/link/stories/index.tsx b/packages/js/components/src/link/stories/index.tsx index 495161332f3..dc048043a2a 100644 --- a/packages/js/components/src/link/stories/index.tsx +++ b/packages/js/components/src/link/stories/index.tsx @@ -29,8 +29,12 @@ export default { export const External = () => { return ( - - Woo.com + + WooCommerce.com ); }; diff --git a/packages/js/components/src/link/test/index.tsx b/packages/js/components/src/link/test/index.tsx index 02826100fff..c800ed0c789 100644 --- a/packages/js/components/src/link/test/index.tsx +++ b/packages/js/components/src/link/test/index.tsx @@ -12,17 +12,17 @@ import { Link } from '..'; describe( 'Link', () => { it( 'should render `external` links', () => { const { container } = render( - - Woo.com + + WooCommerce.com ); expect( container.firstChild ).toMatchInlineSnapshot( ` - Woo.com + WooCommerce.com ` ); } ); @@ -84,12 +84,12 @@ describe( 'Link', () => { it( 'should allow custom props to be passed through', () => { const { container } = render( - Woo.com + WooCommerce.com ); @@ -97,10 +97,10 @@ describe( 'Link', () => { - Woo.com + WooCommerce.com ` ); } ); @@ -114,15 +114,15 @@ describe( 'Link', () => { render( - Woo.com + WooCommerce.com ); - const testLink = screen.getByText( 'Woo.com' ); + const testLink = screen.getByText( 'WooCommerce.com' ); fireEvent.click( testLink ); diff --git a/packages/js/components/src/list/stories/index.js b/packages/js/components/src/list/stories/index.js index be5145aa2c9..b1d0477ded7 100644 --- a/packages/js/components/src/list/stories/index.js +++ b/packages/js/components/src/list/stories/index.js @@ -72,8 +72,8 @@ export default { export const Default = () => { const listItems = [ { - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', onClick: logItemClick, }, { @@ -105,8 +105,8 @@ export const BeforeAndAfter = () => { { before: , after: , - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', onClick: logItemClick, }, { @@ -143,8 +143,8 @@ export const CustomStyleAndTags = () => { { before: , after: , - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', onClick: logItemClick, listItemTag: 'woo.com-link', }, diff --git a/packages/js/components/src/list/test/index.js b/packages/js/components/src/list/test/index.js index 378ef7d8b88..a609f94f8b8 100644 --- a/packages/js/components/src/list/test/index.js +++ b/packages/js/components/src/list/test/index.js @@ -16,8 +16,8 @@ describe( 'List', () => { const clickHandler = jest.fn(); const listItems = [ { - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', }, { title: 'Click me!', @@ -34,8 +34,8 @@ describe( 'List', () => { const clickHandler = jest.fn(); const listItems = [ { - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', }, { title: 'Click me!', @@ -65,8 +65,8 @@ describe( 'List', () => { linkType: 'wc-admin', }, { - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', linkType: 'external', }, { @@ -86,8 +86,8 @@ describe( 'List', () => { .dataset.linkType ).toBe( 'wc-admin' ); expect( - screen.getByRole( 'menuitem', { name: 'Woo.com' } ).dataset - .linkType + screen.getByRole( 'menuitem', { name: 'WooCommerce.com' } ) + .dataset.linkType ).toBe( 'external' ); expect( screen.getByRole( 'menuitem', { name: 'WordPress.org' } ) @@ -110,8 +110,8 @@ describe( 'List', () => { listItemTag: 'marketing', }, { - title: 'Woo.com', - href: 'https://woo.com', + title: 'WooCommerce.com', + href: 'https://woocommerce.com', linkType: 'external', listItemTag: 'woo.com-site', }, @@ -132,8 +132,8 @@ describe( 'List', () => { .dataset.listItemTag ).toBe( 'marketing' ); expect( - screen.getByRole( 'menuitem', { name: 'Woo.com' } ).dataset - .listItemTag + screen.getByRole( 'menuitem', { name: 'WooCommerce.com' } ) + .dataset.listItemTag ).toBe( 'woo.com-site' ); expect( screen.getByRole( 'menuitem', { name: 'WordPress.org' } ) diff --git a/packages/js/create-woo-extension/$slug.php.mustache b/packages/js/create-woo-extension/$slug.php.mustache index b2f077acdf5..8482f8e1388 100644 --- a/packages/js/create-woo-extension/$slug.php.mustache +++ b/packages/js/create-woo-extension/$slug.php.mustache @@ -8,7 +8,7 @@ {{#author}} * Author: {{author}} {{/author}} - * Author URI: https://woo.com + * Author URI: https://woocommerce.com * Text Domain: {{textdomain}} * Domain Path: /languages * @@ -37,7 +37,7 @@ use {{slugPascalCase}}\Admin\Setup; */ function {{slugSnakeCase}}_missing_wc_notice() { /* translators: %s WC download URL link. */ - echo '

' . sprintf( esc_html__( '{{title}} requires WooCommerce to be installed and active. You can download %s here.', '{{slugSnakeCase}}' ), 'WooCommerce' ) . '

'; + echo '

' . sprintf( esc_html__( '{{title}} requires WooCommerce to be installed and active. You can download %s here.', '{{slugSnakeCase}}' ), 'WooCommerce' ) . '

'; } register_activation_hook( __FILE__, '{{slugSnakeCase}}_activate' ); diff --git a/packages/js/create-woo-extension/changelog/update-woo-com-to-woocommerce-com b/packages/js/create-woo-extension/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/js/create-woo-extension/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/js/create-woo-extension/languages/woo-plugin-setup.pot.mustache b/packages/js/create-woo-extension/languages/woo-plugin-setup.pot.mustache index 758a0dcb390..6b65dab9437 100644 --- a/packages/js/create-woo-extension/languages/woo-plugin-setup.pot.mustache +++ b/packages/js/create-woo-extension/languages/woo-plugin-setup.pot.mustache @@ -31,7 +31,7 @@ msgid "WooCommerce" msgstr "" #. Author URI of the plugin -msgid "https://woo.com" +msgid "https://woocommerce.com" msgstr "" #: build/index.js:1 diff --git a/packages/js/e2e-core-tests/README.md b/packages/js/e2e-core-tests/README.md index 0a6027c81e6..a33ba4cc5f7 100644 --- a/packages/js/e2e-core-tests/README.md +++ b/packages/js/e2e-core-tests/README.md @@ -84,7 +84,7 @@ The functions to access the core tests are: - `runMerchantOrderEmailsTest` - Merchant can receive order emails and resend emails by Order Actions - `runAnalyticsPageLoadsTest` - Merchant can load and see all pages in Analytics - `runImportProductsTest` - Merchant can import products via CSV file - - `runInitiateWccomConnectionTest` - Merchant can initiate connection to Woo.com + - `runInitiateWccomConnectionTest` - Merchant can initiate connection to WooCommerce.com - `runAdminPageLoadTests` - Merchant can load pages from the WP Admin sidebar ### Shopper diff --git a/packages/js/e2e-core-tests/src/specs/merchant/wp-admin-extensions-connect-wccom.test.js b/packages/js/e2e-core-tests/src/specs/merchant/wp-admin-extensions-connect-wccom.test.js index f3519905499..b202f65c363 100644 --- a/packages/js/e2e-core-tests/src/specs/merchant/wp-admin-extensions-connect-wccom.test.js +++ b/packages/js/e2e-core-tests/src/specs/merchant/wp-admin-extensions-connect-wccom.test.js @@ -20,7 +20,7 @@ const runInitiateWccomConnectionTest = () => { // Click on a tab to choose WooCommerce Subscriptions extension await Promise.all( [ expect( page ).toClick( 'a.nav-tab', { - text: 'Woo.com Subscriptions', + text: 'WooCommerce.com Subscriptions', } ), page.waitForNavigation( { waitUntil: 'networkidle0' } ), ] ); diff --git a/packages/js/experimental/changelog/update-woo-com-to-woocommerce-com b/packages/js/experimental/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/js/experimental/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/js/experimental/src/inbox-note/test/inbox-note.tsx b/packages/js/experimental/src/inbox-note/test/inbox-note.tsx index 84e107bfaca..4f8dbb61273 100644 --- a/packages/js/experimental/src/inbox-note/test/inbox-note.tsx +++ b/packages/js/experimental/src/inbox-note/test/inbox-note.tsx @@ -30,7 +30,7 @@ describe( 'InboxNoteCard', () => { id: 1, name: 'wc-admin-wc-helper-connection', type: 'info', - title: 'Connect to Woo.com', + title: 'Connect to WooCommerce.com', content: 'Connect to get important product notifications and updates.', status: 'unactioned', date_created: '2020-05-10T16:57:31', diff --git a/packages/js/onboarding/changelog/update-woo-com-to-woocommerce-com b/packages/js/onboarding/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/js/onboarding/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/js/onboarding/src/components/WCPayCard/WCPayCard.tsx b/packages/js/onboarding/src/components/WCPayCard/WCPayCard.tsx index 4d93e33c4aa..3a289810600 100644 --- a/packages/js/onboarding/src/components/WCPayCard/WCPayCard.tsx +++ b/packages/js/onboarding/src/components/WCPayCard/WCPayCard.tsx @@ -54,7 +54,7 @@ export const WCPayCardBody: React.VFC< WCPayCardBodyProps > = ( { target="_blank" type="external" rel="noreferrer" - href="https://woo.com/payments/?utm_medium=product" + href="https://woocommerce.com/payments/?utm_medium=product" onClick={ onLinkClick } > { __( 'Learn more', 'woocommerce' ) } diff --git a/packages/js/product-editor/changelog/update-woo-com-to-woocommerce-com b/packages/js/product-editor/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/js/product-editor/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/js/product-editor/src/components/details-feature-field/details-feature-field.tsx b/packages/js/product-editor/src/components/details-feature-field/details-feature-field.tsx index 1297988efe7..1821c2e41f4 100644 --- a/packages/js/product-editor/src/components/details-feature-field/details-feature-field.tsx +++ b/packages/js/product-editor/src/components/details-feature-field/details-feature-field.tsx @@ -39,7 +39,7 @@ export const DetailsFeatureField = () => { { moreLink: ( diff --git a/packages/php/remote-specs-validation/changelog/update-woo-com-to-woocommerce-com b/packages/php/remote-specs-validation/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/packages/php/remote-specs-validation/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/packages/php/remote-specs-validation/tests/fixtures/obw-free-extensions.json b/packages/php/remote-specs-validation/tests/fixtures/obw-free-extensions.json index c8b6e19833d..4147a07ab43 100644 --- a/packages/php/remote-specs-validation/tests/fixtures/obw-free-extensions.json +++ b/packages/php/remote-specs-validation/tests/fixtures/obw-free-extensions.json @@ -5,7 +5,7 @@ "plugins": [ { "name": "WooPayments", - "description": "Accept credit cards and other popular payment methods with WooPayments", + "description": "Accept credit cards and other popular payment methods with WooPayments", "is_visible": [ { "type": "or", @@ -235,7 +235,7 @@ }, { "name": "WooCommerce Shipping", - "description": "Print shipping labels with WooCommerce Shipping", + "description": "Print shipping labels with WooCommerce Shipping", "is_visible": [ { "type": "base_location_country", @@ -301,7 +301,7 @@ }, { "name": "WooCommerce Tax", - "description": "Get automated sales tax with WooCommerce Tax", + "description": "Get automated sales tax with WooCommerce Tax", "is_visible": [ { "type": "or", @@ -380,7 +380,7 @@ }, { "name": "Jetpack", - "description": "Enhance speed and security with Jetpack", + "description": "Enhance speed and security with Jetpack", "is_visible": [ { "type": "not", @@ -406,7 +406,7 @@ "plugins": [ { "name": "MailPoet", - "description": "Level up your email marketing with MailPoet", + "description": "Level up your email marketing with MailPoet", "manage_url": "admin.php?page=mailpoet-newsletters", "is_visible": [ { @@ -426,8 +426,8 @@ }, { "name": "Google Listings & Ads", - "description": "Drive sales with Google Listings and Ads", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/google.svg", + "description": "Drive sales with Google Listings and Ads", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/google.svg", "manage_url": "admin.php?page=wc-admin&path=%2Fgoogle%2Fstart", "is_visible": [ { @@ -449,7 +449,7 @@ { "name": "Pinterest for WooCommerce", "description": "Get your products in front of Pinners searching for ideas and things to buy.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/pinterest.png", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/pinterest.png", "manage_url": "admin.php?page=wc-admin&path=%2Fpinterest%2Flanding", "is_built_by_wc": true, "min_php_version": "7.3", @@ -457,8 +457,8 @@ }, { "name": "Facebook for WooCommerce", - "description": "List products and create ads on Facebook and Instagram with Facebook for WooCommerce", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/facebook.png", + "description": "List products and create ads on Facebook and Instagram with Facebook for WooCommerce", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/facebook.png", "manage_url": "admin.php?page=wc-facebook", "is_visible": false, "is_built_by_wc": false, @@ -473,7 +473,7 @@ { "name": "MailPoet", "description": "Create and send purchase follow-up emails, newsletters, and promotional campaigns straight from your dashboard.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/mailpoet.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/mailpoet.svg", "manage_url": "admin.php?page=mailpoet-newsletters", "is_built_by_wc": true, "key": "mailpoet:alt" @@ -481,7 +481,7 @@ { "name": "Mailchimp", "description": "Send targeted campaigns, recover abandoned carts and much more with Mailchimp.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/mailchimp.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/mailchimp.svg", "manage_url": "admin.php?page=mailchimp-woocommerce", "is_built_by_wc": false, "key": "mailchimp-for-woocommerce" @@ -489,7 +489,7 @@ { "name": "Klaviyo", "description": "Grow and retain customers with intelligent, impactful email and SMS marketing automation and a consolidated view of customer interactions.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/klaviyo.png", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/klaviyo.png", "manage_url": "admin.php?page=klaviyo_settings", "is_built_by_wc": false, "key": "klaviyo" @@ -503,14 +503,14 @@ { "name": "Google Listings & Ads", "description": "Reach more shoppers and drive sales for your store. Integrate with Google to list your products for free and launch paid ad campaigns.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/google.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/google.svg", "manage_url": "admin.php?page=wc-admin&path=%2Fgoogle%2Fstart", "is_built_by_wc": true, "key": "google-listings-and-ads:alt" }, { "name": "TikTok for WooCommerce", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/tiktok.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/tiktok.svg", "description": "Grow your online sales by promoting your products on TikTok to over one billion monthly active users around the world.", "manage_url": "admin.php?page=tiktok", "is_visible": [ @@ -726,7 +726,7 @@ { "name": "Pinterest for WooCommerce", "description": "Get your products in front of Pinterest users searching for ideas and things to buy. Get started with Pinterest and make your entire product catalog browsable.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/pinterest.png", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/pinterest.png", "manage_url": "admin.php?page=wc-admin&path=%2Fpinterest%2Flanding", "is_built_by_wc": true, "key": "pinterest-for-woocommerce:alt" @@ -734,7 +734,7 @@ { "name": "Facebook for WooCommerce", "description": "List products and create ads on Facebook and Instagram.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/facebook.png", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/facebook.png", "manage_url": "admin.php?page=wc-facebook", "is_visible": false, "is_built_by_wc": false, @@ -976,8 +976,8 @@ "min_wp_version": "5.9", "key": "woocommerce-payments", "label": "Get paid with WooPayments", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", - "learn_more_link": "https://woo.com/products/woocommerce-payments", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", + "learn_more_link": "https://woocommerce.com/products/woocommerce-payments", "install_priority": 5 }, { @@ -993,8 +993,8 @@ "is_built_by_wc": true, "key": "woocommerce-services:shipping", "label": "Print shipping labels with WooCommerce Shipping", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", - "learn_more_link": "https://woo.com/woocommerce-shipping", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", + "learn_more_link": "https://woocommerce.com/woocommerce-shipping", "install_priority": 3 }, { @@ -1005,20 +1005,20 @@ "min_wp_version": "6.0", "key": "jetpack", "label": "Boost content creation with Jetpack AI Assistant", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-jetpack.svg", - "learn_more_link": "https://woo.com/products/jetpack", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-jetpack.svg", + "learn_more_link": "https://woocommerce.com/products/jetpack", "install_priority": 8 }, { "name": "Pinterest for WooCommerce", "description": "Get your products in front of a highly engaged audience.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-pinterest.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-pinterest.svg", "manage_url": "admin.php?page=wc-admin&path=%2Fpinterest%2Flanding", "is_built_by_wc": true, "min_php_version": "7.3", "key": "pinterest-for-woocommerce", "label": "Showcase your products with Pinterest", - "learn_more_link": "https://woo.com/products/pinterest-for-woocommerce", + "learn_more_link": "https://woocommerce.com/products/pinterest-for-woocommerce", "install_priority": 2 }, { @@ -1029,21 +1029,21 @@ "is_built_by_wc": true, "key": "mailpoet", "label": "Reach your customers with MailPoet", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-mailpoet.svg", - "learn_more_link": "https://woo.com/products/mailpoet", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-mailpoet.svg", + "learn_more_link": "https://woocommerce.com/products/mailpoet", "install_priority": 7 }, { "name": "Google Listings & Ads", "description": "Reach millions of active shoppers across Google with free product listings and ads.", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-google.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-google.svg", "manage_url": "admin.php?page=wc-admin&path=%2Fgoogle%2Fstart", "is_visible": true, "is_built_by_wc": true, "min_php_version": "7.4", "key": "google-listings-and-ads", "label": "Drive sales with Google Listings & Ads", - "learn_more_link": "https://woo.com/products/google-listings-and-ads", + "learn_more_link": "https://woocommerce.com/products/google-listings-and-ads", "install_priority": 6 }, { @@ -1114,13 +1114,13 @@ "is_built_by_wc": true, "key": "woocommerce-services:tax", "label": "Get automated tax rates with WooCommerce Tax", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", - "learn_more_link": "https://woo.com/products/tax", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-woo.svg", + "learn_more_link": "https://woocommerce.com/products/tax", "install_priority": 4 }, { "name": "TikTok for WooCommerce", - "image_url": "https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-tiktok.svg", + "image_url": "https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-tiktok.svg", "description": "Create advertising campaigns and reach one billion global users.", "manage_url": "admin.php?page=tiktok", "is_visible": [ @@ -1333,7 +1333,7 @@ "is_built_by_wc": false, "key": "tiktok-for-business", "label": "Create ad campaigns with TikTok", - "learn_more_link": "https://woo.com/products/tiktok-for-woocommerce", + "learn_more_link": "https://woocommerce.com/products/tiktok-for-woocommerce", "install_priority": 1 } ] diff --git a/packages/php/remote-specs-validation/tests/fixtures/payment-gateway-suggestions.json b/packages/php/remote-specs-validation/tests/fixtures/payment-gateway-suggestions.json index 5dce638e649..1905f9bdf99 100644 --- a/packages/php/remote-specs-validation/tests/fixtures/payment-gateway-suggestions.json +++ b/packages/php/remote-specs-validation/tests/fixtures/payment-gateway-suggestions.json @@ -3,10 +3,10 @@ "id": "affirm", "title": "Affirm", "content": "Affirm’s tailored Buy Now Pay Later programs remove price as a barrier, turning browsers into buyers, increasing average order value, and expanding your customer base.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/affirm.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/affirm.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/affirm.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/affirm.png", "plugins": [], - "external_link": "https://woo.com/products/woocommerce-gateway-affirm", + "external_link": "https://woocommerce.com/products/woocommerce-gateway-affirm", "is_visible": [ { "type": "or", @@ -41,8 +41,8 @@ "id": "afterpay", "title": "Afterpay", "content": "Afterpay allows customers to receive products immediately and pay for purchases over four installments, always interest-free.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/afterpay.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/afterpay.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/afterpay.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/afterpay.png", "plugins": [ "afterpay-gateway-for-woocommerce" ], @@ -86,9 +86,9 @@ "id": "airwallex_main", "title": "Airwallex Payments", "content": "Boost international sales and save on FX fees. Accept 60+ local payment methods including Apple Pay and Google Pay.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/airwallex.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/airwallex.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/airwallex-square.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/airwallex.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/airwallex.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/airwallex-square.png", "plugins": [ "airwallex-online-payments-gateway" ], @@ -210,8 +210,8 @@ "id": "amazon_payments_advanced", "title": "Amazon Pay", "content": "Enable a familiar, fast checkout for hundreds of millions of active Amazon customers globally.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/amazonpay.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/amazonpay.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/amazonpay.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/amazonpay.png", "plugins": [ "woocommerce-gateway-amazon-payments-advanced" ], @@ -345,8 +345,8 @@ "id": "bacs", "title": "Direct bank transfer", "content": "Take payments via bank transfer.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/bacs.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/bacs.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/bacs.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/bacs.png", "is_visible": [ { "type": "pass" @@ -359,8 +359,8 @@ "id": "cod", "title": "Cash on delivery", "content": "Take payments in cash upon delivery.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/cod.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/cod.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/cod.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/cod.png", "is_visible": [ { "type": "pass" @@ -373,9 +373,9 @@ "id": "eway", "title": "Eway", "content": "The Eway extension for WooCommerce allows you to take credit card payments directly on your store without redirecting your customers to a third party site to make payment.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/eway.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/eway.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/eway-square.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/eway.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/eway.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/eway-square.png", "plugins": [ "woocommerce-gateway-eway" ], @@ -388,8 +388,8 @@ "id": "kco", "title": "Klarna Checkout", "content": "Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/klarna-black.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/klarna.png", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/klarna-black.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/klarna.png", "plugins": [ "klarna-checkout-for-woocommerce" ], @@ -448,8 +448,8 @@ "id": "klarna_payments", "title": "Klarna Payments", "content": "Choose the payment that you want, pay now, pay later or slice it. No credit card numbers, no passwords, no worries.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/klarna-black.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/klarna.png", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/klarna-black.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/klarna.png", "plugins": [ "klarna-payments-for-woocommerce" ], @@ -604,9 +604,9 @@ "id": "mollie_wc_gateway_banktransfer", "title": "Mollie", "content": "Effortless payments by Mollie: Offer global and local payment methods, get onboarded in minutes, and supported in your language.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mollie.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/mollie.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mollie-square.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mollie.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/mollie.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mollie-square.png", "plugins": [ "mollie-payments-for-woocommerce" ], @@ -692,8 +692,8 @@ "id": "payfast", "title": "Payfast", "content": "The Payfast extension for WooCommerce enables you to accept payments by Credit Card and EFT via one of South Africa’s most popular payment gateways. No setup fees or monthly subscription costs. Selecting this extension will configure your store to use South African rands as the selected currency.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/payfast.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payfast.png", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/payfast.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payfast.png", "plugins": [ "woocommerce-payfast-gateway" ], @@ -740,8 +740,8 @@ "id": "payoneer-checkout", "title": "Payoneer Checkout", "content": "Payoneer Checkout is the next generation of payment processing platforms, giving merchants around the world the solutions and direction they need to succeed in today’s hyper-competitive global market.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/payoneer.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payoneer.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/payoneer.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payoneer.png", "plugins": [ "payoneer-checkout" ], @@ -773,9 +773,9 @@ "id": "paystack", "title": "Paystack", "content": "Paystack helps African merchants accept one-time and recurring payments online with a modern, safe, and secure payment gateway.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paystack.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paystack-square.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/paystack.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paystack.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paystack-square.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/paystack.png", "plugins": [ "woo-paystack" ], @@ -834,8 +834,8 @@ "id": "payubiz", "title": "PayU for WooCommerce", "content": "Enable PayU’s exclusive plugin for WooCommerce to start accepting payments in 100+ payment methods available in India including credit cards, debit cards, UPI, & more!", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/payu.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payu.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/payu.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/payu.png", "plugins": [ "payu-india" ], @@ -877,9 +877,9 @@ "id": "ppcp-gateway", "title": "PayPal Payments", "content": "Safe and secure payments using credit cards or your customer's PayPal account.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/paypal.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/paypal.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paypal.svg", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/paypal.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/paypal.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/paypal.svg", "plugins": [ "woocommerce-paypal-payments" ], @@ -1263,8 +1263,8 @@ "id": "razorpay", "title": "Razorpay", "content": "The official Razorpay extension for WooCommerce allows you to accept credit cards, debit cards, netbanking, wallet, and UPI payments.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/razorpay.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/razorpay.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/razorpay.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/razorpay.png", "plugins": [ "woo-razorpay" ], @@ -1306,8 +1306,8 @@ "id": "square_credit_card", "title": "Square", "content": "Securely accept credit and debit cards with one low rate, no surprise fees (custom rates available). Sell online and in store and track sales and inventory in one place.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/square-black.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/square.png", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/square-black.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/square.png", "plugins": [ "woocommerce-square" ], @@ -1488,9 +1488,9 @@ "id": "stripe", "title": "Stripe", "content": "Accept debit and credit cards in 135+ currencies, methods such as Alipay, and one-touch checkout with Apple Pay.", - "image": "https://woo.com/wp-content/plugins/woocommerce/assets/images/stripe.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/stripe.png", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/stripe.svg", + "image": "https://woocommerce.com/wp-content/plugins/woocommerce/assets/images/stripe.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/stripe.png", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/stripe.svg", "plugins": [ "woocommerce-gateway-stripe" ], @@ -1771,8 +1771,8 @@ "id": "woo-mercado-pago-custom", "title": "Mercado Pago Checkout Pro & Custom", "content": "Accept credit and debit cards, offline (cash or bank transfer) and logged-in payments with money in Mercado Pago. Safe and secure payments with the leading payment processor in LATAM.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mercadopago.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/mercadopago.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/mercadopago.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/mercadopago.png", "plugins": [ "woocommerce-mercadopago" ], @@ -1841,9 +1841,9 @@ "id": "woocommerce_payments", "title": "WooPayments", "content": "Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", "plugins": [ "woocommerce-payments" ], @@ -2105,9 +2105,9 @@ "id": "woocommerce_payments:without-in-person-payments", "title": "WooPayments", "content": "Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", "plugins": [ "woocommerce-payments" ], @@ -2348,9 +2348,9 @@ "id": "woocommerce_payments:with-in-person-payments", "title": "WooPayments", "content": "Manage transactions without leaving your WordPress Dashboard. Only with WooPayments.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", - "square_image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "square_image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/woocommerce.svg", "plugins": [ "woocommerce-payments" ], @@ -2416,8 +2416,8 @@ "id": "zipmoney", "title": "Zip Co - Buy Now, Pay Later", "content": "Give your customers the power to pay later, interest free and watch your sales grow.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/zipmoney.png", - "image_72x72": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/zipmoney.png", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/zipmoney.png", + "image_72x72": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/72x72/zipmoney.png", "plugins": [ "zipmoney-payments-woocommerce" ], diff --git a/packages/php/remote-specs-validation/tests/fixtures/remote-inbox-notification.json b/packages/php/remote-specs-validation/tests/fixtures/remote-inbox-notification.json index d98a14f899c..7d485f422c9 100644 --- a/packages/php/remote-specs-validation/tests/fixtures/remote-inbox-notification.json +++ b/packages/php/remote-specs-validation/tests/fixtures/remote-inbox-notification.json @@ -21,7 +21,7 @@ "label": "Level up with funding" } ], - "url": "https://woo.com/products/wayflyer/?utm_source=inbox_note&utm_medium=product&utm_campaign=wayflyer_bnpl_q4_2021", + "url": "https://woocommerce.com/products/wayflyer/?utm_source=inbox_note&utm_medium=product&utm_campaign=wayflyer_bnpl_q4_2021", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -111,7 +111,7 @@ { "locale": "en_US", "title": "Print and manage your shipping labels with WooCommerce Shipping and the WooCommerce Mobile App", - "content": "Save time by printing, purchasing, refunding, and tracking shipping labels generated by WooCommerce Shipping – all directly from your mobile device!" + "content": "Save time by printing, purchasing, refunding, and tracking shipping labels generated by WooCommerce Shipping – all directly from your mobile device!" } ], "actions": [ @@ -123,7 +123,7 @@ "label": "Get WooCommerce Shipping" } ], - "url": "https://woo.com/woocommerce-shipping/?utm_source=inbox_note&utm_medium=product&utm_campaign=wc_shipping_mobile_app_usps_q4_2021", + "url": "https://woocommerce.com/woocommerce-shipping/?utm_source=inbox_note&utm_medium=product&utm_campaign=wc_shipping_mobile_app_usps_q4_2021", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -218,7 +218,7 @@ { "locale": "en_US", "title": "Your first product", - "content": "That’s huge! You’re well on your way to building a successful online store — now it’s time to think about how you’ll fulfill your orders.

Read our shipping guide to learn best practices and options for putting together your shipping strategy. And for WooCommerce stores in the United States, you can print discounted shipping labels via USPS with WooCommerce Shipping." + "content": "That’s huge! You’re well on your way to building a successful online store — now it’s time to think about how you’ll fulfill your orders.

Read our shipping guide to learn best practices and options for putting together your shipping strategy. And for WooCommerce stores in the United States, you can print discounted shipping labels via USPS with WooCommerce Shipping." } ], "actions": [ @@ -230,7 +230,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/ecommerce-shipping-solutions-guide/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", + "url": "https://woocommerce.com/posts/ecommerce-shipping-solutions-guide/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -289,7 +289,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/optimizing-woocommerce-checkout?utm_source=inbox_note&utm_medium=product&utm_campaign=optimizing-the-checkout-flow", + "url": "https://woocommerce.com/posts/optimizing-woocommerce-checkout?utm_source=inbox_note&utm_medium=product&utm_campaign=optimizing-the-checkout-flow", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -430,7 +430,7 @@ "label": "Get started" } ], - "url": "https://woo.com/products/google-listings-and-ads?utm_source=inbox_note&utm_medium=product&utm_campaign=get-started", + "url": "https://woocommerce.com/products/google-listings-and-ads?utm_source=inbox_note&utm_medium=product&utm_campaign=get-started", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -469,7 +469,7 @@ { "locale": "en_US", "title": "WooCommerce Subscriptions security update!", - "content": "We recently released an important security update to WooCommerce Subscriptions. To ensure your site’s data is protected, please upgrade WooCommerce Subscriptions to version 3.0.15 or later.

Click the button below to view and update to the latest Subscriptions version, or log in to WooCommerce.com Dashboard and navigate to your Downloads page.

We recommend always using the latest version of WooCommerce Subscriptions, and other software running on your site, to ensure maximum security.

If you have any questions we are here to help — just open a ticket." + "content": "We recently released an important security update to WooCommerce Subscriptions. To ensure your site’s data is protected, please upgrade WooCommerce Subscriptions to version 3.0.15 or later.

Click the button below to view and update to the latest Subscriptions version, or log in to WooCommerce.com Dashboard and navigate to your Downloads page.

We recommend always using the latest version of WooCommerce Subscriptions, and other software running on your site, to ensure maximum security.

If you have any questions we are here to help — just open a ticket." } ], "actions": [ @@ -583,7 +583,7 @@ { "locale": "en_US", "title": "Get the latest PayPal extension for WooCommerce", - "content": "Heads up! There’s a new PayPal on the block!

Now is a great time to upgrade to our latest PayPal extension to continue to receive support and updates with PayPal.

Get access to a full suite of PayPal payment methods, extensive currency and country coverage, and pay later options with the all-new PayPal extension for WooCommerce." + "content": "Heads up! There’s a new PayPal on the block!

Now is a great time to upgrade to our latest PayPal extension to continue to receive support and updates with PayPal.

Get access to a full suite of PayPal payment methods, extensive currency and country coverage, and pay later options with the all-new PayPal extension for WooCommerce." } ], "actions": [ @@ -668,7 +668,7 @@ { "locale": "en_US", "title": "Upgrade your PayPal experience!", - "content": "Get access to a full suite of PayPal payment methods, extensive currency and country coverage, offer subscription and recurring payments, and the new PayPal pay later options.

Start using our latest PayPal today to continue to receive support and updates." + "content": "Get access to a full suite of PayPal payment methods, extensive currency and country coverage, offer subscription and recurring payments, and the new PayPal pay later options.

Start using our latest PayPal today to continue to receive support and updates." } ], "actions": [ @@ -765,7 +765,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", + "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", "url_is_admin_query": false, "is_primary": true, "status": "unactioned" @@ -1161,7 +1161,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", + "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", "url_is_admin_query": false, "is_primary": true, "status": "unactioned" @@ -1395,7 +1395,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", + "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", "url_is_admin_query": false, "is_primary": true, "status": "unactioned" @@ -1608,7 +1608,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", + "url": "https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/?utm_source=inbox_note&utm_medium=product&utm_campaign=learn-more", "url_is_admin_query": false, "is_primary": true, "status": "unactioned" @@ -1907,7 +1907,7 @@ { "locale": "en_US", "title": "Security auto-update of WooCommerce", - "content": "Your store has been updated to the latest secure version of WooCommerce. We worked with WordPress to deploy PayPal Standard security updates for stores running WooCommerce (version 3.5 to 6.3). It’s recommended to disable PayPal Standard, and use PayPal Payments to accept PayPal." + "content": "Your store has been updated to the latest secure version of WooCommerce. We worked with WordPress to deploy PayPal Standard security updates for stores running WooCommerce (version 3.5 to 6.3). It’s recommended to disable PayPal Standard, and use PayPal Payments to accept PayPal." } ], "actions": [ @@ -2401,7 +2401,7 @@ "label": "Update Instructions" } ], - "url": "https://woo.com/document/pinterest-for-woocommerce/?utm_source=inbox_note&utm_medium=product&utm_campaign=pinterest_03_2022_update#section-3", + "url": "https://woocommerce.com/document/pinterest-for-woocommerce/?utm_source=inbox_note&utm_medium=product&utm_campaign=pinterest_03_2022_update#section-3", "url_is_admin_query": false, "is_primary": false, "status": "actioned" @@ -2914,7 +2914,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-activate-learnmore-04MAY23", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-activate-learnmore-04MAY23", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -4076,7 +4076,7 @@ "label": "Simplify my payments" } ], - "url": "https://woo.com/products/woocommerce-payments/?utm_source=inbox_note&utm_medium=product&utm_campaign=tap_to_pay_iphone_q2_2023_no_wcpay", + "url": "https://woocommerce.com/products/woocommerce-payments/?utm_source=inbox_note&utm_medium=product&utm_campaign=tap_to_pay_iphone_q2_2023_no_wcpay", "url_is_admin_query": false, "is_primary": false, "status": "actioned" @@ -5248,7 +5248,7 @@ "label": "Documentation" } ], - "url": "https://woo.com/document/woopay-merchant-documentation/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-existingmerchants-noaction-documentation-27APR23", + "url": "https://woocommerce.com/document/woopay-merchant-documentation/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-existingmerchants-noaction-documentation-27APR23", "url_is_admin_query": false, "is_primary": true, "status": "actioned" @@ -5885,7 +5885,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-04MAY23", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-04MAY23", "url_is_admin_query": false, "is_primary": false, "status": "actioned" @@ -8019,7 +8019,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTA", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTA", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -8080,7 +8080,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTA", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTA", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -8141,7 +8141,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTC", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTC", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -8202,7 +8202,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTD", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-06MAY23-TESTD", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -8263,7 +8263,7 @@ "label": "Learn More" } ], - "url": "https://woo.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-button2-09MAY23", + "url": "https://woocommerce.com/woopay-businesses/?utm_source=inbox_note&utm_medium=product&utm_campaign=woopay-beta-merchantrecruitment-short-activate-learnmore-button2-09MAY23", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -8862,7 +8862,7 @@ "label": "Learn more" } ], - "url": "https://woo.com/document/fedex/?utm_medium=product&utm_source=inbox_note&utm_campaign=learn-more#july-2023-api-outage", + "url": "https://woocommerce.com/document/fedex/?utm_medium=product&utm_source=inbox_note&utm_campaign=learn-more#july-2023-api-outage", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -9522,7 +9522,7 @@ "label": "Automate my sales tax" } ], - "url": "https://woo.com/products/woocommerce-avatax/?utm_source=inbox_note&utm_medium=product&utm_campaign=avalara_q3-2023_noAvaTax", + "url": "https://woocommerce.com/products/woocommerce-avatax/?utm_source=inbox_note&utm_medium=product&utm_campaign=avalara_q3-2023_noAvaTax", "url_is_admin_query": false, "is_primary": true, "status": "unactioned" @@ -9951,7 +9951,7 @@ "label": "Leave a review" } ], - "url": "https://woo.com/products/woocommerce-amazon-fulfillment/?review&utm_source=inbox_note&utm_medium=product&utm_campaign=amazon-mcf-review-button-2023-12-07", + "url": "https://woocommerce.com/products/woocommerce-amazon-fulfillment/?review&utm_source=inbox_note&utm_medium=product&utm_campaign=amazon-mcf-review-button-2023-12-07", "url_is_admin_query": false, "is_primary": false, "status": "actioned" @@ -9964,7 +9964,7 @@ "label": "Request support" } ], - "url": "https://woo.com/my-account/contact-support/?utm_source=inbox_note&utm_medium=product&utm_campaign=amazon-mcf-support-button-2023-12-07", + "url": "https://woocommerce.com/my-account/contact-support/?utm_source=inbox_note&utm_medium=product&utm_campaign=amazon-mcf-support-button-2023-12-07", "url_is_admin_query": false, "is_primary": false, "status": "actioned" @@ -10072,7 +10072,7 @@ "label": "Learn about Deposit schedules" } ], - "url": "https://woo.com/document/woopayments/deposits/deposit-schedule/?utm_source=inbox_note&utm_medium=product&utm_campaign=view_docs#available-funds", + "url": "https://woocommerce.com/document/woopayments/deposits/deposit-schedule/?utm_source=inbox_note&utm_medium=product&utm_campaign=view_docs#available-funds", "url_is_admin_query": false, "is_primary": false, "status": "unactioned" @@ -10117,7 +10117,7 @@ "label": "Find more clarity" } ], - "url": "https://woo.com/document/order-attribution-tracking/?utm_source=inbox_note&utm_medium=product&utm_campaign=custom_order_attribution_inbox_q1_2024", + "url": "https://woocommerce.com/document/order-attribution-tracking/?utm_source=inbox_note&utm_medium=product&utm_campaign=custom_order_attribution_inbox_q1_2024", "url_is_admin_query": false, "is_primary": false, "status": "actioned" diff --git a/packages/php/remote-specs-validation/tests/fixtures/shipping-partner-suggestions.json b/packages/php/remote-specs-validation/tests/fixtures/shipping-partner-suggestions.json index 7c379360908..fd9b1a347c7 100644 --- a/packages/php/remote-specs-validation/tests/fixtures/shipping-partner-suggestions.json +++ b/packages/php/remote-specs-validation/tests/fixtures/shipping-partner-suggestions.json @@ -5,46 +5,46 @@ "slug": "woocommerce-shipstation-integration", "description": "Powerful yet easy-to-use solution:", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/shipstation-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/shipstation-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } ] }, "layout_row": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/shipstation-row.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/shipstation-row.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Print labels from Royal Mail, Parcel Force, DPD, and many more" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Shop for the best rates, in real-time" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Connect selling channels easily" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Advance automated workflows" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "30-days free trial" } ] @@ -82,20 +82,20 @@ "name": "Skydropx", "slug": "skydropx-cotizador-y-envios", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/skydropx-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/skydropx-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } @@ -119,26 +119,26 @@ "slug": "", "description": "", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/envia-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/envia-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } ] }, - "learn_more_link": "https://woo.com/products/envia-shipping-and-fulfillment/", + "learn_more_link": "https://woocommerce.com/products/envia-shipping-and-fulfillment/", "is_visible": [ { "type": "or", @@ -186,51 +186,51 @@ "slug": "easyship-woocommerce-shipping-rates", "description": "Simplified shipping with: ", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/easyship-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/easyship-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } ] }, "layout_row": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/easyship-row.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/easyship-row.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Highly discounted shipping rates" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Seamless order sync and label printing" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Branded tracking experience" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Built-in Tax & Duties paperwork" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Free Plan Available" } ] }, - "learn_more_link": "https://woo.com/products/easyship-shipping-rates/", + "learn_more_link": "https://woocommerce.com/products/easyship-shipping-rates/", "is_visible": [ { "type": "or", @@ -269,46 +269,46 @@ "slug": "sendcloud-shipping", "description": "All-in-one shipping tool:", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/sendcloud-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/sendcloud-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } ] }, "layout_row": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/sendcloud-row.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/sendcloud-row.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Print labels from 80+ carriers" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Process orders in just a few clicks" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Customize checkout options" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Self-service tracking & returns" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Start with a free plan" } ] @@ -372,46 +372,46 @@ "slug": "packlink-pro-shipping", "description": "Optimize your full shipping process:", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/packlink-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/packlink-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/timer.svg", "title": "Save time", "description": "Automatically import order information to quickly print your labels." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Save money", "description": "Shop for the best shipping rates, and access pre-negotiated discounted rates." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/star.svg", "title": "Wow your shoppers", "description": "Keep your customers informed with tracking notifications." } ] }, "layout_row": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/packlink-row.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/packlink-row.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Automated, real-time order import" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Direct access to leading carriers" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Access competitive shipping prices" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Quickly bulk print labels" }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/check.svg", "description": "Free shipping platform" } ] @@ -455,26 +455,26 @@ "slug": "woocommerce-services", "description": "Save time and money by printing your shipping labels right from your computer with WooCommerce Shipping. Try WooCommerce Shipping for free.", "layout_column": { - "image": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/wcs-column.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/wcs-column.svg", "features": [ { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/printer.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/printer.svg", "title": "Buy postage when you need it", "description": "No need to wonder where that stampbook went." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/paper.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/paper.svg", "title": "Print at home", "description": "Pick up an order, then just pay, print, package and post." }, { - "icon": "https://woo.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", + "icon": "https://woocommerce.com/wp-content/plugins/wccom-plugins/shipping-partner-suggestions/images/discount.svg", "title": "Discounted rates", "description": "Access discounted shipping rates with DHL and USPS." } ] }, - "learn_more_link": "https://woo.com/products/shipping/", + "learn_more_link": "https://woocommerce.com/products/shipping/", "is_visible": [ { "type": "or", diff --git a/packages/php/remote-specs-validation/tests/fixtures/wc-pay-promotions.json b/packages/php/remote-specs-validation/tests/fixtures/wc-pay-promotions.json index bc6089797a1..65c8aa20564 100644 --- a/packages/php/remote-specs-validation/tests/fixtures/wc-pay-promotions.json +++ b/packages/php/remote-specs-validation/tests/fixtures/wc-pay-promotions.json @@ -3,7 +3,7 @@ "id": "woocommerce_payments:woopay", "title": "WooPayments", "content": "Payments made simple — including WooPay, a new express checkout feature.

By using WooPayments you agree to the Terms of Service (including WooPay merchant terms) and Privacy Policy.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", "plugins": [ "woocommerce-payments" ], @@ -46,7 +46,7 @@ "operator": ">=" } ], - "sub_title": "\"Visa\"\"Mastercard\"\"Amex\"\"Googlepay\"\"Applepay\"", + "sub_title": "\"Visa\"\"Mastercard\"\"Amex\"\"Googlepay\"\"Applepay\"", "additional_info": { "experiment_version": "v2" } @@ -55,7 +55,7 @@ "id": "woocommerce_payments", "title": "WooPayments", "content": "Payments made simple, with no monthly fees – designed exclusively for WooCommerce stores. Accept credit cards, debit cards, and other popular payment methods.", - "image": "https://woo.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", + "image": "https://woocommerce.com/wp-content/plugins/wccom-plugins/payment-gateway-suggestions/images/wcpay.svg", "plugins": [ "woocommerce-payments" ], @@ -282,7 +282,7 @@ ] } ], - "sub_title": "\"Visa\"\"Mastercard\"\"Amex\"\"Googlepay\"\"Applepay\"", + "sub_title": "\"Visa\"\"Mastercard\"\"Amex\"\"Googlepay\"\"Applepay\"", "additional_info": { "experiment_version": "v2" } diff --git a/plugins/woo-ai/changelog/update-woo-com-to-woocommerce-com b/plugins/woo-ai/changelog/update-woo-com-to-woocommerce-com new file mode 100644 index 00000000000..36ca65dd012 --- /dev/null +++ b/plugins/woo-ai/changelog/update-woo-com-to-woocommerce-com @@ -0,0 +1,4 @@ +Significance: patch +Type: update + +Update Woo.com references to WooCommerce.com. diff --git a/plugins/woo-ai/composer.json b/plugins/woo-ai/composer.json index 30f05a73795..e7f506a60ff 100644 --- a/plugins/woo-ai/composer.json +++ b/plugins/woo-ai/composer.json @@ -1,7 +1,7 @@ { "name": "woocommerce/woo-ai", "description": "Run AI experiments in WooCommerce.", - "homepage": "https://woo.com/", + "homepage": "https://woocommerce.com/", "type": "wordpress-plugin", "license": "GPL-3.0-or-later", "prefer-stable": true, diff --git a/plugins/woo-ai/woo-ai.php b/plugins/woo-ai/woo-ai.php index 2214a895cf4..36e6cc7f835 100644 --- a/plugins/woo-ai/woo-ai.php +++ b/plugins/woo-ai/woo-ai.php @@ -5,7 +5,7 @@ * Description: Enable AI experiments within the WooCommerce experience. Learn more. * Version: 0.6.0 * Author: WooCommerce - * Author URI: https://woo.com/ + * Author URI: https://woocommerce.com/ * Requires at least: 5.8 * Tested up to: 6.5 * WC requires at least: 6.7 diff --git a/plugins/woocommerce-admin/client/activity-panel/panels/help.js b/plugins/woocommerce-admin/client/activity-panel/panels/help.js index ddf5e184b71..943e23287a5 100644 --- a/plugins/woocommerce-admin/client/activity-panel/panels/help.js +++ b/plugins/woocommerce-admin/client/activity-panel/panels/help.js @@ -30,27 +30,27 @@ function getHomeItems() { return [ { title: __( 'Get Support', 'woocommerce' ), - link: 'https://woo.com/my-account/create-a-ticket/?utm_medium=product', + link: 'https://woocommerce.com/my-account/create-a-ticket/?utm_medium=product', }, { title: __( 'Home Screen', 'woocommerce' ), - link: 'https://woo.com/document/home-screen/?utm_medium=product', + link: 'https://woocommerce.com/document/home-screen/?utm_medium=product', }, { title: __( 'Inbox', 'woocommerce' ), - link: 'https://woo.com/document/home-screen/?utm_medium=product#section-4', + link: 'https://woocommerce.com/document/home-screen/?utm_medium=product#section-4', }, { title: __( 'Stats Overview', 'woocommerce' ), - link: 'https://woo.com/document/home-screen/?utm_medium=product#section-5', + link: 'https://woocommerce.com/document/home-screen/?utm_medium=product#section-5', }, { title: __( 'Store Management', 'woocommerce' ), - link: 'https://woo.com/document/home-screen/?utm_medium=product#section-10', + link: 'https://woocommerce.com/document/home-screen/?utm_medium=product#section-10', }, { title: __( 'Store Setup Checklist', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-setup-wizard?utm_medium=product#store-setup-checklist', + link: 'https://woocommerce.com/document/woocommerce-setup-wizard?utm_medium=product#store-setup-checklist', }, ]; } @@ -62,18 +62,18 @@ function getAppearanceItems() { 'Showcase your products and tailor your shopping experience using Blocks', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-blocks/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/woocommerce-blocks/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Manage Store Notice, Catalog View and Product Images', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-customizer/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/woocommerce-customizer/?utm_source=help_panel&utm_medium=product', }, { title: __( 'How to choose and change a theme', 'woocommerce' ), - link: 'https://woo.com/document/choose-change-theme/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/choose-change-theme/?utm_source=help_panel&utm_medium=product', }, ]; } @@ -88,11 +88,11 @@ function getMarketingItems( props ) { }, activePlugins.includes( 'google-listings-and-ads' ) && { title: __( 'Set up Google Listing & Ads', 'woocommerce' ), - link: 'https://woo.com/document/google-listings-and-ads/?utm_medium=product#get-started', + link: 'https://woocommerce.com/document/google-listings-and-ads/?utm_medium=product#get-started', }, activePlugins.includes( 'pinterest-for-woocommerce' ) && { title: __( 'Set up Pinterest for WooCommerce', 'woocommerce' ), - link: 'https://woo.com/products/pinterest-for-woocommerce/', + link: 'https://woocommerce.com/products/pinterest-for-woocommerce/', }, activePlugins.includes( 'mailchimp-for-woocommerce' ) && { title: __( 'Connect Mailchimp for WooCommerce', 'woocommerce' ), @@ -111,54 +111,54 @@ function getPaymentGatewaySuggestions( props ) { return [ { title: __( 'Which Payment Option is Right for Me?', 'woocommerce' ), - link: 'https://woo.com/document/premium-payment-gateway-extensions/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/premium-payment-gateway-extensions/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.woocommerce_payments && { title: __( 'WooPayments Start Up Guide', 'woocommerce' ), - link: 'https://woo.com/document/payments/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/payments/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.woocommerce_payments && { title: __( 'WooPayments FAQs', 'woocommerce' ), - link: 'https://woo.com/documentation/woocommerce-payments/woocommerce-payments-faqs/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/documentation/woocommerce-payments/woocommerce-payments-faqs/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.stripe && { title: __( 'Stripe Setup and Configuration', 'woocommerce' ), - link: 'https://woo.com/document/stripe/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/stripe/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions[ 'ppcp-gateway' ] && { title: __( 'PayPal Checkout Setup and Configuration', 'woocommerce' ), - link: 'https://woo.com/document/2-0/woocommerce-paypal-payments/?utm_medium=product#section-3', + link: 'https://woocommerce.com/document/2-0/woocommerce-paypal-payments/?utm_medium=product#section-3', }, paymentGatewaySuggestions.square_credit_card && { title: __( 'Square - Get started', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-square/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/woocommerce-square/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.kco && { title: __( 'Klarna - Introduction', 'woocommerce' ), - link: 'https://woo.com/document/klarna-checkout/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/klarna-checkout/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.klarna_payments && { title: __( 'Klarna - Introduction', 'woocommerce' ), - link: 'https://woo.com/document/klarna-payments/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/klarna-payments/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.payfast && { title: __( 'Payfast Setup and Configuration', 'woocommerce' ), - link: 'https://woo.com/document/payfast-payment-gateway/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/payfast-payment-gateway/?utm_source=help_panel&utm_medium=product', }, paymentGatewaySuggestions.eway && { title: __( 'Eway Setup and Configuration', 'woocommerce' ), - link: 'https://woo.com/document/eway/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/eway/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Direct Bank Transfer (BACS)', 'woocommerce' ), - link: 'https://woo.com/document/bacs/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/bacs/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Cash on Delivery', 'woocommerce' ), - link: 'https://woo.com/document/cash-on-delivery/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/cash-on-delivery/?utm_source=help_panel&utm_medium=product', }, ].filter( Boolean ); } @@ -167,22 +167,22 @@ function getProductsItems() { return [ { title: __( 'Adding and Managing Products', 'woocommerce' ), - link: 'https://woo.com/document/managing-products/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/managing-products/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Import products using the CSV Importer and Exporter', 'woocommerce' ), - link: 'https://woo.com/document/product-csv-importer-exporter/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/product-csv-importer-exporter/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Migrate products using Cart2Cart', 'woocommerce' ), - link: 'https://woo.com/products/cart2cart/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/products/cart2cart/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Learn more about setting up products', 'woocommerce' ), - link: 'https://woo.com/documentation/plugins/woocommerce/getting-started/setup-products/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/documentation/plugins/woocommerce/getting-started/setup-products/?utm_source=help_panel&utm_medium=product', }, ]; } @@ -194,29 +194,29 @@ function getShippingItems( { activePlugins, countryCode } ) { return [ { title: __( 'Setting up Shipping Zones', 'woocommerce' ), - link: 'https://woo.com/document/setting-up-shipping-zones/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/setting-up-shipping-zones/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Core Shipping Options', 'woocommerce' ), - link: 'https://woo.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/documentation/plugins/woocommerce/getting-started/shipping/core-shipping-options/?utm_source=help_panel&utm_medium=product', }, { title: __( 'Product Shipping Classes', 'woocommerce' ), - link: 'https://woo.com/document/product-shipping-classes/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/product-shipping-classes/?utm_source=help_panel&utm_medium=product', }, showWCS && { title: __( 'WooCommerce Shipping setup and configuration', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-shipping-and-tax/?utm_source=help_panel&utm_medium=product#section-3', + link: 'https://woocommerce.com/document/woocommerce-shipping-and-tax/?utm_source=help_panel&utm_medium=product#section-3', }, { title: __( 'Learn more about configuring your shipping settings', 'woocommerce' ), - link: 'https://woo.com/document/plugins/woocommerce/getting-started/shipping/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/plugins/woocommerce/getting-started/shipping/?utm_source=help_panel&utm_medium=product', }, ].filter( Boolean ); } @@ -244,14 +244,14 @@ function getTaxItems( props ) { return [ { title: __( 'Setting up Taxes in WooCommerce', 'woocommerce' ), - link: 'https://woo.com/document/setting-up-taxes-in-woocommerce/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/document/setting-up-taxes-in-woocommerce/?utm_source=help_panel&utm_medium=product', }, showWCS && { title: __( 'Automated Tax calculation using WooCommerce Tax', 'woocommerce' ), - link: 'https://woo.com/document/woocommerce-services/?utm_source=help_panel&utm_medium=product#section-10', + link: 'https://woocommerce.com/document/woocommerce-services/?utm_source=help_panel&utm_medium=product#section-10', }, ].filter( Boolean ); } @@ -295,7 +295,7 @@ function getListItems( props ) { const itemsByType = getItems( props ); const genericDocsLink = { title: __( 'WooCommerce Docs', 'woocommerce' ), - link: 'https://woo.com/documentation/?utm_source=help_panel&utm_medium=product', + link: 'https://woocommerce.com/documentation/?utm_source=help_panel&utm_medium=product', }; itemsByType.push( genericDocsLink ); diff --git a/plugins/woocommerce-admin/client/core-profiler/pages/IntroOptIn.tsx b/plugins/woocommerce-admin/client/core-profiler/pages/IntroOptIn.tsx index a67e60483e4..dc3907172b6 100644 --- a/plugins/woocommerce-admin/client/core-profiler/pages/IntroOptIn.tsx +++ b/plugins/woocommerce-admin/client/core-profiler/pages/IntroOptIn.tsx @@ -77,7 +77,7 @@ export const IntroOptIn = ( { components: { link: ( diff --git a/plugins/woocommerce-admin/client/core-profiler/stories/Plugins.tsx b/plugins/woocommerce-admin/client/core-profiler/stories/Plugins.tsx index c324bc426f0..af2b773f85f 100644 --- a/plugins/woocommerce-admin/client/core-profiler/stories/Plugins.tsx +++ b/plugins/woocommerce-admin/client/core-profiler/stories/Plugins.tsx @@ -22,8 +22,8 @@ const plugins = [ key: 'jetpack', label: 'Enhance security with Jetpack', image_url: - 'https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-jetpack.svg', - learn_more_link: 'https://woo.com/products/jetpack', + 'https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-jetpack.svg', + learn_more_link: 'https://woocommerce.com/products/jetpack', install_priority: 8, is_installed: true, is_activated: true, @@ -33,13 +33,14 @@ const plugins = [ name: 'Pinterest for WooCommerce', description: 'Get your products in front of a highly engaged audience.', image_url: - 'https://woo.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-pinterest.svg', + 'https://woocommerce.com/wp-content/plugins/wccom-plugins/obw-free-extensions/images/core-profiler/logo-pinterest.svg', manage_url: 'admin.php?page=wc-admin&path=%2Fpinterest%2Flanding', is_built_by_wc: true, min_php_version: '7.3', key: 'pinterest-for-woocommerce', label: 'Showcase your products with Pinterest', - learn_more_link: 'https://woo.com/products/pinterest-for-woocommerce', + learn_more_link: + 'https://woocommerce.com/products/pinterest-for-woocommerce', install_priority: 2, is_visible: true, is_installed: false, diff --git a/plugins/woocommerce-admin/client/core-profiler/test/__snapshots__/core-profiler-machine.test.tsx.snap b/plugins/woocommerce-admin/client/core-profiler/test/__snapshots__/core-profiler-machine.test.tsx.snap index 1571a89ded9..129285011a0 100644 --- a/plugins/woocommerce-admin/client/core-profiler/test/__snapshots__/core-profiler-machine.test.tsx.snap +++ b/plugins/woocommerce-admin/client/core-profiler/test/__snapshots__/core-profiler-machine.test.tsx.snap @@ -454,7 +454,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. @@ -598,7 +598,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. @@ -972,7 +972,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. @@ -1116,7 +1116,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. @@ -1877,7 +1877,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. @@ -2021,7 +2021,7 @@ Object { I agree to share my data to tailor my store setup experience, get more relevant content, and help make WooCommerce better for everyone. You can opt out at any time in WooCommerce settings. Learn more about usage tracking. diff --git a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-typography.tsx b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-typography.tsx index 16746a8adcb..924661ff213 100644 --- a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-typography.tsx +++ b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-typography.tsx @@ -180,7 +180,7 @@ export const SidebarNavigationScreenTypography = () => { components: { link: ( diff --git a/plugins/woocommerce-admin/client/dashboard/components/cart-modal.js b/plugins/woocommerce-admin/client/dashboard/components/cart-modal.js index f8bfb16b751..6854fa9e236 100644 --- a/plugins/woocommerce-admin/client/dashboard/components/cart-modal.js +++ b/plugins/woocommerce-admin/client/dashboard/components/cart-modal.js @@ -42,7 +42,7 @@ class CartModal extends Component { } ); const url = getInAppPurchaseUrl( - 'https://woo.com/cart?utm_medium=product', + 'https://woocommerce.com/cart?utm_medium=product', { 'wccom-replace-with': productIds.join( ',' ), } diff --git a/plugins/woocommerce-admin/client/guided-tours/wc-addons-tour/get-steps.ts b/plugins/woocommerce-admin/client/guided-tours/wc-addons-tour/get-steps.ts index e0a457b08cf..93fbc3e5a53 100644 --- a/plugins/woocommerce-admin/client/guided-tours/wc-addons-tour/get-steps.ts +++ b/plugins/woocommerce-admin/client/guided-tours/wc-addons-tour/get-steps.ts @@ -26,7 +26,7 @@ export const getSteps = (): TourKitTypes.WooStep[] => { descriptions: { desktop: createInterpolateElement( __( - "Power up your store by adding extra functionality with extensions or integrate your store with other software and services.

Here you'll find hundreds of trusted solutions for your store — all reviewed and approved by the Woo team.

You can also browse the Woo Marketplace at Woo.com.", + "Power up your store by adding extra functionality with extensions or integrate your store with other software and services.

Here you'll find hundreds of trusted solutions for your store — all reviewed and approved by the Woo team.

You can also browse the Woo Marketplace at WooCommerce.com.", 'woocommerce' ), { @@ -113,14 +113,14 @@ export const getSteps = (): TourKitTypes.WooStep[] => { descriptions: { desktop: createInterpolateElement( __( - "All of your Woo Marketplace purchases can be found here, or on Woo.com.

Every purchase is backed by our 30-day money-back guarantee, and includes email and live chat support.

That's it! You're now ready to power up your store.", + "All of your Woo Marketplace purchases can be found here, or on WooCommerce.com.

Every purchase is backed by our 30-day money-back guarantee, and includes email and live chat support.

That's it! You're now ready to power up your store.", 'woocommerce' ), { a1: createElement( 'a', { - href: 'https://woo.com/refund-policy/', + href: 'https://woocommerce.com/refund-policy/', 'aria-label': __( 'Refund policy', 'woocommerce' @@ -134,7 +134,7 @@ export const getSteps = (): TourKitTypes.WooStep[] => { a2: createElement( 'a', { - href: 'https://woo.com/my-account/create-a-ticket/', + href: 'https://woocommerce.com/my-account/create-a-ticket/', 'aria-label': __( 'Contact support', 'woocommerce' diff --git a/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppInstallationInfo.tsx b/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppInstallationInfo.tsx index d0d8a8875b1..f3476099097 100644 --- a/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppInstallationInfo.tsx +++ b/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppInstallationInfo.tsx @@ -8,7 +8,7 @@ export const MobileAppInstallationInfo = () => {
diff --git a/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppLoginInfo.tsx b/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppLoginInfo.tsx index 84fe97a48da..c4a5c0d8829 100644 --- a/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppLoginInfo.tsx +++ b/plugins/woocommerce-admin/client/homescreen/mobile-app-modal/components/MobileAppLoginInfo.tsx @@ -35,7 +35,7 @@ export const MobileAppLoginInfo = ( { components: { link: ( { diff --git a/plugins/woocommerce-admin/client/marketing/components/CreateNewCampaignModal/CreateNewCampaignModal.test.tsx b/plugins/woocommerce-admin/client/marketing/components/CreateNewCampaignModal/CreateNewCampaignModal.test.tsx index 69943e23891..4351e7f9d28 100644 --- a/plugins/woocommerce-admin/client/marketing/components/CreateNewCampaignModal/CreateNewCampaignModal.test.tsx +++ b/plugins/woocommerce-admin/client/marketing/components/CreateNewCampaignModal/CreateNewCampaignModal.test.tsx @@ -29,7 +29,7 @@ jest.mock( '~/marketing/hooks', () => ( { const google = { id: 'google-ads', - icon: 'https://woo.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', + icon: 'https://woocommerce.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', name: 'Google Ads', description: 'Boost your product listings with a campaign that is automatically optimized to meet your goals.', @@ -43,9 +43,9 @@ const pinterest = { title: 'Pinterest for WooCommerce', description: 'Grow your business on Pinterest! Use this official plugin to allow shoppers to Pin products while browsing your store, track conversions, and advertise on Pinterest.', - url: 'https://woo.com/products/pinterest-for-woocommerce/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', + url: 'https://woocommerce.com/products/pinterest-for-woocommerce/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', direct_install: true, - icon: 'https://woo.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/pinterest.svg', + icon: 'https://woocommerce.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/pinterest.svg', product: 'pinterest-for-woocommerce', plugin: 'pinterest-for-woocommerce/pinterest-for-woocommerce.php', categories: [ 'marketing' ], diff --git a/plugins/woocommerce-admin/client/marketing/components/ReadBlogMessage.js b/plugins/woocommerce-admin/client/marketing/components/ReadBlogMessage.js index 852fec8b279..ee59522cf92 100644 --- a/plugins/woocommerce-admin/client/marketing/components/ReadBlogMessage.js +++ b/plugins/woocommerce-admin/client/marketing/components/ReadBlogMessage.js @@ -15,7 +15,7 @@ const ReadBlogMessage = () => { link: ( ), diff --git a/plugins/woocommerce-admin/client/marketing/coupons/knowledge-base/test/index.js b/plugins/woocommerce-admin/client/marketing/coupons/knowledge-base/test/index.js index b9e1734a63a..697e7815f18 100644 --- a/plugins/woocommerce-admin/client/marketing/coupons/knowledge-base/test/index.js +++ b/plugins/woocommerce-admin/client/marketing/coupons/knowledge-base/test/index.js @@ -17,21 +17,21 @@ const mockPosts = [ { title: 'WooCommerce Blog Post 1', date: '2020-05-28T15:00:00', - link: 'https://woo.com/posts/woo-blog-post-1/', + link: 'https://woocommerce.com/posts/woo-blog-post-1/', author_name: 'John Doe', author_avatar: 'https://avatar.domain/avatar1.png', }, { title: 'WooCommerce Blog Post 2', date: '2020-04-29T12:00:00', - link: 'https://woo.com/posts/woo-blog-post-2/', + link: 'https://woocommerce.com/posts/woo-blog-post-2/', author_name: 'Jane Doe', author_avatar: 'https://avatar.domain/avatar2.png', }, { title: 'WooCommerce Blog Post 3', date: '2020-03-29T12:00:00', - link: 'https://woo.com/posts/woo-blog-post-3/', + link: 'https://woocommerce.com/posts/woo-blog-post-3/', author_name: 'Jim Doe', author_avatar: 'https://avatar.domain/avatar3.png', }, @@ -392,7 +392,7 @@ describe( 'Page with single post', () => { { title: 'WooCommerce Blog Post 1', date: '2020-05-28T15:00:00', - link: 'https://woo.com/posts/woo-blog-post-1/', + link: 'https://woocommerce.com/posts/woo-blog-post-1/', author_name: 'John Doe', author_avatar: 'https://avatar.domain/avatar1.png', }, diff --git a/plugins/woocommerce-admin/client/marketing/coupons/recommended-extensions/test/index.js b/plugins/woocommerce-admin/client/marketing/coupons/recommended-extensions/test/index.js index f079063d970..7b44a6ca1ce 100644 --- a/plugins/woocommerce-admin/client/marketing/coupons/recommended-extensions/test/index.js +++ b/plugins/woocommerce-admin/client/marketing/coupons/recommended-extensions/test/index.js @@ -18,7 +18,7 @@ const mockExtensions = [ { title: 'AutomateWoo', description: 'Does things.', - url: 'https://woo.com/products/automatewoo/', + url: 'https://woocommerce.com/products/automatewoo/', icon: 'icons/automatewoo.svg', product: 'automatewoo', plugin: 'automatewoo/automatewoo.php', @@ -26,7 +26,7 @@ const mockExtensions = [ { title: 'Mailchimp for WooCommerce', description: 'Does things.', - url: 'https://woo.com/products/mailchimp-for-woocommerce/', + url: 'https://woocommerce.com/products/mailchimp-for-woocommerce/', icon: 'icons/mailchimp.svg', product: 'mailchimp-for-woocommerce', plugin: 'mailchimp-for-woocommerce/mailchimp-woocommerce.php', @@ -160,7 +160,7 @@ describe( 'Click Recommendations', () => { title={ 'AutomateWoo' } description={ 'Does things.' } icon={ 'icons/automatewoo.svg' } - url={ 'https://woo.com/products/automatewoo/' } + url={ 'https://woocommerce.com/products/automatewoo/' } product={ 'automatewoo' } category={ 'marketing' } /> diff --git a/plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.test.tsx b/plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.test.tsx index 08d8f67cbdd..cfa9088b95b 100644 --- a/plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.test.tsx +++ b/plugins/woocommerce-admin/client/marketing/overview-multichannel/Campaigns/Campaigns.test.tsx @@ -35,7 +35,7 @@ const createTestCampaign = ( programId: string ) => { description: '', cost: `USD 30`, manageUrl: `https://wc1.test/wp-admin/admin.php?page=wc-admin&path=/google/dashboard&subpath=/campaigns/edit&programId=${ programId }`, - icon: 'https://woo.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', + icon: 'https://woocommerce.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', channelName: 'Google Listings and Ads', channelSlug: 'google-listings-and-ads', }; @@ -203,7 +203,7 @@ describe( 'Campaigns component', () => { create_url: 'https://wc1.test/wp-admin/admin.php?page=wc-admin&path=/google/dashboard&subpath=/campaigns/create', icon_url: - 'https://woo.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', + 'https://woocommerce.com/wp-content/uploads/2021/06/woo-GoogleListingsAds-jworee.png', }, ], } ); diff --git a/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.test.tsx b/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.test.tsx index 842f0b5aab6..f173ea50638 100644 --- a/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.test.tsx +++ b/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.test.tsx @@ -69,9 +69,9 @@ describe( 'DiscoverTools component', () => { title: 'Google Listings and Ads', description: 'Get in front of shoppers and drive traffic so you can grow your business with Smart Shopping Campaigns and free listings.', - url: 'https://woo.com/products/google-listings-and-ads/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', + url: 'https://woocommerce.com/products/google-listings-and-ads/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', direct_install: true, - icon: 'https://woo.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/google.svg', + icon: 'https://woocommerce.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/google.svg', product: 'google-listings-and-ads', plugin: 'google-listings-and-ads/google-listings-and-ads.php', categories: [ 'marketing' ], @@ -116,9 +116,9 @@ describe( 'DiscoverTools component', () => { title: 'WooCommerce Zapier', description: 'Integrate your WooCommerce store with 5000+ cloud apps and services today. Trusted by 11,000+ users.', - url: 'https://woo.com/products/woocommerce-zapier/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', + url: 'https://woocommerce.com/products/woocommerce-zapier/?utm_source=marketingtab&utm_medium=product&utm_campaign=wcaddons', direct_install: false, - icon: 'https://woo.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/zapier.png', + icon: 'https://woocommerce.com/wp-content/plugins/wccom-plugins/marketing-tab-rest-api/icons/zapier.png', product: 'woocommerce-zapier', plugin: 'woocommerce-zapier/woocommerce-zapier.php', categories: [ 'marketing' ], diff --git a/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.tsx b/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.tsx index 0c17f04a91a..bfade3d9f0d 100644 --- a/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.tsx +++ b/plugins/woocommerce-admin/client/marketing/overview-multichannel/DiscoverTools/DiscoverTools.tsx @@ -50,7 +50,7 @@ export const DiscoverTools = () => {
- ) +