You can look at my djangocon slides for an example of using a signal to do
something very similar.
http://bitbucket.org/chris1610/satchmo/downloads/djangocon-2009.pdf

That example fires off an email when someone registers on your site.
Modifying this to listen to the out_of_stock signal is trivial.

-Chris





On Fri, Sep 25, 2009 at 8:11 AM, Bob Waycott <[email protected]> wrote:

> You can make a signal listener do anything you want it to do.
>
>
> On Fri, Sep 25, 2009 at 8:54 AM, Alessandro Ronchi <
> [email protected]> wrote:
>
>> I need to know with a warning email if a product is at 0 or 1 quantity. Is
>> it possible to attach an email warning to a out_of_stock signal?
>>
>> --
>> Alessandro Ronchi
>>
>> SOASI
>> Sviluppo Software e Sistemi Open Source
>> http://www.soasi.com
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to