You could probably do something like you are talking about by
listening for the add to cart signal.
http://www.satchmoproject.com/docs/dev/signals.html#satchmo_store.shop.signals.satchmo_cart_add_verify

Inside that signal you can get the quantity added, then change the
price based on that quantity. A simpler solution might be to set a
price per square foot and have users enter the quantity as square feet
(although that might require math on their part).
--
Alex Robbins
5Q Communications, Inc.
http://www.5Qcommunications.com/
[email protected]
800-747-4214 ext 913 (p)
http://www.ask5q.com/twitter/



On Wed, May 12, 2010 at 9:49 AM, Jonathan Hayward
<[email protected]> wrote:
> For item X, I want the price to be a polynomial function of a single decimal
> value that the user can adjust from its default.
> For the configurator, I see how to set a number of discrete settings, so I
> could sell a shirt with prices for small, medium, and large, and additional
> pricing adjustments for regular, "poofy", or no lettering.
> Is there a way to sell cloth squares, default side length 2" which the user
> can override with any positive decimal value, where the cost is based off
> how many square feet of cloth are being sold, and is therefore based on the
> square of the decimal value supplied by the user?
>
> --
> → Jonathan Hayward, [email protected]
> → An Orthodox Christian author: theology, literature, et cetera.
> → My award-winning collection is available for free reading online:
> ☩ I invite you to visit my main site at http://JonathansCorner.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.
>

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