Jump to content

[Solved] Breadcrumb, does not show full link in after search


Recommended Posts

Breadcrumb, does not show full link in after search, if you browse a cat until getting to the product you wil get at the top of the page all the categories and last the product, but if you make a search an click on a product in the search result , you will only get the product and the main page, does anyone know how to make it always aper the full cat linkage???

Link to comment
Share on other sites

yes ... its done , if anyone made my error here is the query for the solution :


$query_Recordset1 = "SELECT * FROM ps_category_product, ps_product WHERE ps_category_product.id_product = ps_product.id_product ";

do {
$IDPORD=$row_Recordset1['id_product'];
$IDCAT=$row_Recordset1['id_category'];
$updateSQL = sprintf("UPDATE ps_product SET id_category_default='$IDCAT' WHERE id_product='$IDPORD'");

mysql_select_db($database_connsbox, $connsbox);
$Result1 = mysql_query($updateSQL, $connsbox) or die(mysql_error());

} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));

it was done on dreamweaver so if any-other help , just PM

Link to comment
Share on other sites

×
×
  • Create New...