I am creating a store that has normal products and it also has donation 
based products. With the donation products the user defines the price. 

Here is where I am at so far and want to see if someone else has a better 
idea.

I created an add_donation function that loads in the product details and 
creates a new Donation object where I set the price to the user defined 
price. This feels a little hacky to me but this might be the easiest way. 
Thoughts?

https://gist.github.com/joshbatchelor/dc093ff99b129297d488#file-gistfile1-txt

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to