Magento compare products - magento

I need to modify magento compare products , so that it display products according to category ?
i need to modify data which appear in this url->
/magento/index.php/catalog/product_compare/index/

you will have to alter
app/design/frontend/default/template/default/catalog/product/compare/list.phtml
or the file in the theme you use to override that

Related

How to display Category list at search result page in magento..?

I want to display categories instead of product result. if anyone search product name, then result should be category which contains that product.
Is it possible in magento?
Thanks
Magento does not have this feature.
Magento search depends on product and it Eav Attributes.
If you want then you need create custom extension and custom module

Magento set default associated product to display

I have a configurable product which have 2 associate products. I want to able to select, which one display by default in product page. How to do this?
you can achieve this by using below extension:
https://github.com/tzyganu/Switcher

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

Magento - Configurable product switch to simple product by color attribute

Can anybady help me with something like this one has here : http://www.lahalleauxchaussures.com/chaussures-de-sport-converse-60884.html ?
When you select the color for a configurable product to bring you the simple product for that color.
Thanks in advance !
Because this is associated product with main config ! its not product option, this is why each color is different entity.
If you want one product create custom options or assign different values for product attribute, and don't make Main configurable product and associate simple products with it.
You can use below extension for your need See This URL

Magento: Programmatically create associated products to a grouped one

How can I Programmatically create/link associated products to a grouped one ??
Thanks for help.
$products_links = Mage::getModel('catalog/product_link_api');
$products_links->assign ("grouped",$group_product_id,$simple_product_id);
http://docs.magentocommerce.com/Mage_Catalog/Mage_Catalog_Model_Product_Link_Api.html
looks good in Magento 1.6.2.0

Resources