The promotion bar is a banner displayed in the header area, designed to highlight a key promotion, sale, or store-wide offer. It supports a heading, descriptive text, an optional icon, and an optional discount code that customers can copy with a single click.
If the promotion text is too long for mobile screens, enable Hide text on mobile to show only the heading on smaller devices.
You can add a Discount code button block to the promotion bar, giving customers an easy way to copy a discount code directly from the banner.
When a customer clicks the button, the code is copied to their clipboard and a confirmation message is displayed.