Magento customized "Shop by" Navigation
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/local.xml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/layer_view.css";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/my.view.phtml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/filter.phtml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/filter.select.phtml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/state.phtml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/state.select.phtml";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
OPTIONAL: state.phtml with filter
ToDo: HowTo get avaiable options in a category for a filter?
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/customized-shop-by/state.phtml.with.filter.dev";
echo "$URL";
echo "
"; $c = curl_init(); curl_setopt($c, CURLOPT_URL, $URL); echo htmlspecialchars(curl_exec($c)); curl_close($c); echo "
";
?>
other files
./app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php
./app/design/frontend/default/default/layout/catalogsearch.xml
Links
http://classyllama.com/development/magento-development/the-better-way-to-modify-magento-layout/
http://docs.magentocommerce.com/Mage_Catalog/Mage_Catalog_Block_Layer_Filter_Attribute.html
http://www.mageintern.de/magento-shop-design/magento-navigation/filternavigation-layered-nav-mit-drop-down-auswahl.html
http://www.magentocommerce.com/boards/viewthread/28220/