Layered Navigation in magento is not working with Configurable products - magento

I am using this extension in my magento web store
http://www.manadev.com/seo-layered-navigation-plus (Layered navigation)
This extension working fine for simple products.
But in my case, I have two attributes that would be used to create configurable products, i.e Size and Color. Now when I create my configurable products, and associate my simple products of different sizes and colors to that configurable product and browse the Category Landing page, In layered navigation I don't see any Color or Size from the associated products of configurable products, neither it searches for the selected color or size in the associated child products of a configurable products. This has become a serious problem for me and it seems like this extension doesn't work with configurable products, I have already them too, but no reply as yet.
Has anyone went through the same problem ?

Try to re-index all. That should solve your problem.

This issue is closed for noor. For the record the reason for misbehavior is in attribute setup he had and in general is not related to SEO Layered Navigation Plus. What should be avoided:
Attributes used both in Layered Navigation should be allowed to set either on Configurable Product label or on simple product level. If you have not done it from the beginning, disabling attribute usage in configurable products is not enough as to that moment values can already be stored in database. So after disabling you should additionally delete values of that attribute assigned to all configurable products in catalog_product_entity_int table.

Related

Why does Magento show the configurable products and its associated simple products as well?

On my online store, we sell jeans. The configurable products are the different types of jeans, and the associated simple products are the sizes for each (6,8,10,12,14). When i search for a product or just scroll on the feed it doesnt only show the configurable products and when i click it you can choose the size, but the individual simple products show up too eg:
Skinny Jeans
Skinny Jeans-6
Skinny Jeans-8 etc. How do i fix this?
For your simple products, you can set its Visibility. You can change it under
Product Information > General > Visibility > Not Visible Individually
This way they won't appear on front-end while still being associated with your configurable product.

Getting configurable product options pre selected from the layered navigation

I have several configurable products (with many simple products associated to them).
When browsing the super attributes through the layered navigation, you can filter down to all products that have (for instance) size= medium, Colour = Red.
I have set my simple products to not be visible and showing my configurable products, however, when you select the configurable product, the product options do not default to what has been filtered in the layered navigation.
Is there a way to get the relevant product options pre-selected on the product page?
suppose the user selected the filters from the listing page as size ="medium" colour ="red"
Now when user selects the configurable product from listing page after applying filter corresponding values must be pre selected on product detail page.
There is no ready-made way to do this. When the request is made for the product that product knows nothing of the layered navigation state. In theory you could add in some server side code to do that however this might have a performance penalty as you might not be able to use cache effectively.
You could do something on the front end in javascript. Add an event listener to the links in the filtered navigation and store an object in local storage, e.g. with size and colour.
On the product page you could then set the configurable product according to those values by waiting for the configurable product options to be built, then load the options object from local storage and then update the configurable product accordingly. You will need to then fire off events so the product page knows that options have been selected and can do things like update the price accordingly.
Internally Magento uses attribute option values that have numerical ids. These can be a bit complicated to work with, so you may want to put some logic in to read the labels instead, e.g. 'Red' instead of e.g. '461'.
There is no prototype specific way of working with local storage and you don't need some layer of jquery, normal javascript should suffice when it comes to storing/retrieving your size/colour object.
I found the following article to be the head start needed for doing things with the configurable product drop-downs:
http://inchoo.net/ecommerce/magento/how-to-make-configurable-options-autoselected-on-configurable-product-view-page/

Are there any advantages with Simple products over Configurable products

I need to import many products into Magento for a client.
I am not sure to set the type to Simple or Configurable. In the current state, all products are Simple. But I expect that the client will need some of the products to become "Configurable".
I therefore plan to import all products as Configurable. My question is, what is the downside of only using Configurable products? Are there any advantages with Simple products?
Thanks.
If you have different colors or sizes (or other configurable options) you'll need to create simple products for every combination (small/red, medium/red, small/black, medium/black, etc) which you can do from within the configurable product screen, associated products tab. If your product doesn't have any options, it should just be a simple product.
For reference, here is a page detailing the purpose of each product type: http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/catalog_product/producttype
I also suggest to use Magmi for large Magento imports. http://sourceforge.net/projects/magmi/
You can even have it create your configurable products automatically and it goes MUCH faster than magentos standard import. Like 1000's of products in seconds not hours.
My company has SKU101LG, SKU101MD, and SKU101XL (All simple products)
Therefore SKU101 is my configurable product with the above skus as its 'children' or as magento calls them 'associated products', based on their size attribute.
(You have to create attributes such as size or color under CATALOG > ATTRIBUTES )
An Ipad is a simple product. And Ipad with color options is configurable, and has two OTHER skus (the simple skus for each color) associated to it.

Magento Layered Navigation (Manadev.com) ia acting strange with configurable products

I am using Manadev SEO Layered Navigation Plus (http://www.manadev.com/seo-layered-navigation-plus) as my layered navigation, but it's acting strange with configurable products.
My configurable products use only one attribute to create configurables (Size). However I have a Color attribute, also used in the layered navigation (dropdown not used to create configuragles, because every product comes in one color and many sizes).
The problem is that Size attribute shows all the simples of the configurable product, even if they are disabled in the admin. When you see the product page, the disabled simples are not showing up, but they do in the layered navigation. What do you think may be the problem?
Btw I may have imported values for Color in the configurable product as well as in it's simples. And Re-Indexing doesn't work.
SEO Layered Navigation Plus extension relies on standard Magento functionality which prepares special index tables for use in layered navigation (and decides which products should be shown when an option is selected). Unfortunately, this functionality does not consider quantity of simple products when preparing index tables for configurable products.
Standard Magento layered navigation has the same issue because it relies on the same indexes.
There is no quick fix. We consider altering Magento indexing functionality to address this issue.
To keep you posted on this issue please contact us through www.manadev.com website.

Magento layered navigation Size not pulling in correctly

The problem we are having is as follows.
We have a configurable->simple product relationship set up so that you can select a size of a shirt you want to buy. The configurable products are Enabled and visible in Catalog,Search. The simple ones are tied to the parent configurable product with differencing sizes (M, L, XL, etc.) and are Enabled, Not Visible Individually.
We originally imported this data from different database. It appears everything in Magento is setup correctly, but the number of products for Sizes are not correct in layered navigation.
What does seem to fix the totals is resaving the simple product. But we can't do that for all 6000+ products. Any ideas? Is there a mysql table that we are missing that should have data?
We've cleared indexes multiple times.
Reindexing Product Attributes should do the trick. Are you sure it executes without an error? You can also try running it from command line.

Resources