How to add a custom content part to Order Content Type, please? #649
-
|
Hi @sarahelsaig , |
Beta Was this translation helpful? Give feedback.
Answered by
sarahelsaig
Aug 28, 2025
Replies: 1 comment 4 replies
-
|
You can add a custom content part to the content type definition as usual for Orchard Core, but I don't think you can edit them in the Checkout.cshtml. We'd probably need something that handled |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can alter the Order content item once it's created after checkout, and
IPaymentProviderimplementations can edit it as well.StripePaymentProviderdoes something similar to update theOrder.StripePaymentPart(e.g. here) which contains transaction IDs coming from Stripe's payment GUI on the checkout screen.It could be useful to add a similar checkout shape provider (like the Checkout*.cshtml files, but for other forms) that's not tied to payment providers. Feel free to open a feature request issue for that.