Hi , As my site has long product names , it tends to wrap on the breadcrumb bar , when viewing in smaller screen res , is there a way to only have categories in the breadcrumb bar ?
THanks
Hi , As my site has long product names , it tends to wrap on the breadcrumb bar , when viewing in smaller screen res , is there a way to only have categories in the breadcrumb bar ?
THanks
Various Zen cart sites !
May be the topic below has the info you want.
Remove product from Bread Crumb Trail
.
A New Starter again
Thanks for that : For info :
Re: Remove product from Bread Crumb Trail
Magicpants is looking for this:
In init_add_crumbs.php, comment out the following code:
Quote:
/**
* add the products model to the breadcrumb trail
*/
if (isset($_GET['products_id'])) {
$productname_query = "select products_name
from " . TABLE_PRODUCTS_DESCRIPTION . "
where products_id = '" . (int)$_GET['products_id'] . "'
and language_id = '" . $_SESSION['languages_id'] . "'";
$productname = $db->Execute($productname_query);
if ($productname->RecordCount() > 0) {
$breadcrumb->add($productname->fields['products_name'], zen_href_link(zen_get_info_page($_GET['products_id']), 'cPath=' . $cPath . '&products_id=' . $_GET['products_id']));
}
}
Various Zen cart sites !
Bookmarks