Magento configurable products doesn't show attribute set inside tabs - magento

I add some associated products to a configurable product. I used many attributes defined in attribute set "Phone_specification" for example for configurable phone.
It is supposed to show these specifications as a table (like CPU, GPU, LCD quality, ... so that to be compared later or ...) inside tabs below main description of configurable product.
But it shows nothing. It ignores these attributes which have been defined for configurable product. But in individual associated items it shows properly.

The tab on the product detail page that shows a list of product attributes will only show the attributes and their values assigned for that product. If it's a configurable product, it will not show the attributes for the simple products, because there could be more than one value.
If you want information to appear there, assign the attributes and values to the configurable product and they should appear.
Also for the attributes to appear on the Product View Page, you must make sure that the Visible on Product View Page on Front-end is set to Yes for that product.
Go to Catalog > Attributes > Manage Attributes
Click the attribute you want to appear on the product view page.
Set the option Visible on Product View Page on Front-end to Yes
Hit the Save button and flush your Magento caches.
Your attributes will now on the product view pages for the products they are directly assigned to.

Related

Magento Configurable Products Do Not Show Up

My configurable products do not show up. Here is how I set up The configurable product:
1) Created two attributes that are global, dropdown with
"Apply to Configurable Product" and "Use to Create Configurable Product"="Yes".
2) Added these two attributes to an attribute set.
3) Create a new configurable product based on this attribute set.
4) Select both attributes in my attribute set.
5) Add a default price to the configurable attribute, and set manage stock to "No".
6) Under Associated Product: I filled out all fields with visibility = "Not Visible Individually" and "Stock"="in stock".
7) I am also using the "Parent Product Thumbnail" for each associated product.
At this point, I am expecting:
1) As each associated products is created, it appears in the list at the bottom of the admin page. There should be one associated product at the bottom of the page, but there is not.
2) In the front end, I am expecting my configurable product to show up but I cannot see it in the navigational filters. I am expecting that the navigational filters reflect information for the associated products.
3) I am expecting that the product listing and the product page shows options for product variation along with images from the parent product. However I cannot get anything to show up.
Any advice would be greatly appreciated, thank you!
I think you have forgot to choose the attribute in simple product which are used as super attribute configurable product.
For example an super attribute "color" is used for configurable product and in the simple product you have not choose any "color" attribute.
After that in configurable product, associate the same simple product.

How to remove information in Magento catalog, but only for specific product type

I am wondering how can I delete this two divs -
in Magento catalog, but only for specific product type. In short, I would like to have product type which would appear in catalog only with product-image and product-name, without - price, Out of stock, Add to Wishlist, Add to Compare.
It's possible to load different layout updates depending on loaded product type. You can see an example of how it's done in Magento for configurable products here: https://github.com/LokeyCoding/magento-mirror/blob/magento-1.7/app/design/frontend/base/default/layout/catalog.xml#L275-L287
It's possible because view action of product controller makes this to be executed: https://github.com/LokeyCoding/magento-mirror/blob/magento-1.7/app/code/core/Mage/Catalog/Helper/Product/View.php#L59-L60
You can change the design for any product from the admin.
You need to create a separate theme with a different product page which will have only the attributes you would like.
Then you can select the design for that specific product. Please see the screenshot, how you can change design for any 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/

How to save additional attributes when purchasing a product?

I have products in Magento which are heavily customized by the manufacturer (i.e. color) but these attributes do not change the product price. For example you can select white or blue product, but the price is the same. I have 4-5 similar attributes for the product, which customer selects via javascript, and gets a preview right there on the Product view page.
Any idea how to pass these attributes on (to the following steps in the checkout process), so that I can a) show them in the Shopping Cart (under product name) b) get them in the order and admin module (where I need to regenerate preview again, this time for the merchant).
I already have a custom module so if I have to override some Magento code and/or templates that is fine.
You could:
Create a custom module that add these options programmatically to additional_options when your items are added to cart. See Add options to quote item
Create custom option for each product or configurable products. See Adding Custom Product Options in Magento

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