Describe the proposed solution
Offer a few configurable preset amounts (e.g. 25 / 50 / 100) as one-click choices on the gift card product page, alongside the free-text amount field.
Customers currently have to type an amount into an empty field, which is more friction than picking a common value and gives no hint of what a sensible amount looks like.
Describe alternatives you've considered
Doing it purely in a host application's template override — possible, but every store then reimplements the same thing, and the presets need validating against purchase.minimum_amount / maximum_amount server-side anyway.
Additional context
Deferred during the 1.x rewrite (#269) — see the roadmap in REWRITE.md.
Where it would land:
DependencyInjection/Configuration under the existing purchase node, next to minimum_amount / maximum_amount
Resources/views/shop/product/show/_gift_card_information.html.twig renders the amount field and the live preview
- presets must stay consistent with the existing min/max validation in
Form/Type/GiftCardInformationType
Describe the proposed solution
Offer a few configurable preset amounts (e.g. 25 / 50 / 100) as one-click choices on the gift card product page, alongside the free-text amount field.
Customers currently have to type an amount into an empty field, which is more friction than picking a common value and gives no hint of what a sensible amount looks like.
Describe alternatives you've considered
Doing it purely in a host application's template override — possible, but every store then reimplements the same thing, and the presets need validating against
purchase.minimum_amount/maximum_amountserver-side anyway.Additional context
Deferred during the 1.x rewrite (#269) — see the roadmap in
REWRITE.md.Where it would land:
DependencyInjection/Configurationunder the existingpurchasenode, next tominimum_amount/maximum_amountResources/views/shop/product/show/_gift_card_information.html.twigrenders the amount field and the live previewForm/Type/GiftCardInformationType