configurable products or bundled products in magento - php

I am working in magento
Lets say i have one product "Tshirt" and for that i have 3 sizes "Large", "Medium", "Small" and for every size of Tshirt i have 2 or 1 colors. For "large" and "medium" size i have red and green color but for small size i have only 1 color and that is "green"
I am trying to do this with configurable products or bundled products in magento. can it is possible with configurable products or bundled products? If no! how we can do this, should i have to change the value with jquery?
Thank you for Help in advance!!

You can use both, but in this case I think it’s better to use configurable products.
Bundle products are useful for shipping many parts (simple product) of a product in different shipments. You do not send the size and color of the shirt in different shipments.
For every product you can configure the shirt size, and the respective colors for every size.
For example:
shirt large -> blue, red
shirt small -> red
Magento will create for you many simple products; as many combinations of attributes as you select. You have only to assure that the primary configuration choice for users is placed at the first place on the attributes list, so the users can select the size before the color.
If this is not clear, ask.
You can download the Magento manual here:
http://www.magentocommerce.com/resources/user-guide-download
It is not necessary touch the jQuery code in the page.

Related

WooCommerce separate variation relationship

In WooCommerce, by default, when we have, say, 2 attributes, and then we create a number of variations, they will be the result of every term multiplied by each other, meaning if we have 10 term of attribute A and 7 term of attribute B, it will create 70 variations maximum.
I want to make them separate in controlling the option, and it may have the same meaning as "making the attribute A and attribute B not connected", or "dynamic variation relationship".
For example: I have attribute: Color and Size. Color has 5 terms: White, Black, Red, Blue, Green. Size has 3 terms: Small, Medium, Large.
For every color, there will be an individual image represents every product regardless of what size is selected. And so does with the sizes. For every size, there will be a different price but each will have the same price for every color.
Also, when I select on a size variation, I need the image slideshow not to be updated (which it does by default, see this GIF below). I just need to update the price.
What should I change in the WooCommerce code, database, and what do you suggest for the backend and frontend?
I hope you understand my explanation and am looking forward for your help. If you need some clarification or more explanation, I will edit this question.

Relational Dropdown/Select product attributes in Magento backend

I'm developing a Magento store for a vehicle accessory company. There are a number of vehicle specific items that need Make/Model/Year attributes, however I can't find an extension that allows creation of relational attribute dropdowns - I need three dropdowns, whose options change dynamically depending on the previous dropdown selection, for example:
Dropdown A has four Vehicle Makes. Choosing a Make then populates the Model dropdown with a specific set of options and so on for the Year dropdown.
Is this possible in Magento? I've looked at some of the Make/Model/Year extensions, but they're all text inputs - too much room for input error by staff members. I've also tried VehicleFits but it isn't working/throws a lot of errors and it appears development has ceased.
I've searched high and low, any help would be greatly appreciated.
It's 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.
Source: here
Or may be this is what you are looking for:
http://www.magentocommerce.com/magento-connect/dependent-custom-options-configurable.html
Hope it helps.

Magento product list page - group products by color attribute

I need a help with magento. There are two attributes for creating configurable products, size and color. On the category page where products are listed, I want to display only different colors of products not sizes. I've to group products by color.
I.e. if there is a shirt with colors red, blue, gray, black and for each color there are a sizes M, L, XL (there are 12 simple products), I need to display only 4 products grouped by color.
Thanks in advance
I believe your approach for configurable products is wrong - IMHO it should be the whole COLOR as a configurable and then SIZES as SIMPLES so in this case you would have 4 configurables and 3 simples for each ex. SHIRT-RED-M, SHIRT-RED-L, SHIRT-RED-XL as the SKU.
But that's just a suggestion..
As for your original problem - isn't it just this:
$collection = Mage::getModel('catalog/product')
->getCollection()
->groupByAttribute('color');
?

Magento: How to synchronize the stock of multiple simple products?

In Magento I have created a configurable product with a couple of associated simple products. I want these simple products to synchronize stock when it changes for one of them.
For example:
I have a configurable product: T-shirt. The associated simple products are: T-shirt black, white, red and blue. Each simple product has 1 in stock.
When a black T-shirt is bought it will go out of stock, now I want the white t-shirt to synchronize and go out of stock as well.
Is there a way to link certain associated simple products together this way?
if you only update the configurable product quantity,best solution is Go to admin>system>Import/Export>Dataflow - Profiles>Export Product Stocks
Then select only Mapped Fields in Data Format and add these required fields (screen shot below) in Field Mapping section and save and continue,
Then go to Run Profile section in your left hand side and click on Run Profile button.
Connect FTP or download your csv root/var/export/export_product_stocks.csv update product inventory or import Import/Export>Dataflow - Profiles>import Product Stocks
upload your file and same run profile.
your all product's inventory will be updated.
Thanks......

Magento: Add multiple configurations from configurable product at once to cart

I have have a configurable product created with "color" configurable attribute. Also, this product has some custom options (like "size")
I need to add multiple configurations of product to cart from product view. The purchaser can add up to 5 products at once. One example:
In the product "T-shirt" page, customer sets this order
1 unit of Red size L
1 unit of Blue size S
3 units of Blue size XL
I've been looking for "Magento add multiple products to cart" and I found some topics, but all related to category page (products list). I do not expect anyone write a step by step on how to do, but if somebody can give me a link that talks about the subject it will help me.
Thanks in advance.

Categories