Skip to content

Guidance for adding custom fields (file upload + text input) to POS checkout and user data #132

Description

@bracketmediadev

Hi! We need to extend the WooCommerce POS UI and want to confirm whether this is possible and the correct way to do it.

What we need:

We must add a few custom fields to the POS:

PAN number (text field)

Document upload (file/image upload)

Marketing consent (checkbox)

These fields must:

Appear in the POS checkout (preferably).

Also be visible/editable in the customer profile (React UI).

Be saved in both:

WordPress user meta, and

WooCommerce order meta.

The PAN + document upload fields must appear conditionally: only if the cart/order total exceeds a certain threshold.

Our question

Is there an official or recommended way to:

Inject custom fields into the React-based POS checkout?

Add custom fields to the React customer profile screen?

Save values to both user meta and order meta?

Implement conditional fields based on the order total?

We want to avoid modifying plugin core files, so any guidance about extension points, hooks, or how the React components are meant to be customized would be extremely helpful.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions