Jump to content

malenky

Members
  • Content count

    8
  • Joined

  • Last visited

1 Follower

About malenky

  • Birthday 03/09/1988

Profile Information

  • Real Name
    malenky
  • Gender
    Male
  • Location
    Columbus, Ohio, 43212
  1. .... the placement of the the new php for the index page [ ReadMe.txt #9B ], was the reason that products were only being filtered on the welcome page and not when any of the categories or sub-categories were selected. I'm still working on making it a bit smoother but placing #9B in two locations seemed to solve most of my problems!
  2. so i guess I'm not exactly in the clear yet. I saw a link in this form to http://wardyb.byethost12.com/index.php This is where I first saw a difference. My site only filters items on the index.php page, for new products. It will not work once any of the categories are selected. example: I can filter by make, the count of items changes (list of categories does not), and once i click on that category every item is displayed instead of just the ones that fit the criteria. I don't even know where to start. I would like the categories list and products list to filter on submit. Could you at least let me know which files and sections I would have to look through and debug? Thanks.
  3. Finally got the Y-M-M-P contribute to work on my site. In the readme.txt there is a typo. Under catalog/index.php the last line is missing and end '}' right before the 'else { //default page' statement . It should read: include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); echo '</div>';} //eof Year_Make_ ..... And for some reason the box module was not displaying the default value (Make, Model....), any values from the table, and the submit button would only make changes to the categories listed, would not go to a new page of items that fit the requirements. To fix this I simply used the old module box and language module box from the previous YMM contribute posting. Could not find the error in the YMMP. This is a great contribute and I'm happy it finally works. Since my site has been up for a while now I had to install it using the txt file, not the drag on top set. Thank you for making this contribute open to the community.
  4. Dream Media - "make the contribution into a working contribution" So is the latest YMMP contribute not working or is it just me. Don't know if that last comment relates to the new post or a side project... When I add fields to products they are not searchable by the box. site example @ http://www.cheshirechoppers.com/catalog/product_info.php?cPath=55&products_id=234 Any help would be very much appreciated
  5. malenky

    HORIZONTAL PRODUCT SCROLLER

    Think I got everything working: if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES_DESCRIPTION . " cd " . "where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = cd.categories_id and p.products_id = pd.products_id and cd.categories_name = 'EXAMPLE CATEGORIE NAME HERE' and pd.language_id = '" . (int)$languages_id . "' order by p.products_id asc limit " . 50 ); By replacing first $new_products_query in new_products.php, this script displays only items from a particular caregory. I used several sliders each with a different category to create a page of specialized items. A way to highlight key products in a very large store.
  6. malenky

    HORIZONTAL PRODUCT SCROLLER

    is there a way to make the slider display a select list of products. I made a new page with serveral of these product sliders on it, and would like each individual one to show a different sub-category. how would i go about telling the 'new_products' page which set of 'product_id=' i want to include?
  7. NM. Finally got it. For any one who is trying to get TMS and Extra Product Fields 2.3.1 to work... // ========begin Extra Product Fields======== foreach ($epf as $e) { $mt = ($e['uses_list'] && !$e['multi_select'] ? ($product_info[$e['field']] == 0) : !tep_not_null($product_info[$e['field']])); if (!$mt) { //echo '<b>' . $e['label'] . ': </b>'; if ($e['uses_list']) { if ($e['multi_select']) { $values = explode('|', trim($product_info[$e['field']], '|')); $listing = array(); foreach ($values as $val) { $listing[] = tep_get_extra_field_list_value($val, $e['show_chain'], $e['display_type']); } //echo implode(', ', $listing); } else { //echo tep_get_extra_field_list_value($product_info[$e['field']], $e['show_chain'], $e['display_type']); } } else { //echo $product_info[$e['field']]; } //echo '<br>'; // --------if $mt define variables for tab-------- if ($e['uses_list']) { if ($e['multi_select']) { $productdestails = implode(', ', $listing); } else { $productdestails = tep_get_extra_field_list_value($product_info[$e['field']], $e['show_chain'], $e['display_type']); }} else { $productdestails = $product_info[$e['field']];} $productspecs .= '<b>' . $e['label'] . ': </b> ' . $productdestails . '<br><br>'; //--------end tab variable-------- } else { // --------in not $mt echo place holder text-------- $productspecs = ' There are currently no Details for this product'; } } // ========end Extra Product Fields======== $TMS->tab[2]['content'] = $productspecs;
  8. Trying to display product attributes from, Extra Product Fields, in $TMS->tab[2]. When there are no additional specs. for a product the tab displays ' There are currently no Details for this product'. When there are specs.... it should display all the labels and their values. So far only first label displays and no values. Can any one help with getting code to work in tabs page. live site @ http://www.cheshirec...cts_id=34#!tab2 Working labels and values show up between 'write review' button and 'overview' tab, would like it inside tabs page, instead. // begin Extra Product Fields foreach ($epf as $e) { $mt = ($e['uses_list'] && !$e['multi_select'] ? ($product_info[$e['field']] == 0) : !tep_not_null($product_info[$e['field']])); if (!$mt) { // only display if information is set for product echo '<b>' . $e['label'] . ': </b>'; if ($e['uses_list']) { if ($e['multi_select']) { $values = explode('|', trim($product_info[$e['field']], '|')); $listing = array(); foreach ($values as $val) { $listing[] = tep_get_extra_field_list_value($val, $e['show_chain'], $e['display_type']); } echo implode(', ', $listing); } else { echo tep_get_extra_field_list_value($product_info[$e['field']], $e['show_chain'], $e['display_type']); //$productspecs = '<b>' . $e['label'] . ': </b>' . $product_info[$e['field']]; } } else { echo $product_info[$e['field']]; } echo '<br>'; } else { $productspecs = ' There are currently no Details for this product'; } } // end Extra Product Fields $TMS->tab[2]['content'] = $productspecs;
×