RE: Product Attributes to Product Options

tmorton <[email protected]> 12 Sep 2003 14:22:46 -0000
Newsgroups gmane.comp.web.oscommerce.general
Message-ID <1b967e43eb7cb9aa5a7a15335cc683f1@osCommerce-Forums>
This message was sent from: General Support
http://forums.oscommerce.com/viewtopic.php?p=228400#228400
----------------------------------------------------------------

Hi,
[quote]If there is a common base weight to the attributes of 1lb then make the products_weight 1
[/quote]

Do you mean make it 1 when you add the product, or when the user selects the unit? Doing it when you add an attribute wouldn't work, because a product can have more than one weight-modifying attribute.

[quote]Now if the attribute weight is actually .75 it is -.25
If it's 1.5 its weight is then .5
if the next 3 are 1 don't add any attributes weight. [/quote]

OK. I get it now...that's cool. Thanks. I'll look for your code and get a better idea what I'm doing   :wink: 

--Taj