From f27b5cf5b7c14fd5d0bd89ca98a3700baed74ded Mon Sep 17 00:00:00 2001 From: Tom Arbesser-Rastburg Date: Sat, 28 Mar 2026 11:59:17 +1100 Subject: [PATCH] DEVDOCS-6658 Fix various issues in storefront docs --- docs/storefront/cart-checkout/guide/consignments.mdx | 4 ++-- docs/storefront/cart-checkout/guide/graphql-storefront.mdx | 4 ++-- docs/storefront/catalyst/deployment/vercel.mdx | 2 +- docs/storefront/catalyst/experiments/buyer-portal.mdx | 2 +- docs/storefront/graphql/multi-language-support.mdx | 2 +- .../headless/end-to-end-guides/graphql-storefront.mdx | 4 ++-- .../storefront/headless/end-to-end-guides/rest-management.mdx | 4 ++-- .../draft/reference-docs/global-objects-and-properties.mdx | 2 +- .../themes/checkout-enhancements/paypal-smart-buttons.mdx | 2 +- .../stencil/themes/checkout-enhancements/wallet-buttons.mdx | 2 +- .../stencil/themes/localization/translation-keys.mdx | 2 +- docs/storefront/stencil/themes/style/sass.mdx | 4 ++-- 12 files changed, 17 insertions(+), 17 deletions(-) diff --git a/docs/storefront/cart-checkout/guide/consignments.mdx b/docs/storefront/cart-checkout/guide/consignments.mdx index 453eaca39..4233dde15 100644 --- a/docs/storefront/cart-checkout/guide/consignments.mdx +++ b/docs/storefront/cart-checkout/guide/consignments.mdx @@ -71,7 +71,7 @@ X-Auth-Token: {{ACCESS_TOKEN}} "state_or_province": "Texas", "state_or_province_code": "TX", "postal_code": "78751", - "phone": "688546", + "phone": "+15125550100", "custom_fields": [ { "field_id": "field_25", @@ -99,7 +99,7 @@ X-Auth-Token: {{ACCESS_TOKEN}} "state_or_province": "Texas", "state_or_province_code": "TX", "postal_code": "78751", - "phone": "+5185158x1{1-5}", + "phone": "+15185550100", "custom_fields": [ { "field_id": "field_25", diff --git a/docs/storefront/cart-checkout/guide/graphql-storefront.mdx b/docs/storefront/cart-checkout/guide/graphql-storefront.mdx index 075d59375..a61b972a7 100644 --- a/docs/storefront/cart-checkout/guide/graphql-storefront.mdx +++ b/docs/storefront/cart-checkout/guide/graphql-storefront.mdx @@ -958,7 +958,7 @@ The current platform limit is 250 metafields for a single cart. When you create "stateOrProvinceCode": "CA", "countryCode": "US", "postalCode": "94061", - "phone": "6501231212", + "phone": "6505550100", "shouldSaveAddress": false } } @@ -1028,7 +1028,7 @@ The current platform limit is 250 metafields for a single cart. When you create "stateOrProvinceCode": "CA", "countryCode": "US", "postalCode": "94061", - "phone": "6501231212", + "phone": "6505550100", "shouldSaveAddress": false }, "lineItems": [ diff --git a/docs/storefront/catalyst/deployment/vercel.mdx b/docs/storefront/catalyst/deployment/vercel.mdx index abca96527..88c9861cb 100644 --- a/docs/storefront/catalyst/deployment/vercel.mdx +++ b/docs/storefront/catalyst/deployment/vercel.mdx @@ -57,4 +57,4 @@ Once added, navigate back to your Vercel project, click **Deployments** and clic ## Editing in Makeswift -If you are using Makeswift, you'll need to update the **Host URL** property with the URL of your deployed site on Vercel. Vercel will automatically generate a URL for your project, but you'll probably be using your own custom domain. Regardless, you'll want to update the **Host URL** property within your production Makeswift site, not the development one. You can find this property under **Settings -> Host**. xln +If you are using Makeswift, you'll need to update the **Host URL** property with the URL of your deployed site on Vercel. Vercel will automatically generate a URL for your project, but you'll probably be using your own custom domain. Regardless, you'll want to update the **Host URL** property within your production Makeswift site, not the development one. You can find this property under **Settings -> Host**. diff --git a/docs/storefront/catalyst/experiments/buyer-portal.mdx b/docs/storefront/catalyst/experiments/buyer-portal.mdx index bc738d6a9..02d5b6fcb 100644 --- a/docs/storefront/catalyst/experiments/buyer-portal.mdx +++ b/docs/storefront/catalyst/experiments/buyer-portal.mdx @@ -8,7 +8,7 @@ The steps in this guide enable Catalyst with the B2B Edition Buyer Portal, which This implementation primarily handles authentication with the B2B Storefront API and triggering the render of the Buyer Portal on top of Catalyst. It is similar to the experience currently available for BigCommerce's Stencil storefront framework. -If you are looking to integrate directly into Catalyst's routes and components, this can be done by integrating B2B Edition's APIs(/b2b-edition/apis). +If you are looking to integrate directly into Catalyst's routes and components, this can be done by integrating [B2B Edition's APIs](/b2b-edition/apis). Using the default B2B Edition implementation with Catalyst requires support for Customer Access Tokens (CAT). All new B2B Edition stores support this functionality by default. If your store had B2B Edition prior to July 2025, you must contact support to enable this feature. diff --git a/docs/storefront/graphql/multi-language-support.mdx b/docs/storefront/graphql/multi-language-support.mdx index f14edd4b8..1484d2b1f 100644 --- a/docs/storefront/graphql/multi-language-support.mdx +++ b/docs/storefront/graphql/multi-language-support.mdx @@ -99,7 +99,7 @@ query { -```json filename="Get products information for a locale" showlineNumbers copy +```json filename="Get products information for a locale" showLineNumbers copy { "data": { "shopperPreferences": { diff --git a/docs/storefront/headless/end-to-end-guides/graphql-storefront.mdx b/docs/storefront/headless/end-to-end-guides/graphql-storefront.mdx index 2faf10881..3bef705de 100644 --- a/docs/storefront/headless/end-to-end-guides/graphql-storefront.mdx +++ b/docs/storefront/headless/end-to-end-guides/graphql-storefront.mdx @@ -599,7 +599,7 @@ This mutation adds a billing address to an existing checkout. "stateOrProvinceCode": "CA", "countryCode": "US", "postalCode": "94061", - "phone": "6501231212", + "phone": "6505550100", "shouldSaveAddress": false } } @@ -681,7 +681,7 @@ Make a note of a shipping consignment's `entityId` and the desired shipping opti "stateOrProvinceCode": "CA", "countryCode": "US", "postalCode": "94061", - "phone": "6501231212", + "phone": "6505550100", "shouldSaveAddress": false }, "lineItems": [ diff --git a/docs/storefront/headless/end-to-end-guides/rest-management.mdx b/docs/storefront/headless/end-to-end-guides/rest-management.mdx index 484158af3..51f670a50 100644 --- a/docs/storefront/headless/end-to-end-guides/rest-management.mdx +++ b/docs/storefront/headless/end-to-end-guides/rest-management.mdx @@ -399,7 +399,7 @@ After you transform your headless cart into a proper checkout with a billing add "country": "United States", "country_code": "US", "postal_code": "78729", - "phone": "5129247111", + "phone": "5125550101", "custom_fields": [] }, "address": { @@ -415,7 +415,7 @@ After you transform your headless cart into a proper checkout with a billing add "country": "United States", "country_code": "US", "postal_code": "78729", - "phone": "5129247111", + "phone": "5125550101", "custom_fields": [] }, "available_shipping_options": [ diff --git a/docs/storefront/stencil/draft/reference-docs/global-objects-and-properties.mdx b/docs/storefront/stencil/draft/reference-docs/global-objects-and-properties.mdx index 34757675d..55327d5d7 100644 --- a/docs/storefront/stencil/draft/reference-docs/global-objects-and-properties.mdx +++ b/docs/storefront/stencil/draft/reference-docs/global-objects-and-properties.mdx @@ -104,7 +104,7 @@ Global objects and properties are common components shared across the entire Big ## Categories - **Description:** A array of category objects filled with all categories shown in the current page context; default sorting is by category ID, from lowest to highest. + **Description:** An array of category objects filled with all categories shown in the current page context; default sorting is by category ID, from lowest to highest. **Handlebars Expression:** `{{categories}}` diff --git a/docs/storefront/stencil/themes/checkout-enhancements/paypal-smart-buttons.mdx b/docs/storefront/stencil/themes/checkout-enhancements/paypal-smart-buttons.mdx index e8ae50d10..02e77781a 100644 --- a/docs/storefront/stencil/themes/checkout-enhancements/paypal-smart-buttons.mdx +++ b/docs/storefront/stencil/themes/checkout-enhancements/paypal-smart-buttons.mdx @@ -11,7 +11,7 @@ Merchants will have the ability to customize some style aspects of the PayPal pa Smart Buttons are included on Cornerstone versions 2.6.0+. If your theme does not already include Smart Buttons, append the `paymentbuttons` settings to the _Settings_ object within your config.json file. See the code sample below. -```json filename="Addition of paymentbuttons to 'settings' object config.json" showlineNumbers copy +```json filename="Addition of paymentbuttons to 'settings' object config.json" showLineNumbers copy "settings": { "..." "color_badge_product_sale_badges": "#007dc6", diff --git a/docs/storefront/stencil/themes/checkout-enhancements/wallet-buttons.mdx b/docs/storefront/stencil/themes/checkout-enhancements/wallet-buttons.mdx index 514b19e2c..01aa003f6 100644 --- a/docs/storefront/stencil/themes/checkout-enhancements/wallet-buttons.mdx +++ b/docs/storefront/stencil/themes/checkout-enhancements/wallet-buttons.mdx @@ -193,7 +193,7 @@ Adding "heading" for a section can be skipped if it was added before. "value": "amazonpay", "label": "i18n.AmazonProviderSortingLabel", "enabledBy": "amazonpay" - }, + } ] }, ... diff --git a/docs/storefront/stencil/themes/localization/translation-keys.mdx b/docs/storefront/stencil/themes/localization/translation-keys.mdx index 66b155c8f..ed0d1e1ca 100644 --- a/docs/storefront/stencil/themes/localization/translation-keys.mdx +++ b/docs/storefront/stencil/themes/localization/translation-keys.mdx @@ -125,7 +125,7 @@ The corresponding internationalized version would substitute the text with the f Below is an example based on the Cornerstone’s `templates/components/cart/shipping-estimator.html` file. Here, each highlighted `{{lang...}}` statement abstracts the message indicated by its English-language key to enable internationalization of that message: -```handlebars filename="Example of an internationalized template templates/components/cart/shipping-estimator.html, Cornerstone theme" showlineNumbers copy +```handlebars filename="Example of an internationalized template templates/components/cart/shipping-estimator.html, Cornerstone theme" showLineNumbers copy