antalya gergi tavan antalya duvar kağıdı

Reply To: Installing Access Shop Lite Theme on Magento

Home Support Free Theme: Access Shop Installing Access Shop Lite Theme on Magento Reply To: Installing Access Shop Lite Theme on Magento

#4061

Hi There,

This seems to be problem with search code so, go to this folder inside root folder of your magento installation:
app\design\frontend\accessshop\default\template\catalogsearch
and find “form.mini.phtml” file.
Edit it with a editor like Notepad++ and
Remove the section from line 17 to 38 consisting this section:

$layer = Mage::getSingleton('catalog/layer');
                $_category = Mage::getModel('catalog/category')->load(2); //this is cat 3, or can use: 
                $_category = $layer->getCurrentCategory();
                $_categories = $_category->getCollection()
                 ->addAttributeToSelect(array('url_key','name','image','all_children','is_anchor','description')) //or whatever fields you want
                 ->addAttributeToFilter('is_active', 1)
                 ->addIdFilter($_category->getChildren())
                 ->setOrder('position', 'ASC')
                 ->joinUrlRewrite();
                ?>
                <?php foreach ($_categories as $_category):?>
                    <option value="<?php echo $_category->getId();?>"><?php echo $this->htmlEscape($_category->getName());?></option>
                    <?php $_child_categories = Mage::getModel('catalog/category')->getCategories($_category->getId());?>
                    <?php foreach ($_child_categories as $_child_category):?>
                        <option value="<?php echo $_child_category->getId();?>">&nbsp;&#10149;<?php echo $this->htmlEscape($_child_category->getName());?></option>
                        <?php $_grand_child_categories = Mage::getModel('catalog/category')->getCategories($_child_category->getId()); //this is cat 3, or can use:?>
                        <?php foreach ($_grand_child_categories as $_grand_child_category):?>
                            <option value="<?php echo $_grand_child_category->getId();?>">&nbsp;&nbsp;&#10149;<?php echo $this->htmlEscape($_grand_child_category->getName());?></option>
                        <?php endforeach;?>
                    <?php endforeach;?>
                <?php endforeach;

by adding /* before the code above and */ after it.

Thanks!

anal porno watch porn anal