- Issue created by @dexter23
- πΊπΈUnited States fathershawn New York
I've steadily been adding support for this use case, as it's common but not the context of my original case. We will need to extend the two blocks to check
commerce_donation_flow.settings
and create the proper OrderItem type. I can give you some pointers if you are up for contributing or I'll get to this as soon as I can.In the meantime the only integration with a typical commerce flow is to add a donation as part of checkout.
- Status changed to Needs work
about 1 year ago 12:42pm 18 October 2023 Hello, I would really like to help contributing with this but I don't think I have the knowledge enough to be able to achieve something like this. If it was something simple to do I could give it a try and see if I can figure out, but I guess it's gonna be something more complicated to do.
I think I just got this wrong, because when I installed the module I thought that the option that I have choosen would mean that I could create the donation as a different product within the store. But what is the way for this option to work then? Where should the donation option show if I choose to have it as an additional item in the commerce setup? It would just show at the checkout page if somebody is purchasing some other items or it would be possible to just display it even if they don't buy any other items at the store? Is there any instructions about this?
Would be any other approach to use this module to have the donation option at the same time that I keep the commerce module to sell different products or this option is not possible?
Thank you for the module and your reply
- πΊπΈUnited States fathershawn New York
It is possible. We don't use Products and Variations because it's more complex that we needed. OrderItems are also a PurchaseableEntity in Commerce's data model so that's what we use to model the donation. Currently the only thing built out for a "mixed" model of products and donations is to add a donation in checkout. Checking the box added to the first checkout step triggers the creation of the donation OrderItem and makes the panes visible to collect the needed data.
We can do it in a more "add to cart" way but this was the easiest first step extending what we already had.
- Status changed to Active
about 1 year ago 9:21pm 18 October 2023 - Status changed to Postponed
about 1 year ago 1:28pm 31 October 2023 - Status changed to Closed: works as designed
3 months ago 2:30am 22 September 2024