Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow adding a custom field to the PaymentMethod, ShippingMethod, CustomerGroup entities #1185

Closed
nemo-js opened this issue Oct 21, 2021 · 3 comments

Comments

@nemo-js
Copy link
Contributor

nemo-js commented Oct 21, 2021

It would be very helpful, if we could create a custom field for PaymentMethods and ShippingMethods.

The use-case we want to implement is the following:
At the front-end we should display a different UI depending on the payment method (ie on cash just proceed, on Stripe redirect to Stripe etc)
Another use-case is that we want to hide the address UI when the Order is store-pickup

@Draykee
Copy link
Contributor

Draykee commented Oct 21, 2021

I also think that CustomerGroup might be a good candidate to get extended with customFields aswell.
Right now it just has a name (https://www.vendure.io/docs/typescript-api/entities/customer-group/) but maybe: description, notes, group limit, links to social groups (like a facebook group?), stats, or other CRM properties might be helpful.

@sepehrg
Copy link

sepehrg commented Oct 25, 2021

I need custom fields for customerGroup too. Thank you for your efforts.

@michaelbromley michaelbromley changed the title Allow adding a custom field to the PaymentMethod and ShippingMethod entities Allow adding a custom field to the PaymentMethod, ShippingMethod, CustomerGroup entities Nov 8, 2021
@michaelbromley
Copy link
Member

michaelbromley commented Nov 23, 2021

I'll be adding custom field support on:

  • Country
  • CustomerGroup
  • PaymentMethod
  • Promotion
  • TaxCategory
  • TaxRate
  • Zone

(ShippingMethod is actually already supported)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants