From 9b9d20ee20c3d5360cc21758bda467878f8eab68 Mon Sep 17 00:00:00 2001 From: bc-Vince <97260137+bc-Vince@users.noreply.github.com> Date: Thu, 26 Mar 2026 11:18:42 -0500 Subject: [PATCH 1/4] DEVDOCS-6731 - Update Buyer Portal guide to remove WebDAV instructions Removed WebDAV Support link from Resources section. --- docs/b2b-edition/docs/buyer-portal/overview.mdx | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/b2b-edition/docs/buyer-portal/overview.mdx b/docs/b2b-edition/docs/buyer-portal/overview.mdx index 43d27d394..fd2c3810d 100644 --- a/docs/b2b-edition/docs/buyer-portal/overview.mdx +++ b/docs/b2b-edition/docs/buyer-portal/overview.mdx @@ -95,4 +95,3 @@ If you want more advanced control or integration than the built-in options allow - **[B2B Edition Settings (Help Center)](https://support.bigcommerce.com/s/article/B2B-Edition-Settings)** - **[B2B Buyer Portal GitHub Repository](https://github.com/bigcommerce/b2b-buyer-portal)** Source code, README, and documentation for the Buyer Portal project. - **[Catalyst Overview](https://support.bigcommerce.com/s/article/Catalyst)** -- **[BigCommerce WebDAV Support](https://support.bigcommerce.com/s/article/File-Access-WebDAV)** From 5381f5030b9ffa4e2889946677dbb305d76ff8f7 Mon Sep 17 00:00:00 2001 From: bc-Vince <97260137+bc-Vince@users.noreply.github.com> Date: Thu, 26 Mar 2026 12:26:32 -0500 Subject: [PATCH 2/4] DEVDOCS-6731 - Update Buyer Portal guide to remove WebDAV instructions Removed WebDAV as a potential hosting provider --- docs/storefront/catalyst/experiments/buyer-portal.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storefront/catalyst/experiments/buyer-portal.mdx b/docs/storefront/catalyst/experiments/buyer-portal.mdx index bc738d6a9..d3dcff59c 100644 --- a/docs/storefront/catalyst/experiments/buyer-portal.mdx +++ b/docs/storefront/catalyst/experiments/buyer-portal.mdx @@ -115,7 +115,7 @@ The Buyer Portal experience in your local Catalyst storefront will now automatic Once you are ready to take your custom Buyer Portal to your production storefront, the Buyer Portal files must be built and deployed. -While the Buyer Portal static files can be deployed with a CDN or via your BigCommerce store’s WebDAV, the steps in this guide will assume you are deploying these build files with the Catalyst storefront itself. +While the Buyer Portal static files can be deployed with a CDN, the steps in this guide will assume you are deploying these build files with the Catalyst storefront itself. These steps also assume a strategy for static file cache invalidation involving a date-based subdirectory. We’ll note where the process differs if you choose to use the Buyer Portal build hashes. From 67616a6e6cce1825800524a1408bf0a648be4d4a Mon Sep 17 00:00:00 2001 From: bc-Vince <97260137+bc-Vince@users.noreply.github.com> Date: Fri, 27 Mar 2026 10:10:20 -0500 Subject: [PATCH 3/4] DEVDOCS-6731 - Update Buyer Portal guide to remove WebDAV instructions Removed WebDAV instructions and recommendations from the Headless instructions. --- .../docs/buyer-portal/headless.mdx | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/docs/b2b-edition/docs/buyer-portal/headless.mdx b/docs/b2b-edition/docs/buyer-portal/headless.mdx index 78439c5d9..220d12962 100644 --- a/docs/b2b-edition/docs/buyer-portal/headless.mdx +++ b/docs/b2b-edition/docs/buyer-portal/headless.mdx @@ -87,25 +87,9 @@ For the following steps, you must know in advance the URL where your build files When re-building and re-deploying your custom Buyer Portal, you should clear the local contents of `.turbo/cache` before running `yarn build` to ensure that all updated code is reflected in the build. Also make sure to update your scripts in Script Manager again after deploying your new build files. -### Deploying with WebDAV - -Your BigCommerce store’s [WebDAV storage](https://support.bigcommerce.com/s/article/File-Access-WebDAV) can be a viable option for serving your custom B2B Buyer Portal files without sourcing a third-party CDN. - -Follow the instructions in the above support article to learn about enabling WebDAV and connecting with a client like Cyberduck. Once you’re connected, you can use your store’s WebDAV as the upload destination for the steps described in Building and Deploying. - -The directory `content` should be used for static files of this nature. Let’s say you intend to upload the build files from `dist` into `content/b2b` on your store’s WebDAV. This will make your Buyer Portal files available at the following URL: - -`https://{my-store}.com/content/b2b/` - -The files can also be accessed via the store’s canonical URL, in this format: - -`https://store-{store-hash}.mybigcommerce.com/content/b2b/` - -Either of these should be used as the value of `VITE_ASSETS_ABSOLUTE_PATH` before running `yarn build`, and the same value should be utilized when updating the scripts in Script Manager. - ### Deploying with Your Storefront -In a headless storefront scenario, you’re already deploying a custom frontend web application, and so you have the opportunity to deploy Buyer Portal build files with your own storefront rather than with a third-party CDN or your store’s WebDAV. +In a headless storefront scenario, you’re already deploying a custom frontend web application, and so you have the opportunity to deploy Buyer Portal build files with your own storefront rather than with a third-party CDN. As an example, let’s say your storefront is a Next.js application and served from `mystore.com`. You might decide that the Buyer Portal static files will be available at `https://mystore.com/assets/b2b/`. @@ -166,4 +150,4 @@ Managing code together in this way might offer benefits like: * Consistent deployment of Buyer Portal customizations and related storefront customizations * Automation of copying Buyer Portal build files into a final deployment directory -* Orchestration of related tasks, such as running the local servers for both the storefront application and Buyer Portal \ No newline at end of file +* Orchestration of related tasks, such as running the local servers for both the storefront application and Buyer Portal From fc0b7045f643005a34ee36241f24e76de2aebb7f Mon Sep 17 00:00:00 2001 From: bc-Vince <97260137+bc-Vince@users.noreply.github.com> Date: Fri, 27 Mar 2026 10:10:52 -0500 Subject: [PATCH 4/4] DEVDOCS-6731 - Update Buyer Portal guide to remove WebDAV instructions Removed WebDAV instructions and recommendations from the Headless instructions. --- .../b2b-edition/docs/buyer-portal/stencil.mdx | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/docs/b2b-edition/docs/buyer-portal/stencil.mdx b/docs/b2b-edition/docs/buyer-portal/stencil.mdx index 7090178a8..1d2d6c4ac 100644 --- a/docs/b2b-edition/docs/buyer-portal/stencil.mdx +++ b/docs/b2b-edition/docs/buyer-portal/stencil.mdx @@ -102,31 +102,15 @@ For the following steps, you must know in advance the URL where your build files *When re-building and re-deploying your custom Buyer Portal, you should clear the local contents of `.turbo/cache` before running `yarn build` to ensure that all updated code is reflected in the build. Also make sure to update your scripts in Script Manager again after deploying your new build files.* -### Deploying with WebDAV - -Your BigCommerce store’s [WebDAV storage](https://support.bigcommerce.com/s/article/File-Access-WebDAV) can be a viable option for serving your custom B2B Buyer Portal files without sourcing a third-party CDN. - -Follow the instructions in the above support article to learn about enabling WebDAV and connecting with a client like Cyberduck. Once you’re connected, you can use your store’s WebDAV as the upload destination for the steps described in Building and Deploying. - -The directory `content` should be used for static files of this nature. Let’s say you intend to upload the build files from `dist` into `content/b2b` on your store’s WebDAV. This will make your Buyer Portal files available at the following URL: - -`https://{my-store}.com/content/b2b/` - -The files can also be accessed via the store’s canonical URL, in this format: - -`https://store-{store-hash}.mybigcommerce.com/content/b2b/` - -Either of these should be used as the value of `VITE_ASSETS_ABSOLUTE_PATH` before running `yarn build`, and the same value should be utilized when updating the scripts in Script Manager. - ### Versioning Strategy -As mentioned above, by default the build process includes a hash in the filename of several key files. If you’re hosting your build files on your store’s WebDAV, for example, the following would be an example of the final URL of such a file: +As mentioned above, by default the build process includes a hash in the filename of several key files. For example, the final URL of your index file may use this structure: `https://{my-store}.com/content/b2b/index-{hash}.js` This is a file-based strategy for avoiding stale cached files being served to shoppers. Upon a new build/deploy, you *must* make sure to update each file URL referenced in Script Manager each time you deploy new Buyer Portal build files. -Another strategy is to include a unique identifier in the *subdirectory* of your deployed location rather than in each individual filename. For example, say you configure `VITE_DISABLE_BUILD_HASH` to `TRUE` before building (resulting in filenames without a hash) and then upload the build files to a subdirectory of your store’s WebDAV that includes a date-based string. This could result in URLs like the following: +Another strategy is to include a unique identifier in the *subdirectory* of your deployed location rather than in each individual filename. For example, say you configure `VITE_DISABLE_BUILD_HASH` to `TRUE` before building (resulting in filenames without a hash) and then upload the build files to a subdirectory of your hosting provider that includes a date-based string. This could result in URLs like the following: `https://{my-store}.com/content/b2b-20260101/index.js`