Guest Posted April 3, 2011 Share Posted April 3, 2011 Mike, If you look in this thread you will find a code change for that. I am will be updating the download in a couple of weeks to reflect the changes mentioned. Chris Quote Link to comment Share on other sites More sharing options...
mods4rides Posted April 3, 2011 Share Posted April 3, 2011 Alex, This version is for v2.3.1 ONLY. You will have to uninstall it and then download and install this version for RC2a: http://addons.oscommerce.com/info/6684 Chris I've sent you a PM. I'm hesitant to run the other addon due to the "auto installer" and I don't want it to break a production environment store. Thanks Alex Quote Link to comment Share on other sites More sharing options...
RMD27 Posted April 20, 2011 Share Posted April 20, 2011 Hi Ricardo, I am sure YMM can be altered to integrate fields into existing tables, but this would require SQL paths to be altered. It isn't a bad idea, perhaps someone with more time will make a transition version. Chris Hello Chris Im still finding an easy way to make this happen Is it possible to create the same ymm fields in the product description table and have the fields in the ymm table pull the data from these new fields in the product description table? Most importantly of all, is it possible to do easily Quote Link to comment Share on other sites More sharing options...
amarangos Posted April 20, 2011 Share Posted April 20, 2011 (edited) To Dunweb: In bm_year_make_model.php find the following line $javascript = '<script language="javascript" type="text/javascript"> var a = new Array(); var b = new Array(); var c = new Array();'; and change it to $javascript = '<script language="javascript" type="text/javascript"> //<![CDATA[ var a = new Array(); var b = new Array(); var c = new Array();'; Edited April 20, 2011 by amarangos Quote Link to comment Share on other sites More sharing options...
mods4rides Posted April 21, 2011 Share Posted April 21, 2011 (edited) Alex, This version is for v2.3.1 ONLY. You will have to uninstall it and then download and install this version for RC2a: http://addons.oscommerce.com/info/6684 Chris New 2.3.1 store, module r01 installed and approx 30K parts in database with a handful tagged for filtering. I'm noticing that some parts show up duplicated. Not all parts not all makes. If you filter by Jeep TJ unlimited http://mods4rides.dyndns.org you will notice a few parts are duplicated. 3 of the 10 parts are duplicated. I used all drop on top files and then thought maybe they had an issue so I took the readme steps and applied them to as many files as I thought could cause this yet no change. Suggestions? Edited April 21, 2011 by mods4rides Quote Link to comment Share on other sites More sharing options...
Guest Posted April 21, 2011 Share Posted April 21, 2011 New 2.3.1 store, module r01 installed and approx 30K parts in database with a handful tagged for filtering. I'm noticing that some parts show up duplicated. Not all parts not all makes. If you filter by Jeep TJ unlimited http://mods4rides.dyndns.org you will notice a few parts are duplicated. 3 of the 10 parts are duplicated.I used all drop on top files and then thought maybe they had an issue so I took the readme steps and applied them to as many files as I thought could cause this yet no change.Suggestions? Alex, If your products a duplicated with the LINK mode into different categories then they would appear duplicated in the filter. Chris Quote Link to comment Share on other sites More sharing options...
amarangos Posted April 21, 2011 Share Posted April 21, 2011 To Dunweb: Me again, I made some changes to bm_make_model_year.php so that it is more XHTML 1.0 Transitional WC3 compliant as I was recently validating my test site. Nothing crazy, just a couple of & instead of &, //<![CDATA[ in the javascript, and a couple of </br>. The minor changes helped me clean up a majority of the errors I was getting. Figured I would share what I changed: To everyone else, feel free to use this at your own risk, I wouldn't use this on a production site until Dunweb has a chance to look at it and approve/disapprove, perhaps incorporate it into the next release. <?php class bm_year_make_model { var $code = 'bm_year_make_model'; var $group = 'boxes'; var $title; var $description; var $sort_order; var $enabled = false; function bm_year_make_model() { $this->title = MODULE_BOXES_YEAR_MAKE_MODEL_TITLE; $this->description = MODULE_BOXES_YEAR_MAKE_MODEL_DESCRIPTION; if ( defined('MODULE_BOXES_YEAR_MAKE_MODEL_STATUS') ) { $this->sort_order = MODULE_BOXES_YEAR_MAKE_MODEL_SORT_ORDER; $this->enabled = (MODULE_BOXES_YEAR_MAKE_MODEL_STATUS == 'True'); $this->group = ((MODULE_BOXES_YEAR_MAKE_MODEL_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right'); } } function execute() { global $HTTP_GET_VARS, $languages_id, $currencies, $oscTemplate, $Make_selected_var, $Model_selected_var, $Year_selected_var; $Make_Model_Year_query = tep_db_query("select distinct products_car_make, products_car_model, products_car_year_bof, products_car_year_eof from products_ymm where products_car_make != '' and products_car_model != '' and products_car_year_bof !=0 and products_car_year_eof != 0 order by products_car_make, products_car_model, products_car_year_bof, products_car_year_eof"); if ($number_of_rows = tep_db_num_rows($Make_Model_Year_query)) { $ymm_list = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">'. MODULE_BOXES_YEAR_MAKE_MODEL_TITLE . '</div>'; $ymm_list .= '<div class="ui-widget-content infoBoxContents" style="text-align: center;">'; $Make_array[] = array('id' => 'all', 'text' => 'Choose Vehicle'); $Model_array[] = array('id' => 'all', 'text' => 'Choose Model'); $Year_array[] = array('id' => 0, 'text' => 'Choose Year'); $javascript = '<script language="javascript" type="text/javascript"> //<![CDATA[ var a = new Array(); var b = new Array(); var c = new Array();'; $y = array(); $M_a = array(); $products_car_make_old = ''; $products_car_model_old = ''; while ($Makes = tep_db_fetch_array($Make_Model_Year_query)) { if (!isset($M_a [$Makes['products_car_make']])) $Make_array[] = array('id' => $Makes['products_car_make'], 'text' => $Makes['products_car_make']); if (!isset($M_a [$Makes['products_car_make']][$Makes['products_car_model']]) && count($y) > 0){ $M_a [$products_car_make_old][$products_car_model_old]=$y; $y = array(); } if ($Makes['products_car_year_bof'] != 0 && $Makes['products_car_year_eof'] != 0){ if ($Makes['products_car_year_bof'] == $Makes['products_car_year_eof']){ $y [$Makes['products_car_year_bof']] = 1; } elseif ($Makes['products_car_year_bof'] < $Makes['products_car_year_eof']){ while ($Makes['products_car_year_bof'] <= $Makes['products_car_year_eof']){ $y [$Makes['products_car_year_bof']] = 1; $Makes['products_car_year_bof']++; } } } $products_car_make_old = $Makes['products_car_make']; $products_car_model_old = $Makes['products_car_model']; $M_a [$Makes['products_car_make']][$Makes['products_car_model']] = array(); } $M_a [$products_car_make_old][$products_car_model_old]=$y; $i = 0; foreach ($M_a as $k =>$v){ $javascript .= 'a['.$i.']="'.$k.'";b['.$i.']=new Array('; $ii = 0; $s = ''; foreach ($M_a[$k] as $kk =>$vv){ $javascript .= ($ii != 0 ? ',' : '').'"'.$kk.'"'; $ss = ''; $iii = 0; foreach ($M_a[$k][$kk] as $kkk => $vvv){ $ss .= ($iii != 0 ? ',' : '').$kkk; $iii++; } if ($iii == 1) $ss = '"'.$ss.'"'; $s .= 'c['.$i.']['.$ii.']=new Array('.$ss.');'; $ii++; } $javascript .= ');c['.$i.']=new Array();'.$s; $i++; } $javascript .= ' function pop_model(){ var o ="<select name=\"Model\" onChange=\"pop_year();\" style=\"width: 100%\"><option value=\"all\">Choose Model</option>"; var sv = document.make_model_year.Make.value; if(sv != "all"){ var v = a.length; while(v--) if(sv == a[v]) break; for(var i = 0; i < b[v].length; i++) o+="<option value=\""+b[v][i]+"\">"+b[v][i]+"</option>"; } o+="</select>"; document.getElementById("model_select").innerHTML= o; document.getElementById("year_select").innerHTML= "<select name=\"Year\" style=\"width: 100%\"><option value=\"0\">Choose Year</option></select>"; } function pop_year(){ var o ="<select name=\"Year\" style=\"width: 100%\" onChange=\"document.make_model_year.submit();\"><option value=\"0\">Choose Year</option>"; var sv = document.make_model_year.Make.value; if(sv != "all"){ var v = a.length; while(v--) if(sv == a[v]) break; var sv2 = document.make_model_year.Model.value; if(sv2 != "all"){ var v2 = b[v].length; while(v2--) if(sv2 == b[v][v2]) break; for(var i = 0; i < c[v][v2].length; i++) o+="<option value=\""+c[v][v2][i]+"\">"+c[v][v2][i]+"</option>"; } } o+="</select>"; document.getElementById("year_select").innerHTML= o; } //]]> </script>'; if (isset($Make_selected_var) && isset($M_a[$Make_selected_var])){ foreach ($M_a[$Make_selected_var] as $k => $v) $Model_array[] = array('id' => $k, 'text' => $k);} if (isset($Make_selected_var) && isset($Model_selected_var) && isset($M_a[$Make_selected_var][$Model_selected_var])) foreach ($M_a[$Make_selected_var][$Model_selected_var] as $k => $v) $Year_array[] = array('id' => $k, 'text' => $k); $script = basename($_SERVER['SCRIPT_NAME']); if ($script == 'index.php' && (!isset($cPath) || $cPath == '')){ if (defined('FILENAME_ALLPRODS_SEO') && ALL_PRODUCTS_SEO == 'true'){ $script = FILENAME_ALLPRODS_SEO ; } elseif (defined('ALL_PRODUCTS') && ALL_PRODUCTS == 'true'){ $script = FILENAME_ALLPRODS ; } } $hidden_get_variables = ''; $keys = Array('Year','Make','Model',tep_session_name(),'x','y'); if ($script == 'product_info.php'){ if(isset($cPath) || $cPath != ''){ $HTTP_GET_VARS['cPath'] = $cPath; $link = 'index.php?cPath='.$cPath.'&Make=all&Model=all&Year=0'; } else { $link = 'index.php?Make=all&Model=all&Year=0'; } $action = 'index.php'; $keys [] = 'products_id'; } elseif (SEO_ENABLED == 'true' && basename($PHP_SELF) != FILENAME_ADVANCED_SEARCH_RESULT){ $action = tep_href_link($script, tep_get_all_get_params(array('Make','Model','Year')), 'NONSSL', false); $link = tep_href_link($script, tep_get_all_get_params(array('Make','Model','Year')).'Make=all&Model=all&Year=0', 'NONSSL', false); $keys [] = 'cPath'; $keys [] = 'products_id'; $keys [] = 'manufacturers_id'; } else { $action = $script; $link = $script.'?'.tep_get_all_get_params(array('Make','Model','Year')).'Make=all&Model=all&Year=0'; } reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if (!in_array($key,$keys)) $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } $ymm_list .= $javascript.tep_draw_form('make_model_year', $action, 'get').tep_draw_pull_down_menu('Make', $Make_array, (isset($Make_selected_var) ? $Make_selected_var : ''), 'onChange="pop_model();" style="width: 100%"') .'<br/><br/>'. '<span id="model_select">'.tep_draw_pull_down_menu('Model', $Model_array, (isset($Model_selected_var) ? $Model_selected_var : ''), 'style="width: 100%"') .'</span><br/><br/>'. '<span id="year_select">'.tep_draw_pull_down_menu('Year', $Year_array, (isset($Year_selected_var) ? $Year_selected_var : ''), 'onChange="document.make_model_year.submit();" style="width: 100%"') .'</span><br/><br/>'. $hidden_get_variables . tep_hide_session_id() . '<input type="submit" value="Go"> <a href="'.$link.'/>">Clear Vehicle</a></form>'; $ymm_list .= ' </div>' . '</div>'; $oscTemplate->addBlock($ymm_list, $this->group); } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_BOXES_YEAR_MAKE_MODEL_STATUS'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Year Make Model Module', 'MODULE_BOXES_YEAR_MAKE_MODEL_STATUS', 'True', 'Do you want to add the module to your shop?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Placement', 'MODULE_BOXES_YEAR_MAKE_MODEL_CONTENT_PLACEMENT', 'Right Column', 'Should the module be loaded in the left or right column?', '6', '1', 'tep_cfg_select_option(array(\'Left Column\', \'Right Column\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_BOXES_YEAR_MAKE_MODEL_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '0', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_BOXES_YEAR_MAKE_MODEL_STATUS', 'MODULE_BOXES_YEAR_MAKE_MODEL_CONTENT_PLACEMENT', 'MODULE_BOXES_YEAR_MAKE_MODEL_SORT_ORDER'); } } ?> Quote Link to comment Share on other sites More sharing options...
mods4rides Posted April 22, 2011 Share Posted April 22, 2011 (edited) Alex, If your products a duplicated with the LINK mode into different categories then they would appear duplicated in the filter. Chris Are you giving me brainstorm ideas or have you determined after looking at the site that this is what is happening? The parts I'm speaking of are not linked in other categories and the url states they are the same products_id. I have noticed that in the admin section of the catalog if I search for the product by name it selects it twice though the url has a slight difference: cPath=132&pID=30545&action=new_product_preview vs cPath=137&pID=30545&action=new_product_preview I have also noticed that while filtered the category counts each item so when I only have 2 parts it shows a count of 4. I appreciate your assistance. Edited April 22, 2011 by mods4rides Quote Link to comment Share on other sites More sharing options...
mods4rides Posted April 23, 2011 Share Posted April 23, 2011 (edited) Are you giving me brainstorm ideas or have you determined after looking at the site that this is what is happening? Frustration set in not being able to figure out this riddle you left me with as when I installed a contribution that would allow me to view product_model in the admin side I still couldn't find any duplication. I finally gave up and decided to delete an offending part from the database and noticed i could chose which category to delete it from. Every search by using the product_model only returned the main category. Deleting from the 2nd category resolved the issue. Thanks, in a round about way. Is there an easier way to find what products are in multiple categories other than stumbling on to them? Edited April 23, 2011 by mods4rides Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted April 24, 2011 Share Posted April 24, 2011 (edited) Hi Dunweb, I would like to start off with a big THANK YOU! This is brilliant and certainly can be the beginning of a solution I have been looking for to base my aftermarket parts sales ecommerce initiative from. I have been in the auto industry for a bit and have grown extensively with IT. I have dug deep into PHP & MySQL, however Java is a bit new to me. There are a few things I would love to ask you about, but I will begin with the first... If you can take a look at www.stockwiseauto.com, you'll see your contribution there along with the Browse By Categories 2.8 installed and running (found here http://addons.oscommerce.com/info/7959/v,23). I only have one test product up now but here's my question: Would there be an easy way to have the index.php page refresh with these "Browse By Categories" instead of All Products Matching? Meaning, I would like to refresh the main page with a list of all categories available for products matching their YMM. I hope we can establish a casual dialogue regarding this contribution and my question above. Look forward to hearing from you! -Chris StockWiseAuto Edited April 24, 2011 by ckouris84 Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted April 24, 2011 Share Posted April 24, 2011 In addition to this, after adding a few more test products & categories: - Selecting a YMM brings up a page with filter products (not categories like I asked above) and the (OSC Stock)->Browse Categories box shows the fitment counts for the YMM as it should. However, when you click on any of these categories, other parts that shouldn't fit show up there too. - This defeats the purpose of YMM lookup! I feel that on all pages, we need to filter out products that have a YMM entry but don't fit the currently selected vehicle, while leaving products that don't have any YMM entry to show up along products that have a YMM entry that are relevant to the currently selected YMM. - This would be the only way we can have a true YMM filtered site and still offer "universal" parts & products. If you can please help steer me in the right direction! I will poke around the code to gain a greater understanding in the meanwhile. This is major! Please help :) -Chris Quote Link to comment Share on other sites More sharing options...
mods4rides Posted April 24, 2011 Share Posted April 24, 2011 In addition to this, after adding a few more test products & categories: - Selecting a YMM brings up a page with filter products (not categories like I asked above) and the (OSC Stock)->Browse Categories box shows the fitment counts for the YMM as it should. However, when you click on any of these categories, other parts that shouldn't fit show up there too. - This defeats the purpose of YMM lookup! I feel that on all pages, we need to filter out products that have a YMM entry but don't fit the currently selected vehicle, while leaving products that don't have any YMM entry to show up along products that have a YMM entry that are relevant to the currently selected YMM. I think you're missing the true beauty and simplicity that this modification brings. On my store if you select Jeep and GO you will find pages and pages of parts. If you decide to narrow it by clicking on performance (showing 21 jeep products) You wouldn't see the MSD ignition as that is a universal part. You state the other parts that shouldn't fit show up.... That only happens on mine if I didn't set a make and model. NO make/model means it is universal.... so the receiver plug that says Ford shows in "towing" regardless of brand, because the rig on the trailer may be a jeep and be towed by a Ford. Don't overly limit what your customers can see as you may limit your sales. Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted April 25, 2011 Share Posted April 25, 2011 (edited) I think you're missing the true beauty and simplicity that this modification brings. On my store if you select Jeep and GO you will find pages and pages of parts. If you decide to narrow it by clicking on performance (showing 21 jeep products) You wouldn't see the MSD ignition as that is a universal part. You state the other parts that shouldn't fit show up.... That only happens on mine if I didn't set a make and model. NO make/model means it is universal.... so the receiver plug that says Ford shows in "towing" regardless of brand, because the rig on the trailer may be a jeep and be towed by a Ford. Don't overly limit what your customers can see as you may limit your sales. Hi mods4rides, I don't think I am missing the true beauty and simplicity at all. I have been involved with Amazon & eBay's automotive initiatives since they started and I am quite familiar with the flaws they had and the things they did to improve sales. I have also made a lot of suggestions to try and help them but it's hard to steer ships like those on a dime... Now I don't want to discredit your beliefs in the site you run, nor the great effort put forth by DunWeb and his predecessor on this contribution. What I want to explain to you is simple: On the site that I set up with this YMM contribution, www.stockwiseauto.com, you will find two products: - Timken 513121 - Timken SP580310 When you choose one of the two vehicles in the YMM Box, the one that fits shows up in the middle of the page and that's great...but when you click on a category on the left and browse back to Hub Assemblies, you will see that both of them show up. I have the YMM Box configured to "Yes" for "categories listing". Isn't this supposed to filter what you see on site to the vehicle you selected? If I was to have 50,000 products in all different types of categories...the customer will see everything after he starts browsing categories and not just the parts that fit. Also, the reason why I mention to have either of these show up 1) products that fit the selected YMM 2) products that are universal ...is because if you were to categorize tools to aid a customer doing a brake job in the brake category, these would show up along with the brake pads & rotors that fit...it would be the best situation ideally. If you have a look at your site, it behaves exactly how mine does and I know it's wrong and it will confuse customers. For instance: On your site if you were to select a Toyota FJ 2007, it seems there is 2 products in the performance category that fits...but you cannot narrow them down at all. Do you really think it's helping the customer? When a customer chooses a YMM, we need to filter out anything that has a YMM and doesn't fit, only to leave items that have a YMM or don't have a specified YMM and thus considered "Universal". DunWeb, can you please interject? Thank you, -CK Edited April 25, 2011 by ckouris84 Quote Link to comment Share on other sites More sharing options...
Guest Posted April 25, 2011 Share Posted April 25, 2011 Hi Chris, This contribution was just an update from the previous version of the same contribution for v2.2. I made very little changes to the original contribution so much of this was not coded by me. Please feel free to update the code as you see fit and upload a revised contribution to the add on area. Chris Quote Link to comment Share on other sites More sharing options...
RMD27 Posted April 26, 2011 Share Posted April 26, 2011 Hi mods4rides, I don't think I am missing the true beauty and simplicity at all. I have been involved with Amazon & eBay's automotive initiatives since they started and I am quite familiar with the flaws they had and the things they did to improve sales. I have also made a lot of suggestions to try and help them but it's hard to steer ships like those on a dime... Now I don't want to discredit your beliefs in the site you run, nor the great effort put forth by DunWeb and his predecessor on this contribution. What I want to explain to you is simple: On the site that I set up with this YMM contribution, www.stockwiseauto.com, you will find two products: - Timken 513121 - Timken SP580310 When you choose one of the two vehicles in the YMM Box, the one that fits shows up in the middle of the page and that's great...but when you click on a category on the left and browse back to Hub Assemblies, you will see that both of them show up. I have the YMM Box configured to "Yes" for "categories listing". Isn't this supposed to filter what you see on site to the vehicle you selected? If I was to have 50,000 products in all different types of categories...the customer will see everything after he starts browsing categories and not just the parts that fit. Also, the reason why I mention to have either of these show up 1) products that fit the selected YMM 2) products that are universal ...is because if you were to categorize tools to aid a customer doing a brake job in the brake category, these would show up along with the brake pads & rotors that fit...it would be the best situation ideally. If you have a look at your site, it behaves exactly how mine does and I know it's wrong and it will confuse customers. For instance: On your site if you were to select a Toyota FJ 2007, it seems there is 2 products in the performance category that fits...but you cannot narrow them down at all. Do you really think it's helping the customer? When a customer chooses a YMM, we need to filter out anything that has a YMM and doesn't fit, only to leave items that have a YMM or don't have a specified YMM and thus considered "Universal". DunWeb, can you please interject? Thank you, -CK If I can interject. About what you say about the filter not working when you browse back to hub assemblies. It works for me, only one hub shows. About mods 4 rides shop, it seems to filter by category just fine. maybe I am misunderstanding the point you are making Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted April 26, 2011 Share Posted April 26, 2011 If I can interject. About what you say about the filter not working when you browse back to hub assemblies. It works for me, only one hub shows. About mods 4 rides shop, it seems to filter by category just fine. maybe I am misunderstanding the point you are making It is working because I stayed up last night and revised the code! Thanks :) Quote Link to comment Share on other sites More sharing options...
amarangos Posted May 3, 2011 Share Posted May 3, 2011 It is working because I stayed up last night and revised the code! Thanks :) Any chance you would like to share what you changed in the code? Quote Link to comment Share on other sites More sharing options...
sportstolen Posted May 7, 2011 Share Posted May 7, 2011 Hi! Is it possible to only view those products that we have edit to an specific car model? I want to edit all products but it will take to much time to do it in one time, therefor its better that customers only can view products that we have edit. Hope you understand me :) Quote Link to comment Share on other sites More sharing options...
p0yo77 Posted May 15, 2011 Share Posted May 15, 2011 Hey Big thanks for the add on, it's fantastic and saved me a looooot of time, at first it didn't worked but with a few changes it started to work just fine, also i've made some changes to the code and would like to contribute. I've corrected the formatting in the Box and i've added a Combobox in the edit Product page so you dont get any typos or any error like that. Quote Link to comment Share on other sites More sharing options...
p0yo77 Posted May 16, 2011 Share Posted May 16, 2011 Hey Big thanks for the add on, it's fantastic and saved me a looooot of time, at first it didn't worked but with a few changes it started to work just fine, also i've made some changes to the code and would like to contribute. I've corrected the formatting in the Box and i've added a Combobox in the edit Product page so you dont get any typos or any error like that. in case you've already installed the add on and you want the Combo boxes in the product edit page, here are the instructions to do it http://www.comonew.com/changes.txt any questions feel free to contact me at poyo77 at gmail.com Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted May 16, 2011 Share Posted May 16, 2011 Hello p0yo77, Thank you for sharing your update on the contribution. I see that the only change you made to the formatting was moving where the $ymm_list begins its declaration and you really didn't change anything with the formatting other than renaming the drop-down/combobox titles. I think you moved the code to a better place but you haven't changed much there. However, as far as your drop-down addition to the categories.php...that's brilliant! Very good idea and it's very much appreciated. amarangos, I would love to share my code, however it has been modified so heavily that I cannot deliver a clean "upgrade" to the contribution page. However, I would love to help you with any questions or things that you need changed on your current OSC install with this YMM contribution. Let me know what you would like to do and I can certainly help point you in the direction you need! Thank you all! -Chris Quote Link to comment Share on other sites More sharing options...
ckouris84 Posted May 16, 2011 Share Posted May 16, 2011 p0yo77, I noticed that on the categories.php code edit you made to quickly add a previously entered YMM, it will only add tot he following empty YMM box and it would be great if we can figure out how to shift to the very next empty YMM entry box per click. :) -Chris Quote Link to comment Share on other sites More sharing options...
mods4rides Posted May 19, 2011 Share Posted May 19, 2011 Hello p0yo77, Thank you for sharing your update on the contribution. I see that the only change you made to the formatting was moving where the $ymm_list begins its declaration and you really didn't change anything with the formatting other than renaming the drop-down/combobox titles. I think you moved the code to a better place but you haven't changed much there. However, as far as your drop-down addition to the categories.php...that's brilliant! Very good idea and it's very much appreciated. -Chris I agree the addition is much welcome, and makes me want to share the tweaks I've found helped my store display multiple makes/models better. With standard CSS parts that fit a GMC or a Chevrolet truck are quite an eyesore. image hosting service after tinkering with the stylesheet.css I came up with this: post image wordpress To get this changed modify your stylesheet.css specifically for YMM to: #ymm ul li { list-style-type: none; width:180px; margin:10px 0 0 0; padding:0 5px 0 0; line-height:10px; float:left; display:inline; } #ymmopt ul li { list-style-type: none; width:180px; margin:10px 0 0 0; padding:0 5px 0 0; line-height:10px; float:left; display:inline; } You can find those at the very bottom of the drop on top files. Quote Link to comment Share on other sites More sharing options...
HaaGeN Posted June 2, 2011 Share Posted June 2, 2011 Hello all, Do you think it's possible to manage Date with month ?? For a model : Instead of setting up : 2000 - 2011 To be able to set up : 01 2000 - 01 2011 - or - January 2000 - January 2011 Thx for answer. HäaGeN Quote Link to comment Share on other sites More sharing options...
Psytanium Posted June 9, 2011 Share Posted June 9, 2011 hi, i'm deploying the add-on on my website, everything worked fine till i reached the FINAL step, 9.b :s i'm can't find in index this syntax: include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?> </div> <?php } i have a similar one, im not sure about it or where should i insert the new replacement : include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?> <?php echo tep_draw_content_bottom();?> <?php } else { // default page $first_page = true; ?> <?php echo tep_draw_content_top();?> <div class="none"> <?php echo tep_draw_title_top();?> <h1><?php echo HEADING_TITLE; ?></h1> <?php echo tep_draw_title_bottom();?><br /> </div > thank you so much for working on this useful add-on, and thank you for any feed back about my problem with the final step :) Quote 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.