The discount is visible before the add-to-cart click, and the code is copied with one button. Promo codes are taken from the built-in “Marketing.
Promo code display is managed in the “Marketing” section or by assigning a promo code to a product in the product list.
Product pages of the assigned products show a block with the code, a “Copy” button and the expiry date.
The button switches to “Copied”. The promo code description opens by clicking the “!” icon.