Guest Posted March 31, 2014 Share Posted March 31, 2014 I'm building a site using OS 2.2. It featured chemicals sold in either quart, gallon, or 5 gallon sizes. I've set up the Product Attributes for the different sizes. How do I get it to automatically recognize the different weight? I've decided, not really finding an answer anywhere, that I would try to do this myself. On the products_attribute page I've got it to display a weights column (which I've added to the database through phpMyAdmin) but it's not returning the values in the database. Where in the code does it connect to the database table and return the entries? Quote Link to comment Share on other sites More sharing options...
♥GLWalker Posted March 31, 2014 Share Posted March 31, 2014 Are you really using 2.2 version? 2.3.4 is the current most secure version, and easier to modify (imo). Sounds like you already added some weight fields to the attributes? You also have to make changes to the shopping_cart class file to push the weight to the product @ checkout. There is an existing contribution that works just fine for any very version, I think it is called more products weight? No sure though, but its out there. Quote Follow the community build: BS3 to osCommerce Responsive from the Get Go! Check out the new construction: Admin Gone to Total BS! Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 31, 2014 Share Posted March 31, 2014 Duplicate post - http://www.oscommerce.com/forums/topic/396451-different-weights-for-different-sizes/ Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted March 31, 2014 Share Posted March 31, 2014 Are you really using 2.2 version? 2.3.4 is the current most secure version, and easier to modify (imo). Sounds like you already added some weight fields to the attributes? You also have to make changes to the shopping_cart class file to push the weight to the product @ checkout. There is an existing contribution that works just fine for any very version, I think it is called more products weight? No sure though, but its out there. Whoops ... yes, I did upgrade to 2.3.3.4. And the reason I duplicated the post was because I thought I would get better answers in the developers forum. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 31, 2014 Share Posted March 31, 2014 It's against the forum rules to cross post and not considerate to those trying to help you. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.