Product Details Page
Beam has provided a supplementary widget for a storefront's product details page to ensure that essential information regarding Beam's usage is disclosed early in the customer experience.
Widget script configuration
To add the Beam Product Details Page script to your BigCommerce Storefront:
-
Open your BigCommerce Storefront administration panel, and go to Script Manager
-
Click the Create Script button to add a new script to your storefront
-
Use the following information to fill out the new script creation form
- Script name: Beam Product Details Page
- Description: Beam Product Details Page Script Tag
- Placement: Footer
- Location: Storefront pages
- Script category: Essential
- Script type: Script
- Script contents:
In the following code example, replace
apiKey
- Your Beam SDK API KeystoreId
- Your Beam Store IdbaseUrl
- This value can remain unchanged, unless you are specifically using Beam’s Staging environment
<script type="module" async crossorigin src="https://sdk.beamimpact.com/web-sdk/v1.39.1/dist/components/product-details-page.esm.js"></script><!-- ADD BEAM TO PRODUCT DETAILS PAGE -->
<!-- BEAM START -->
<div data-beam-widget="product-details-page">
<beam-product-details-page
apiKey="{{ SDK API Key }}"
storeId={{ Beam Store Id }}
baseUrl="https://api.beamimpact.com"
></beam-product-details-page>
</div>
<!--BEAM END --> -
Click the Save button to save your new script