- feat: Polish and Danish translation of the storefront, PDF templates, Administration, plugin configuration and "Gift card" payment method
- feat: Requires Shopware 6.7.3 or newer. Snippets use the country-independent language files
- bugfix: The texts of the "Simple" and "Just for you" PDF templates and the document sizes of the gift card designer are translated instead of always English
- bugfix: The balance check page says "try again in 1 second" instead of "1 seconds"
- bugfix: Consistent wording and form of address in all translations, and translated plugin names and descriptions in Dutch, French, Italian and Spanish
- bugfix: The PDF of a gift card whose sales channel was deleted, or whose language isn't available in the sales channel, can be downloaded and resent in the Administration instead of causing an error. A storefront for the language of the gift card, or the default language of the sales channel, is used
- bugfix: Downloading, previewing or resending a gift card or design that doesn't exist answers with "Not found" (HTTP 404) instead of a server error
- bugfix: Gift cards with a delivery date are also e-mailed when their sales channel was deleted or doesn't offer their language. A gift card that can't be sent no longer stops the other gift cards of the scheduled task, and is tried again in the next run instead of staying queued
- bugfix: E-mails for gift cards without an order, e.g. imported or created through the API, are sent when the e-mail template uses order variables such as {{ order.orderCustomer.firstName }}, which then stay empty. A gift card is only marked as sent when the e-mail was actually sent
- bugfix: Downloading or resending a gift card in the Administration shows an error notification when it fails, and the download button no longer keeps loading
- bugfix: Reading gift cards no longer logs "Creation of dynamic property" deprecations for originOrderVersionId and originProductVersionId
- bugfix: Gift cards without an origin product or sales channel, e.g. imported cards or cards created through the API, can be redeemed instead of causing an error in the cart. Their PDF can be downloaded and resent in the Administration, using a storefront for the language of the gift card
- bugfix: A redeem link (/giftcard/redeem/{code}) opened with an empty cart keeps the gift card, which is applied as soon as products are added
- bugfix: Improve translations in the giftcard design editor for image fields
- bugfix: Rule builder conditions "Line item of type" with a type other than "Gift card" (e.g. product or promotion) match again on that type, instead of only on bought gift cards. "Gift card" with the operator "Is not equal to" now matches line items that aren't gift cards
- bugfix: The "Simple" gift card template shows the PDF logo of the plugin configuration instead of an empty image
- bugfix: The activation action "Payment status: paid" or "Order placed" is read from the configuration of the sales channel of the order instead of always the configuration for all sales channels
- bugfix: The amount field of flexible gift cards without a maximum allows amounts up to 500 on the product page, the same limit as the cart
- feat: New calculation type "Means of payment" for redeemed gift cards, now the default for new installations. The gift card pays (a part of) the order as a line item without VAT, so the VAT of the goods stays due, as required for multi-purpose vouchers. The checkout, the order and the invoice show the gift card below the total, followed by the amount to pay
- feat: Choose per gift card product whether it is a multi-purpose voucher (sold without VAT, VAT due on redemption) or a single-purpose voucher (sold with the VAT rate of the product, lowers the VAT on redemption)
- feat: Gift card products can offer a selection of amounts, e.g. 25, 50 and 100
- feat: Buyers can personalise gift cards with a recipient, sender and personal message. Digital gift cards are e-mailed to the recipient, with a copy for the buyer, on the chosen delivery date. Use giftcard.payload.recipientName, giftcard.payload.senderName and giftcard.payload.message in designs and e-mail templates
- feat: Variables button in the gift card designer, like in the toolbar of the text editor, for title layers and in the editor of text layers, with the recipient, sender, personal message, code, amount, balance and expiry date of the gift card. The Twig code is inserted at the cursor and "Render as Twig code" is switched on automatically. The canvas shows titles with sample values
- feat: Storefront page to check the balance of a gift card (/giftcard/balance) and links that add a gift card to the cart (/giftcard/redeem/{code}), both rate limited against guessing codes
- feat: Option to prevent gift cards from paying for new gift cards
- feat: New payment method "Gift card" for orders that gift cards pay completely, so no payment provider is asked to pay 0. It is only offered, and then preselected, when nothing is left to pay (availability rule "Gift card: nothing left to pay") and marks the payment as paid
- feat: E-invoices (XRechnung/ZUGFeRD) show gift cards that pay the order as prepaid amount, gift cards that lower the VAT as allowance, and bought gift cards with a 0 % VAT breakdown, so the totals add up, also for orders without VAT (reverse charge)
- bugfix: The layer selected in the gift card designer no longer stays selected when another design is opened
- bugfix: Keep redeemed gift cards when an order is edited in the Administration
- bugfix: An expired gift card no longer lowers the amount that the other gift cards in the cart can pay
- bugfix: The balance of a gift card bought by a customer with net prices is the amount of the gift card instead of the net price
- bugfix: Show the code of a redeemed gift card in the Administration order summary
7.2.2
bugfix: The preview of a gift card design shows the content language selected in the designer instead of always the default language of the first sales channel
bugfix: Gift cards keep the language and currency of their order when they are created by a payment status change in the Administration or a payment provider, so resent, scheduled and downloaded gift cards use the right design translation
# 7.2.1
- feat: Show Twig titles on the canvas of the gift card designer with sample values instead of the raw Twig code, so their size is visible
- bugfix: Show the masked code of a redeemed gift card in the cart summary instead of repeating the product name ("Gift card Gift card"); a custom card name is still shown
- bugfix: Show translated labels instead of the raw "giftcard-code" and "giftcard-type" options for bought gift cards in My Account orders, on invoices and other documents, and in the Administration order details
- bugfix: Fix the balance of a gift card becoming empty when it has no transactions, and recalculate it when a transaction is deleted
- bugfix: Translate the card titles of the gift card tab on the product page, and write "gift card" consistently in the English Administration
# 7.2.0
- feat: Add Title layer to the gift card designer: plain text with its own font (any Google Font from a searchable list, the base font or a custom font), size, weight, color, spacing and alignment, scaled by dragging its handles. Google Fonts are embedded in the PDF. Titles can be rendered as Twig code to show e.g. the code or the amount of the gift card
- feat: Support for the light/dark mode of the Administration in the gift card designer and gift card pages
- bugfix: Apply the background color of a gift card design to the PDF
- bugfix: Apply the horizontal and vertical alignment of text layers to the PDF
- bugfix: Fix layers anchored at the bottom or right being placed wrongly in the PDF
- bugfix: Fix text layers on the canvas taking over the colors of the Administration theme
- bugfix: Fix the text editor modal not showing the background color of the design
- bugfix: Fix the alignment selects of text layers being empty, and translate their labels
- bugfix: Fix the design and language name missing from the translation mode message
- bugfix: Fix layers being deletable in translation mode
- bugfix: Fix the "Save & preview PDF" menu being disabled for users without product permissions, and show an error when the preview fails
- bugfix: Fix the create modal of gift card designs staying in loading state when saving fails
# 7.1.6
- bugfix: Make sure generating PDF is in right language
- feat: Improve Administration "Create Giftcard" modal UX
# 7.1.5
- Feat: Add "Advanced Image Fallback Mode" to PDF generation.
# 7.1.4
- Allow creating giftcard from "Admin Order"
- Fix bug with resetted giftcard amount in cart when logging in during checkout
# 7.1.3
- Fix bug in redeeming giftcards with expiry
# 7.1.2
- Fix bug in Giftcard Advanced Validity date configuration
# 7.1.1
- Add ProductNumber in giftcard redeem lineitem payload
# 7.1.0
- Advanced config for Giftcard Validity
- Add delete function for Giftcards
- Add Download option for Giftcards in My Account > Orders page
- Add origin order information during rendering Twig variables
# 7.0.7
- Fix bug in Giftcard Validity check
# 7.0.6
- Fix bug from typo in update lifecycle
# 7.0.5
- Add Giftcard Validity functionality
- Add translations FR, ES and IT
# 7.0.4
- Bugfix in giftcard detail screen
# 7.0.3
- Add configurable redeem calculation mode (legacy or line item) (v6.3.5)
# 7.0.2
- Fix stage button disabled in 6.7
# 7.0.1
- Merge 6.3.3: Fix bug in designer with using FroshLazySizes
- Merge 6.3.4: Fix bug with floating numbers in admin detail transaction
# 7.0.0
- Compatible with Shopware 6.7
# 6.3.7
- Feat: Add "Advanced Image Fallback Mode" to PDF generation.
# 6.3.6
- Allow creating giftcard from "Admin Order"
- Fix bug with resetted giftcard amount in cart when logging in during checkout
# 6.3.5
- Add configurable redeem calculation mode (legacy or line item)
# 6.3.4
- Fix bug with floating numbers in admin detail transaction
# 6.3.3
- Fix bug in designer with using FroshLazySizes
# 6.3.2
- Fix giftcard create bug
- Fix giftcard redeem bug
# 6.3.1
- Layer sorting bug
# 6.3.0
- Simplyfy data model, remove "GiftcardGateway" layer
- Fix discrepancies between Giftcard Editor and PDF renderer (QR code size, font rendering in editor)
- Fix z-index issues in PDF renderer
- Add available Twig field to text dropdown in Editor
- Add 'Resend e-mail' function on Giftcard Detail page
- Move QR code generation to local service
Breaking changes:
- Removal of `GiftcardGateway` -> replace with `lae_giftcard.repository`, `GiftcardTransactionService` and `GiftcardCreateService`
- Removal of `GiftcardStruct` -> replace with `GiftcardEntity`
- Removal of required linked order. (`originalOrderId` is nullable)
- Email templates: `order` variable can be null
# 6.2.10
- Add "landscape" option in Giftcard Editor
# 6.2.9
- Fix bug on PDP with multiple variants
# 6.2.8
- Fix font rendering for PDF
# 6.2.7
- Fixed aspect ratio for images
# 6.2.6
- Remove 'object fit' for images due to DomPDF constraint
- Add preview function to editor
- Improve exact rendering in editor
# 6.2.5
- Add 6.5 bugfixes
# 6.2.4
- Fix image rendering in PDF renderer
# 6.2.3
- Fix bug in giftcard designer when using code editor in text editor
# 6.2.2
- Fix bug in giftcard design prefix
# 6.2.1
- Fix bug in manual transaction value
# 6.2.0
- Add PDF preview for Giftcard Designs
- Fix for Giftcard Editor on small screens
# 6.1.1
- Add twig rendering for Giftcard editor
# 6.1.0
- Release of Giftcard editor
# 6.0.0
- Compatible with Shopware 6.6
# 1.5.7
- Fix CurrencyFilter error on latest 6.5 versions
# 1.5.6
- Show variant configurator on PDP
# 1.5.5
- Add Dynamic Product Group condition for Giftcards
# 1.5.4
- Add 'normal' product lineitem payload
# 1.5.3
- Add message on giftcard redeem add
- Add redeemed giftcards and total in offcanvas cart
# 1.5.2
- Fix giftcard collector on null referencedId
# 1.5.1
- Fix giftcard generation bug
# 1.5.0
- Add option for 'physical' giftcards
# 1.4.3
- Bugfix product UUID
# 1.4.2
- Fix transaction price
- Fix administration order creation
# 1.4.1
- Fix warnings in Administration
# 1.4.0
- Refactor Administration screens in Product detail
- Add Advanced 'Filename' configuration
- Option for 'Fixed pricing' giftcards
- Add link from giftcard transaction to paid order
# 1.3.3
- Bugfix in Order view in Administration
# 1.3.2
- Show applied giftcard on Finish page
- Add links between order and giftcard in Administration
# 1.3.1
- Bugfix in Order view in Administration
# 1.3.0
- Add missing information about giftcard payment in Administration
- Add missing information about giftcard payment in Storefront
- Add missing information about giftcard payment on invoice
# 1.2.3
- Fix missing default media folder configuration in uninstall process
# 1.2.2
- Add "Just for you" design
# 1.2.1
- Fix Add To Cart bug
# 1.2.0
- Move Product-specific giftcard configuration to extension instead of customfields
- Fixes localization bugs
# 1.1.6
- Add administration twig blocks
# 1.1.5
- Fix 'cardknox' payment provider bug with empty transaction ID
# 1.1.4
- Fix product detail page custom layout bug
# 1.1.3
- Add Cart item type Rule filter
# 1.1.2
- Fix product detail page custom layout bug
# 1.1.1
- Fix PHP8.2 warning
Compatibility with Shopware 6.5
# 1.0.3
- Add Cart item type Rule filter
# 1.0.2
- Bugfix custom product detail page layout
- Add Interfaces
- Fix migration bug
First version for the Shopware Store