Product attributes - price multiplication

gadellj <[email protected]> 12 Aug 2003 01:44:24 -0000
Newsgroups gmane.comp.web.oscommerce.features
Message-ID <1ae33e3c15e83bbb17a7cc115b3b5950@osCommerce-Forums>
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=212105#212105
----------------------------------------------------------------

Hi,

I'm trying to add a banner product to my store.  There are several specific heights available (12",18",24",etc), but the customer can pick any length in feet they would like.  I need to be able to do something like:

12" at $5.60 per foot, 18" at $6.80 per foot, etc.  I configured one attribute field to be a dropdown of available heights.  The other I would like to be a numeric input field of length in feet.  Then when you add it to the cart, it would multiply cost per foot by length.  Right now there is only a (+) and (-) modifier on an attribute.  I'm aware of the [url=http://www.oscommerce.com/community/contributions,721]old contribution[/url] - but the code is from way back in 2002 and I couldn't get it to fit at all. I also know several people have asked in the past, but I never found a clear answer.  Any ideas?

Thanks for your help,

Joe