I need a way to change the product price until an expiration date.
satchmo.discount is not the correct solution for me.
Is it possible to create a new model that changes the unity product
price dinamically,
until it expires?
something like:
class Offer(models.Model):
product = models.ForeignKey(Product)
new_price = models.DecimalField(_("old price"), max_digits=14,
decimal_places=6, help_text=_("The original price of the product. Will
be set as the product price after offer is ended")
expires = models.DateField(_("Expires"), null=True, blank=True)
I dont' want to change the product model or satchmo code, if it's possible.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---