v1.46.0
What's Changed
Product Detail Page (PDP) Enhancements
- Promo Pill Updates: The promo pill is now included in the PDP widget by default for improved promo visibility
- New Styling Options: Customization options for image placement and promo pill styling are now available
- Translations Support: Title, description fields, and disclosure tooltip copy now support translations
- SKU-Based Donation: PDP title, description, and icon can dynamically update based on product SKU
SKU-Based Donation Integration
- PDP title, description, and icon can now be dynamically updated based on SKU donations (e.g., size, color). Just pass the remote product identifier to the pdp widget:
<script
type="module"
async
crossorigin
src="https://sdk.beamimpact.com/web-sdk/{{ sdk_version }}/dist/components/product-details-page.esm.js"
></script>
<beam-product-details-page
apiKey="{{ storefront_component_api_key }}" <!-- required -->
storeId={{ storefront_component_store_id }}
remoteProductIdentifier="{{ sku }}">
</beam-product-details-page>