Accessing Attributes (basic question)
Al66 <[email protected]> 11 Sep 2003 11:38:18 -0000
| Newsgroups | gmane.comp.web.oscommerce.contributions |
|---|---|
| Message-ID | <0de412add8229720b1c08c5a1b08eb66@osCommerce-Forums> |
This message was sent from: Contributions http://forums.oscommerce.com/viewtopic.php?p=227826#227826 ---------------------------------------------------------------- I want to be able to directly access the attribute data for a specific product within the code. Can any one provide examples of code? What I'm trying to do: - We sell a product. - one of the attributes defines a cost which varies depending on quantity. - as it stands the customer chooses the attribute him/herself. - trouble is they can (and do) choose the wrong option. - I want to use the product quantity to automatically set this attribute I'm guessing this is just a case of someone telling me what file(s) to REQUIRE and a line of code that I can copy and paste and muck around with. Thanks