MagentoCE 1.9 shows product count although it shouldn't - magento

I use a custom attribute which is shown as layered navigation (type=dropdown, use in filter navigation BUT without product count).
Everything is like it should be, but the frontend SHOWS the product count next to the filterable attribute. Anchor is on in Display Settings (Category).
I wonder if I forgot to set something or if my settings are overwritten...
Magento_AT version 1.9.0.1v1
(special language version based on MagentoCE 1.9.0.1

There are options Filterable (with results), it means show this filter if there are some associated products in the listing. Filterable (no results), it means show this filter always.
To hide product count try to modify template
app\design\frontend\base\default\template\catalog\layer\filter.phtml
(copy it to your custom theme first)

There is a way to hide the product count without modifying the template directly.
In Configuration/Catalog/Filter Navigation one can unselect show product count.

Related

Opencart 2.0 How to duplicate filters?

We are creating filters on Opencart 2.0. We gonna create the "color" filter, but the problem is that this filter will go on every category. Do we have to put this filter manually in each category or is there any way to duplicate filter or to applicate it directly to every category?
Thank You!:)
The product color should be a product attribute, or an option, not a category. Then you can filter by attribute/option. You will likely need an extension to offer attribute or option filtering.
The color would be a product option if it is something that would not be a default variation of a product, and would modify its properties, i.e. price, different SKU # entirely. If an attribute, would be for informational purposes only.

Layered Navigation not affecting result on page

I have created a module to show all products with special price.
I have added layered navigation to left block. It shows proper product count. But When I click any of filter (like category, price range), it doesn't affect number of products on page.
Any suggestions would be appreciated.
I got the solution of above problem.
Previously I was using my own custom layer where I was creating collection of products with special price.
Now I changed the code, I am using default catalog layer and in my block file (i.e. list.php) I added code to fetch products with special price.
I didn't added any code to filter result. Magento do it by itself.

How to add attribute default value to pre existing products?

How to add attribute default value to pre existing products?
I created a Global Text area attribute and i added a default value into the text field. The problem that im running into is that the default value that i added is not showing up in the products that i created before i created this attribute.
The text field shows up in the previously created listings, but the default information is not showing up..
YES, this attribute has been added into a attribute set.
I have cleared all the cache
Unique Value No
Values Required yes
Input Validation for Store Owner none
Apply To all products
Use in Quick Search no
Use in Advanced Search no
Comparable on Front-end no
Use In Layered Navigation no
Use In Search Results Layered Navigation no
Use for Promo Rule Conditions no
Position 0
Enable WYSIWYG yes
Visible on Product View Page on Front-end yes
Used in Product Listing no
Used for Sorting in Product Listing no
Any suggestions?
Like i said at the beginning, i have already added the attribute set. Anyways, i found a solution to the problem..
Inside manage products, there is a action called “Update Attributes”. Select all the products that you want to update and then select Update Attributes and add all the new information in.

Magento Layered Navigation Price Attribute State

I have moved my layered navigation to the toolbar and I have made all the attributes a drop downs.
My problem is with the price attribute. The state changes after you have selected a price and all the price attributes disappear (I understand with layered navigation price you can only select one by default, this is fine). My goal is to display the last selected price in the drop down after the price has been selected.
Also, I would rather modify the code then install any of the custom extensions that do this for you.
What is the best way to keep the price from disappearing or to alter the price attribute's state to not allow it to disappear?
I am able to handle the custom attributes this way: http://www.magentocommerce.com/boards/viewthread/32614/P0/
I have also looked into these posts, but they have not helped:
http://www.magentocommerce.com/boards/viewthread/41951/
Show price layered navigation after selecting price filter
Plugin Mana Filters will allow you to do what you want ,
You can use Mana Filters Modules that will allow you to have filters with different input types, and you can customize it if you need
http://www.manadev.com/advanced-layered-navigation-ce

Different product image per category in Magento

I have a large store with many products showing in multiple categories.
Inside each of these categories the product has a different use, so I would like to show a different image.
I would use a bundle / grouped product however the default simple product has custom options.
Any PHP or set up suggestions would be appreciated.
A clean implementation would be to add a new attribute to the media/gallery functionality (akin to label/sort-order).
Then you would add a drop-down category selector to the grid view on the "Manage Product > Edit Product > Images" tab.
Then from there, you could extend the standard collection for category/search to select your image with corresponding category ID (instead of the default selected thumbnail).
But you certainly are not going to find a 1-liner to pull this off (cleanly).

Resources