Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default missing products from category listing

    I seem to have missing products in my category listings. For some bizarre reason they are just not showing. In the menu, they are visible as a choice, but when their directory is chosen, the products disappear.

    http://www.peppermaster.com/product

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: missing products from category listing

    Care to state which ones??

  3. #3
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: missing products from category listing

    To begin with, the under the first main product category; All Purpose Hot Sauces, the drop down menu shows the Smokey Chipotle category. If I click on the master category; All purpose hot sauces, the smokey chipotle does not show in the list of categories.

    In the Hot Sweet Seductions Category, it's the Ginger Lime category.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: missing products from category listing

    Try turning off your url rewriter and see if that corrects it

  5. #5
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: missing products from category listing

    Quote Originally Posted by kobra View Post
    Try turning off your url rewriter and see if that corrects it
    That is much easier said than done. Will look into that mod. Thanks.

  6. #6
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: missing products from category listing

    For anyone else who might experience this difficulty, it turned out to be in the array for the categoryrow.php for the drop down menu.

    The snippet read:

    }
    $title = '';
    $num_categories = $categories->RecordCount();

    $row = 0;
    $col = 1;
    $list_box_contents = '';
    if ($num_categories > 0) {
    if ($num_categories < MAX_DISPLAY_CATEGORIES_PER_ROW || MAX_DISPLAY_CATEGORIES_PER_ROW == 0) {
    $col_width = floor(100/$num_categories);
    } else {
    $col_width = floor(100/MAX_DISPLAY_CATEGORIES_PER_ROW);
    }

    while (!$categories->EOF) {
    if (!$categories->fields['categories_image']) !$categories->fields['categories_image'] = 'pixel_trans.gif';
    $cPath_new = zen_get_path($categories->fields['categories_id']);

    // strip out 0_ from top level cats
    $cPath_new = str_replace('=0_', '=', $cPath_new);

    // $categories->fields['products_name'] = zen_get_products_name($categories->fields['products_id']);

    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
    'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '' . $categories->fields['categories_name'] . '</a>');

    $col ++;
    if ($col > (MAX_DISPLAY_CATEGORIES_PER_ROW -1)) {
    $col = 0;
    $row ++;
    }
    $categories->MoveNext();
    }
    }

    I changed the $col = 0 and voila, recovered products.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: missing products from category listing

    categoryrow.php for the drop down menu.
    You might add what template or plugin you added that contains this file

 

 

Similar Threads

  1. Products missing from one category
    By GrandpasToys in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 8 Jan 2013, 04:14 PM
  2. Show products from category under a product listing
    By Guptyboy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Jul 2009, 03:39 AM
  3. REMOVE Category Title from Category listing page
    By craigcclltd in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Jul 2009, 11:29 AM
  4. Replies: 0
    Last Post: 17 Jan 2008, 12:37 AM
  5. making New Products Listing look like Category/Manufacturer Listing ??
    By simplifiedmedia in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2006, 10:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg