Customizing Your BigCommerce Order Confirmation Page: A Merchant's Guide
Enhancing Your BigCommerce Post-Purchase Experience: Customizing the Order Confirmation Note
The order confirmation page is a critical touchpoint in the customer journey, often the last impression a shopper has after completing a purchase. Many BigCommerce merchants seek to personalize this page, moving beyond the default message to reinforce branding, provide specific instructions, or simply offer a more engaging experience. This BigCommerce forum thread addresses a common query: how to change the default note on the order confirmation page.
While the default note on BigCommerce's optimized checkout is not directly editable through standard theme settings, the community provided several actionable solutions, ranging from simple text overrides to more advanced custom page implementations.
The Challenge with Default BigCommerce Checkout Notes
The core issue stems from BigCommerce's optimized checkout, which hosts the default order confirmation note. This design choice prioritizes security and consistency, but it means merchants cannot simply type a new message into a text field in the control panel. Customization requires a deeper dive into theme files or leveraging specific platform features.
Method 1: Editing Theme Language Files (en.json) for Text Overrides
For merchants looking to change specific text strings, modifying the theme's language translation files, particularly en.json, is a powerful and precise method. This approach allows you to override default text used by BigCommerce's Optimized Checkout.
Steps to Modify en.json:
- Navigate to your BigCommerce Control Panel and go to Storefront > My Themes.
- On your active theme, click Advanced and then select Edit Theme Files.
- Open the
langfolder and locate theen.jsonfile. - Search for relevant checkout or order confirmation translation keys. These keys are the identifiers for the text strings you wish to change.
- Add or modify the custom translation strings within
en.jsonto overwrite the default message. - Click Save and preview your storefront to see the changes.
The en.json file contains all the translation key-value pairs used by BigCommerce's Optimized Checkout. You can find a comprehensive reference for these keys in the BigCommerce open-source checkout repository on GitHub:
https://github.com/bigcommerce/checkout-js/blob/master/packages/locale/src/translations/en.json
How to Implement Translations:
1. Download the en.json file from the GitHub link provided.
2. Copy and paste the file's contents into your theme's en.json file (located in the /lang subfolder).
3. If supporting multiple languages, copy the contents into each corresponding language JSON file (e.g., es.json for Spanish, fr.json for French).
4. Replace the values in each file with the appropriate translated phrases.
Example: English vs. Spanish
In 'en.json':
"checkout": {
"title": "Checkout"
}
In 'es.json':
"checkout": {
"title": "Pago"
}
Once you modify en.json, the changes will take effect where the reference is used. You can also reference these keys in your Stencil theme templates using .{{lang 'checkout.title'}}
Important Notes: Most checkout content is hidden for security, but all available translation keys are visible in the en.json file. Stencil's multi-language capabilities apply to strings within the theme, not automatically to database-rendered content like product names.
Method 2: Leveraging the Script Manager for Dynamic Content
For those who prefer not to directly edit theme files or need to inject dynamic content, BigCommerce's Script Manager offers a flexible alternative. You can add a custom script specifically targeting the "Order Confirmation Page."
This method allows you to insert HTML, JavaScript, or CSS into the confirmation page, enabling customizations like adding banners, tracking pixels, or dynamic messages without altering your theme's core files. This is particularly useful for adding elements that might change frequently or for integrating third-party scripts.
Method 3: Implementing a Custom Order Confirmation Page
For deep customization, such as integrating custom graphics, complex dynamic content blocks, or a completely redesigned post-checkout experience, BigCommerce allows you to replace the default order confirmation page with a custom URL. This provides the ultimate flexibility for merchants who require a highly branded or interactive confirmation flow.
Conclusion
Customizing the BigCommerce order confirmation page is a valuable way to enhance the customer experience and reinforce your brand. While the default setup has its limitations, the BigCommerce community offers robust solutions. Whether you opt for precise text changes via en.json, dynamic content injection through the Script Manager, or a complete overhaul with a custom page, BigCommerce provides the tools to tailor this crucial post-purchase touchpoint to your specific needs.