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
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
Care to state which ones??
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.
Try turning off your url rewriter and see if that corrects it
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.
You might add what template or plugin you added that contains this filecategoryrow.php for the drop down menu.