On Tue, Oct 4, 2011 at 4:28 PM, Tomas Neme <[email protected]> wrote:
>> There is the capability to create a discount that offers free shipping. It's
>> a different approach that might work in some cases.
>> -Chris
Checking the signals and the payment views and form codes, I see
there's a signal for when the PaymentMethodForm is initialized, but
not one for when it's sent. Should (can) I add a discount to the Order
there? I've got the feeling it might get overriden by the form. Maybe
adding it to the discount code as an initial value and change the
widget to a HiddenWidget in the form, but I fear what might happen if
someone looks at the form and sees the hidden value and hacks a fake
form together..
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.