Manmade Designs Posted August 30, 2005 Share Posted August 30, 2005 Hello. I really need my categories to look like this: http://www.lonestarcandlesupply.com/scentsa-b.html My current site: http://www.countrycreekfarm.com (click potpourris or candles) Is there a contribution or anyway anyone can suggest to make this happen? This is pretty urgent.. thank you very much for any support. I appreciate it. My Current osCommerce Stores: http://www.CountryCreekFarm.com ** http://www.WOTTuning.com ** ** These are live stores, please do not make test orders! Link to comment Share on other sites More sharing options...
Manmade Designs Posted August 30, 2005 Author Share Posted August 30, 2005 I want the product lists to look like that, rather.. not the categories. My Current osCommerce Stores: http://www.CountryCreekFarm.com ** http://www.WOTTuning.com ** ** These are live stores, please do not make test orders! Link to comment Share on other sites More sharing options...
Wendy James Posted August 30, 2005 Share Posted August 30, 2005 Well this link will give you some options for the quantity boxes http://www.oscommerce.com/community?contri...ox&category=all I think you could use the product extra fields contribution http://www.oscommerce.com/community/contributions,2202 to get the extra information added to the products but then you would need to edit the product_listing.php module in your catalog/includes/modules folder to show the extra fields. Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep. Link to comment Share on other sites More sharing options...
Manmade Designs Posted August 30, 2005 Author Share Posted August 30, 2005 Here's how I would LIKE this page to function (this is just a photoshopped screen shot). I installed the quantity box, but I cannot figure out how I'm going to get multiple quantity boxes, and have each box have it's own price assigned to it. :( My Current osCommerce Stores: http://www.CountryCreekFarm.com ** http://www.WOTTuning.com ** ** These are live stores, please do not make test orders! Link to comment Share on other sites More sharing options...
Manmade Designs Posted August 30, 2005 Author Share Posted August 30, 2005 *BUMP* Any help? Please? My Current osCommerce Stores: http://www.CountryCreekFarm.com ** http://www.WOTTuning.com ** ** These are live stores, please do not make test orders! Link to comment Share on other sites More sharing options...
kundan Posted August 30, 2005 Share Posted August 30, 2005 Hi Manmade, Seems pretty hard. It's not very helpful, but I would do it outside of osCommerce, might be easier. But then I'm pretty new to osCommerce myself, so one of the super experts might have a way of doing it inside osCommerce. Sorry I can't be more helpful, but want to offer some encouragement. Love the Country Creek Farm site design. Manmade's a nice name by the way. Kundan *BUMP* Any help? Please? <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2005 Share Posted August 30, 2005 You should be able build the form with the boxes. Each edit box is going to have a name associated with it. You can retrieve the values from each box (after submit) by using an array to post the names and retrieve the values so for "almond cherry" at $10 if (isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'submit') { $almond_cherry = tep_db_prepare_input($HTTP_POST_VARS['almond_cherry_10']); ....process more products & attributes } So when you submit the selection the values of the boxes can be retrieved. Now when you initially bring this page up you retrieve the values from the items from the dbase. You can use the same page and create the transition variable like if (isset($HTTP_GET_VARS['edit']) ) { $multi_query = tep_db_query("select p.products_id, p.products_price from " . TABLE_PRODUCTS . " p where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.language_id = '" . (int)$languages_id . "'"); } Then you can process products & attributes while ($product_value = tep_db_fetch_array($multi_query)) { $values = tep_db_fetch_array($multi_query); ... process values here and put them in the values boxes ... } Link to comment Share on other sites More sharing options...
Manmade Designs Posted August 30, 2005 Author Share Posted August 30, 2005 Excellent. Sounds like quite a bit of work, but I think you forgot to mention which file I would edit this in? Thanks in advance! :) My Current osCommerce Stores: http://www.CountryCreekFarm.com ** http://www.WOTTuning.com ** ** These are live stores, please do not make test orders! Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2005 Share Posted August 30, 2005 I think it would be better to create a new file. Because you need on the one hand an entire category of products plus the product attributes. The catalog\includes\modules\product_listing.php creates a list of products for a category. If you decide to use that as a base you will have to modify it heavily. The headers must change, new edit boxes must be inserted, action check etc. That will be only the include module. Somewhere probably in your index.php you will have to add a case to invoke this file if the customer goes to that matrix mode. The good news is that you could leverage a lot of the code directly from the osCommerce core and contributions. The integration is the pain :lol: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.