I imagine you could do this by hooking up a signal handler to the satchmo_cart_changed signal[1]. On the frontend you only allow people to add certain amounts. Then if someone tries to cheat and add a different amount you can catch it by checking in your signal handler and dropping any items that aren't at the right quantity. You might also message the user about what happened (and how they shouldn't tamper with forms).
[1]http://satchmoproject.com/docs/svn/signals.html#satchmo-cart-changed Hope that helps, Alex -- Alex Robbins 5Q Communications, Inc. http://www.5Qcommunications.com/ [email protected] 800-747-4214 ext 913 (p) http://www.ask5q.com/twitter/ On Wed, Dec 23, 2009 at 10:17 AM, joclek <[email protected]> wrote: > I would like to have prices based on a lot size. For example, I want > to sell a product in lots of 10, 25, 50, and 100, having a prices of > $10, $20, $35, and $60. Is there any way to do this? Would I need to > write some kind of custom price module? I only want to have them > available in these quantities. > > -- > > 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. > > > -- 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.
