How to filter product with related product? - filter

I have to create filter option, which is related product. But I am not getting an idea about it. I have attach image url for reference. Here are product listing, which are related product. And I have to use related product in filter option
http://www.image-maps.com/uploaded_files/5201307260938309_Capture.PNG
Please help me asap.

The simple way would be to define a new product attribute to filter by. You could do a multiselect with all the potential related products and set Use In Layered Navigation to Yes.

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.

Is it possible to filter related products based on some of it's attributes on the product view page?

I am new to magento and looking for a solution. Is it possible to filter related products based on some of it's attributes on the product view page? I have a product and there are 100s of related products associated with it. I want customers to filter these related products based on their attributes on the product view page itself. Is it possible? Please help me.
Regards, Pallab
The template (Magento 1.9.1.0 version) for this is located in: frontend/your_package/your_theme/template/catalog/product/list/related.phtml template and the Block class associated with this template is: Mage/Catalog/Block/Product/List/Related.php and the method is: protected function _prepareData() where the related products collection is being fetched. You will have to setup your filters as you need, most likely by using JavaScript and finding the products that match the selected (filtered) attributes by the customer.
For more thorough answer, I will need more information about how these filters should look like and work.

Magento product visibility per customer

I'm looking for a solution to make products visibile/invisible per customer. There are some extension to limit the visibility of products per customer group, but I cant find a solution to set the visibility per customer.
Does anyone know a solution for this?
One way is integrating the extension as mentioned in the question itself.
A work-around would be to add a custom product attribute and we can add a code to check the logged-in customer group in the
app/design/frontend/package/theme/template/catalog/product/list.phtml
using
Mage::getSingleton('customer/session')->getCustomerGroupId();
and load the product collection which would filter out the products on the basis of the custom attributes using
$collection->addAttributeToFilter();
In my opinion this would be the easiest way to do this.

make configurable product options independent on product view page --Magento

I am working on a Magento project and I need to know if there is a way to make a product's options independent to each other or unrequired. I need to use one of several at a time (I have 6 dropdowns).
I have tried add to cart by query string but all dropdown values were still required. I also tried to make all the options default, then modify the selected options in the observer, but I did not meet with success. See the screenshot below for more details.
Any help will be appreciated
Screenshot http://secure.justhost.com/~sharpwe1/img/imf.png
Configurable Products in Magneto are only parent products of Simple Products. Whatever you have as an attribute of a Configurable - a Simple Product has to be present for each. To do this out of the box in Magento, you should be looking into setting up a Simple Product with Custom Options.

Magento List Products based by attribute in CMS page, how to?

how can I list only porducts with some attribute on CMS page?
For example I want to list only all the products across the categories with attribute color=red
How can I achive this?
So far I was able to achive listing products with Special prices based on this
http://phpmysqltalk.com/937-magento-how-to-create-a-special-price-page-with-new-products-first.html
HoweverI am unable to modify it to any other attribute. Any help, how can I achieve displaying only products which have specific value of some attribute /from the Root category for the store or also from specific categories/
Thanks a lot.
check out this tutorial for creating a simple custom module which should do exactly what you need:
https://www.atwix.com/magento/products-list-cms/

Resources