Autofill code when adding a single gift card

Created on 11 November 2020, about 4 years ago
Updated 6 August 2024, 5 months ago

Problem/Motivation

When using the Add giftcard button in the administration UI the administrator is presented with a blank code box. The administrator is required to come up with a hard to guess code.

Steps to reproduce

Go to admin/commerce/giftcards and "Add gift card". The Code text field is blank.

Proposed resolution

Use generateCodes() in the module to pre-fill a generated code in the form.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rhovland Oregon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024