Discounts based on an attribute of a Product

8 views
Skip to first unread message

Paul Walsh

unread,
Nov 7, 2012, 11:26:30 AM11/7/12
to satchm...@googlegroups.com
I have a Satchmo store, where the products are models that subclass Satchmo's Product: Book(Product) and Accessory(Product)

Both my Book and Accessory classes have a FK to Distributor (actually, distributor is an Organization in Satchmo's contacts module.)

I'd like to be able to apply discounts on all products of a particular distributor:

Say, if I had a distributor called "Penguin", I want all products from penguin to be 30% off from December 5th > December 21st.

I find the docs of Satchmo quite lacking (and outdated in some areas), and I just can't see how I can do this (unless I totally write my own code).

Is such discount logic possible in Satchmo?

Olivier Lauret

unread,
Nov 7, 2012, 5:47:24 PM11/7/12
to satchm...@googlegroups.com
Hi Paul,

Have you tried tired prices? This allow to set specific prices by group. Only problem I found with this method is that I couldn't stop the users applying a discount code to it.

Regards,
Olivier



--
You received this message because you are subscribed to the Google Groups "Satchmo users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/satchmo-users/-/NAcFfQsfoAUJ.
To post to this group, send email to satchm...@googlegroups.com.
To unsubscribe from this group, send email to satchmo-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/satchmo-users?hl=en.



--
Equalitea_logo

Paul Walsh

unread,
Nov 8, 2012, 7:08:38 AM11/8/12
to satchm...@googlegroups.com
Yes, but by group doesn't help me here. Distributors aren't Users, and dont have a relation to group. I guess I'll have to hack something together.

Paul Walsh
0543551144
Reply all
Reply to author
Forward
0 new messages