layered-navigation

Magento: textbox instead of multi select in layered navigation

本小妞迷上赌 提交于 2020-01-14 06:30:12
问题 Is there a possibility in Magento to have a multi-select attribute, for which I would use a textbox in layered navigation instead of showing all items from multi-select? I have an attribute where I will have hundreds of options and need to use it in layered navigation. When customer uses invalid value, an error should show up. Edit: After the help from FlorinelChis I have folowing code in filter.phtml: <ol> <?php foreach ($this->getItems() as $_item): ?> <?php $attributeModel = $this-

Change Magento Subcategories in Side Layered Navigation to Point to Actual Categories

落爺英雄遲暮 提交于 2019-12-24 14:02:00
问题 I was wondering if there is any way to change URLs of sidebar navigation to point to actual categories. For example there is a parent category widgets with subcategories Computer widgets, Laptop widgets, Phone widgets. If you navigate through main navigation to phone widget SEO friendly URL will be www.example.com/widgets/phone-widgets, but if you click on widget category, by default you going to have sidebar filtering navigation with categories Computer widgets, Laptop widgets, Phone widgets

Layered navigation wrong prices and range

做~自己de王妃 提交于 2019-12-23 05:12:05
问题 I am using Presta 1.6 and the blocklayered module to filter products by price value. However, the filters show wrong prices and range. What do I mean: When the range is between 5,95 and 6,25 I get products that are 5.40, 5,50 and even 4.90. I have tried to set the filtering options with and without tax but nothing changes. The prices that are shown are nowhere close to the "no tax price" of the products. The range of the filter is also wrong the $min-price and $max-price are close but not

Multiple Layers of Deep Linking in AngularJS

让人想犯罪 __ 提交于 2019-12-22 20:52:21
问题 I am attempting to place multiple controllers within my template partials with AngularJS- The problem I am encountering is that of the first layer, direct-linking to these sub-controllers and their related snippets. An example would be a management page for user accounts, say I am on a user-list and wanted to change a user from the list's password, I click on their change-password button, and want to redirect the user to #/ManageUsers/ChangePassword/?UserID=<uid here> rather than #

Custom Product Collection not Getting Filtered by Layered Navigation

折月煮酒 提交于 2019-12-22 18:27:11
问题 I had Overridden the product List.php Class & here is the code protected function _getProductCollection() { if (is_null($this->_productCollection)) { $result = array_unique($productIds); $collection = Mage::getResourceModel('catalog/product_collection'); $attributes = Mage::getSingleton('catalog/config')->getProductAttributes(); $collection->addAttributeToSelect($attributes); $collection->addIdFilter($result); Mage::getSingleton('catalog/product_status')->addVisibleFilterToCollection(

Hiding Magento's Layered Navigation from Search Engines

拟墨画扇 提交于 2019-12-11 12:09:48
问题 I’m hoping someone can help me with this problem I’ve been trying to solve for the past few days. I want to hide Magento’s Layered Navigation from the search engines entirely, but make it available to users. For SEO reasons, I don’t want to settle for NoFollowing all the links, or using noindex follow meta tags, or even blocking it entirely with Robots.txt. The most effective way of handling this would be only showing the layered Navigation to users with Cookies enabled, since Google doesn’t

Magento - Assign attributes to categories in layered navigation

非 Y 不嫁゛ 提交于 2019-12-11 02:29:06
问题 I've been working with Magento for a few months now. I have a Products category with 7 sub-categories. These categories are various brands with sub-categories of types of products. I'm looking to add certain attributes to each of these brand's products individually. For example, in 'Brand 1' there is 'Types of Drawers' attribute of: 2 Drawer, 4 Drawer. There are others I need to sort by according to what category it is in. The problem is that Magento doesn't seem to do this natively. That

why doesn't prestashop layered navigation block show on the front end?

ⅰ亾dé卋堺 提交于 2019-12-11 00:01:04
问题 I read docs, activated the layered navigation block, rebuilt the indexes, created a template, but it doesn't show at all on the front end. Why? Thank you 回答1: Make sure the category currently active in the module's configuration. Steps: 1. go to layered navigation block configuration 2. edit template 3. check the categories in "Categories used for this template" 回答2: In order to use the Layered Navigation Block you need to have mod_rewrite enabled and active on your server. You also need to

How can I implement stock filter in Magento way?

旧城冷巷雨未停 提交于 2019-12-09 23:31:38
问题 Out of stock products are visible in my magento website. I want a custom filter in the layered navigation which would say "Exclude out of stock" and when customer clicks on it the out of stock products should be hidden. (by default I enable showing/displaying out of stock products under System-> Configuration-> CATALOG-> Inventory) i.e. I want the customer to control whether he/she should see the "out of stock" products or not. example this link can anyone help please? I want this to be done

Magento Layered Navigation block. Move to center

旧巷老猫 提交于 2019-12-08 09:56:36
问题 In category.xml I'm changing the reference name in: <reference name="left"> <block type="catalog/layer_view" name="catalog.leftnav" before="-" template="catalog/layer/view.phtml"/> </reference> To content which I assumed would place the layered nav into the center. However, it still stays on the left. In fact, even I changed left to right , and it still doesn't move from the left sidebar. What am I doing wrong here? 回答1: I managed to fix this (for anyone else who encounters this problem) by