Magento add product size and attribute inventory - magento

I think this is a common situation, I'm selling clothes and shoes and I need to have an option for sizes and attribute an inventory level for each. How could I do that?
Here is an example, I m selling shoes in sizes 41 to 45. I have 5 pairs of each except the size 45 which I only have 2.
(Keep in mind that clothes and shoes don t have the same measurement options).
Would be awesome if I could do it for all products in a category at the same time, even if that means having to go through the DB.
Thanks.

Creating a Configurable Product
There are a few steps involved:
Create the attributes that will be configurable by the user - for our example they will be Size and Color
Create the attribute set that will be assigned to the variant products - for our example, we’ll call it “T-shirt”
Create the individual variant products
Create the configurable product, and add the “T-shirt” attribute set
Add the individual variants to this configurable product
http://www.magentocommerce.com/knowledge-base/entry/tutorial-creating-a-configurable-product/
Adding a new attribute to the table isn't to difficult, but you need to find a good way of making sure it's not dirty. You do not want to add empty attributes to make sure you have room for enough products and you don't want to have too few. I was recommended using implode on an array to put it into a variable in which each element of the original ray is stored and separated by a character. You could then put this into one column. You can find some good information for updating a magento table here: http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/

Related

Confused about how to add a product with different variables in Magento

I want to sell a product with 8 colors and two sizes.
Making a configurable product means making 16 simple products!
When I need to update the prices, I have to update the price of 16 products!!
Using the bundle product and adding the size and colors (for the customer to choose) has the limitation of quantity (I need to know how many products with the specific color is left).
Is there any other way to handle that?
For this i think creating a custom option for the product would be the best idea. It is easier to create and very helful in these type of situation. Think about that. If you have same options for other product than there is an extension called Custom Option replicator which will help you to replicate the custom options.
Hope this will help.

How to create dependent attributes in magento

As there any way in magento where i can create dependent attributes like color depends on size and size depends on manufacturer ?.
Let me assume you mean product attributes by saying attributes plainly.
To answer your question its not possible to create dependent product attributes directly or straight forwardly under Manage Attributes. But you can make your attributes depend on each other by creating Configurable products.
Lets say you have 2 colors (black and blue) and 2 sizes (L,XL) and you want to make your colors depend on sizes.
At first create 2 attributes size and color of type dropdown under Manage attributes and create the attribute options and values. and Assign it to the right attribute set.
Now create the simple products , lets say product A with size L and color Black and product B with color Blue and size XL.
Now create a configurable product lets say AB and associate these two simple products A and B. Save the product.
if the customer opens the product AB and if they choose size L they can find only color Black. This is how you can make your product attributes dependent on each other.
Configurable products are the best route for dependent options (unless you have tons of options as configurable products can only have a few hundred simple products assigned before they fail).
There are also a few extensions that allow you to do this for custom options on simple products. See:
http://www.magentocommerce.com/magento-connect/dependent-custom-options.html
http://www.magentocommerce.com/magento-connect/advanced-product-options.html

Magento: Configurable / Bundeld products ? How does it work exactly?

We're a little bit lost between configurable products, bundled products, using custom options, etc.
I'll tell you the result we would like to obtain:
We're a USB manufacturing company. And we want to sell custom USB keys via Magento.
We have about 50 different USB models available. For each model, the customer must be able to select the desired color (won't change the price), the desired capacity (1 GB, 2GB, 4 GB, etc - this will change the price, e.g. 20, 30, 40 % more of product's price). He must also be able to select the packaging of the key (eg box, plastic bag, leather bag, etc).
We want to use tier pricing, and show the price of the keys depending on the quantity AND on the capacity he selected.
A perfect example of what we want to do is: http://wowusb.com/plastic-custom-usb-flash-drive/usb-81.html.
We've tried using the SCP extension (Single Configurable Products), but don't really understand how to use it.
We don't really need to have associated products. One product for each USB model is OK, just having options (and tier pricing) on this one, just like the shop above.
Can you guide us on how to realise this ?
Any help will be greatly appreciated !
Thanks
The Simple Configurable Products extension will work well for this sort of thing, there's typically not a whole lot of configuration (just choose what parts of the configurable product you want to update when the user selects the options). The SCP extension will help greatly when it comes to tiered pricing.
To build a configurable option for what you are looking for, first you must make product attributes (drop-down type, global scope) for each attribute. This is in Catalog -> Attributes -> Manage Attributes. You would make one each for color, storage size and packaging. For each attribute you would add the different options available.
Once those are made, make sure to add them to the Attribute Set (Catalog -> Attributes -> Manage Attribute Sets) you will be using.
Now comes the work: You'll need to make a simple product for every combination available. For each simple product, you'll need to select the specific attributes created earlier, as well as set the tiered pricing for each simple product.
A rough idea math wise: 5 colors X 5 sizes X 3 packages = 75 simple products
This can be done via csv import, so that may save you some time, although you'll have to examine how tiered pricing is structured from within an exported list and copy it exactly. By the way, I recommend setting these products visibility to "Not Visible Individually", but don't disable them.
Now you can begin to build the configurable product. Once you start creating the new product, it will ask you which attributes to use, so select the color/size/packages and whichever else you want the products to be fine-tuned by.
Enter the general product information as normal. Price doesn't matter here (SCP extension doesn't use it).
Under "Associated Products", filter the grid view to find all the simple products you have created, and begin checking them off. If a product line turns red, it means that a product has already been selected with the exact same attributes.
Once you have a configurable product listed, you can play with the SCP extension settings (System -> Configuration -> SCP Config) to have the product behave as you want. The options under the Cart heading determines what you would like to display in the cart line. The options under the Product Page heading let you determine if you would like various sections of the configurable product to update with the corresponding simple product info (description, short description, main image, gallery images and additional info box).
When the user selects the last option, the product prices will automatically update, as well as show the tiered pricing box ("Buy X for $Y each and save Z%!").
One last thing, when using the SCP extension, do NOT add any "Custom Options" to a configurable product, they must be added to the simple products associated to the configurable product instead (Other product types are fine).

Adding a custom attribute selector to a Magento product with text values, not dropdown

Magento offers Configurable Products so that it lets buyer selects attributes for a given product, like Size for Shirt, or Color for a Phone.
Problem is, you must add each possible single combination as a simple product, and that Configurable Product works merely as a container. This is impractical for attributes with too many values, and unexpected values.
For example it does not allow text values. What if a buyer wants to print his name on a Shirt?
What if I wanted to add a selectable attribute of tens of values? It doesn't have to be a added through the admin area, hardcoded solutions are OK.
Something like Cart Item Annotation is there?
Configurable products should not be used for products that doesn't have a physical definition, for instance Drawing and Designs. Instead it's better to use Custom Options instead for these cases, where you don't care about inventory of products nor attribute based statistics. This could be done through the Custom Options tab at Manage Product screen. Surely this eliminates the need for configurable products for a variety of cases.

Magento grouped product options

I want to show a set of products as a table inside one product with these attributes.
Dimensions Width x Gusset x Height Code Price/Case Bags/Case Weight
So i chosen grouped product option but it does not match the requirement. How can i design a table like format from the grouped product option with radio button to choose only one product from it. So using grouped product or configurable product or by any way how can i achieve this.
Here am attaching the screen-shot which i actually wanted
I can think of two ways to represent this in code. If the dimensions tend to be from a limited set of choices, you could use a configurable product to represent this choice, simply displaying all possible sub-products in the table. This would let you reuse the existing catalog product page with a little retrofitting.
If they do not fit well, you could place the items in a category hidden from the public categories and loop through each of the products in the category to display the table. This would require more work to tie back to putting into the cart, etc.
Importantly, it looks like each of your options has an entirely uncorrelated price, so it seems to me that you need to have a simple product underpinning these options at some point. (I'm sure you could get more clever, I'm just not sure that's a good idea.)
You can easily solve this with a plugin for Magento. There is a plugin here which will do exactly what you want. It will display product options in a grid: http://www.magemechanics.com/product-grid-options.html

Resources