Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Sep 25, 2025

Added informational notices to the Add to Cart URLs documentation to guide users toward the more appropriate Checkout URL solution when their use case involves loading checkout directly or adding multiple products.

Changes Made

Primary Notice: Added an informational callout early in the article (after the introduction) that explains Checkout URLs are typically a better solution for direct checkout workflows. This notice highlights that Checkout URLs support multiple products in a single URL and provide a more streamlined checkout experience.

Secondary Notice: Added a focused callout in the "Adding multiple products" section that specifically addresses the limitation of Add to Cart URLs requiring JavaScript workarounds for multiple products, while Checkout URLs natively support this functionality.

Both notices include proper links to the Checkout URL documentation to help users find the better solution for their needs.

Why This Matters

Add to Cart URLs have inherent limitations:

  • Only one product per URL (requiring complex JavaScript for multiple products)
  • Less streamlined for direct checkout flows

Checkout URLs solve these problems by:

  • Supporting multiple products/variants in a single URL
  • Providing a more direct path to checkout
  • Eliminating the need for JavaScript workarounds

These notices help guide developers to the most appropriate solution for their specific use case while preserving the existing Add to Cart URL documentation for scenarios where it's still the right choice.

Original prompt

Add a notice in the add-to-cart URL article that Checkout URLs (https://developer.bigcommerce.com/docs/storefront/cart-checkout/checkout-url) are superior for most use cases where you wish to load the checkout directly, and they also support multiple products


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits September 25, 2025 03:34
Co-authored-by: bookernath <8922457+bookernath@users.noreply.github.com>
…d multiple products

Co-authored-by: bookernath <8922457+bookernath@users.noreply.github.com>
@Copilot Copilot AI changed the title Add a notice in the add-to-cart URL article that Checkout URLs (https://developer.bigcommerce.com/docs/storefront/cart-checkout/checkout-url) are superior for most use cases where you wish to load the checkout directly, and they also support multiple p... Add notices about Checkout URLs being superior for direct checkout workflows Sep 25, 2025
Copilot finished work on behalf of bookernath September 25, 2025 03:40
@Copilot Copilot AI requested a review from bookernath September 25, 2025 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants