Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Ability to hook into adding custom fields to checkout #5736

Discussion options

You must be logged in to vote

Hi @nickfmc, thanks for raising the issue. You can currently add custom fields to the checkout by adding a new inner block to the address area, and render an input inside of it. We do something similar in this test plugin to render a checkout box for subscribing to a newsletter. You can follow the same format to add custom fields elsewhere on the Checkout block.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nerrad
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement The issue is a request for an enhancement. block: checkout Issues related to the checkout block.
4 participants
Converted from issue

This discussion was converted from issue #5694 on February 07, 2022 15:17.