No there is no special "discount module" right now ... this was an
example on where to properly add an implementation to achieve new
functionality.

You wrote that "To achieve this, I hacked together a Discount subclass
that:..." 
Good...
If you just write code to achieve some tasks for your business its ok if
you put shipping calculations into discount code implementation or mix
them vice versa. 
But if you want to merge your code with the official satchmo release
every implementation should go to its according place.

And to the Use-Case:
discounts correspond to products.
shipping options such as "Free-Shipping", "20%off-shipping", "60$
flat-shipping" etc... mostly do not correspond to products.
This is the reason why there is a shipping module standalone versus why
the discount class is in  /product/models.py

But I am optimistic to see a stand alone discount module in the near
future.

-- 

Raphael
http://develissimo.com




-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To post to this group, send email to satchmo-users@googlegroups.com.
To unsubscribe from this group, send email to 
satchmo-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to