How to add category filtering on product list in magento Admin? - magento

I am working on Magento 1.5. I have two main categories in my store lets say Products and Utilities.
Products
- Product 1
- Product 2
Utilities
- Utility 1
- Utility 2
I need to add a dropdown which allows me to filter using these two categories on product list table just like product type dropdown which allows me to filter using product type.
I want to implement in admin Panel. Does any one have any idea?
Please Help...

You can add a drop down in the template with an onChange event bound to changing window.location.href. The destination URLs can be generated in the same was as in the layered navigation (left side in the product list where you can click a category).
Sample URL: /furniture.html?cat=22

Related

Removing product from item-options in magento checkout cart

Is it possible to show up the product separately in checkout/cart ,
I like to show up item-options added product separately, Is it possible in checkoout/cart ?
Please check this screenshot : https://docs.google.com/file/d/0BxQWcg4HaqrsUEgwV2o1V09zUGs/edit?usp=drivesdk , Thanks.
What added in the screenshot is a configurable product. I think what you are looking for is having 3 different line items in cart : 1)Actual Product 2) Plug 3) Cable
If you want to do so in 2 ways :
1) Override addAction in CartController.php and check if item is a configurable product. Load its simples and add them to cart instead of their parent configurable product.
2) Instead of having a configurable product, you can integrate a functionality something called freebie in which you will specify items you with the main product in backend. Override addAction in CartController.php and load the freeitems when their parent is added to cart. Add them to cart with the main product which will make different line item entries for all 3. Freebie functionality is not default in magento but you can get good modules for free in magentoconnect

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 Bundle Product - selecting variants of products

I have a trouble with adding a multiple selecting sets in bundle product.
I have a bundle product name Tunic Veto and It has a two variants of sets which customer can select - first, second or both
Set 1:
Tunic size. S - 3szt.
Tunic size. XL - 2szt.
Set 2:
Tunic size S - 10szt.
Tunic size. M - 5szt.
How can I do this
You should create separte Simple products which are linked to the bundled product you are referring to.
In the Magento backend you can select your Bundle product and then use Bundle Items menu to add the Simple products that can be selected by your customer. On this page you can create options and the belonging options with an input field of your choice (multiple select, dropdown, radio or checkbox). After creating an option it is possible to add the corresponding simple products.
Usually a dropdown menu will do, since it is likely that a customer will only choose one size. However in your question you are talking about a multiple select so you should choose which method will do.
Hope this helps.

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