I am so lost as to how subproducts should be used. Basically I want to create a system in which a shirt design is chosen, a style of shirt is chosen (guys, girls, hoodie, etc.), a size is chosen and (sometimes) a color is chosen. I have created the variations, but do not know how to create variations of those attributes or how to add a price variation or anything like that in.

Additionally, how do I enable content types to use these?

I am really lost on this one guys. Sorry.

Comments

jantoine’s picture

Status: Active » Fixed

Here is how I have found to setup subproducts

1. Install/Enable the Token, Anonymous purchasing and Store modules
2. Install/Enable Subproducts module
3. Under "Administer->Content Management->Content Types" edit the Product type.
4. At the bottom of the edit screen under "Product Types" enable Attribute and Subproduct and Save
5. Under "Administer->Content Management->Categories" click "add terms" for "Subproducts: Product Variation"
6. This is where we create our attributes, I'll use color as an example. Set Term Name to Color. Set Description to Product Color. Click Submit.
7. Now we need to create our attribute values. Let's add a content type of Product->Attribute. Set Attribute to "White". Select "Color" for the "Subproducts: Product Variation" under Categories. Click Submit.
8. Let's add another content type of Product->Attribute. This time we'll set Attribute to "Burgundy" and give it a price of $1.00.
9. Now we need to create a subproduct. Add a content type of Product->Subproduct. Set title to T-Shirt. Set price to $5.00. Click Submit.
10. Now set the product attributes. Click the "Subproduct Attributes" tab. Click the top check box to enable all attributes. Click Submit.
11. Now we can test our new product. Click the "View" tab. You should see an option to change the color. Notice that changing the color to "Burgundy" changes the price from $5 to $6.

Remember, this is only the way I found to set this up on my own. If anyone has a better/correct way, please let us know.

Thanks,

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

merseysoft’s picture

I 'm unable to complete step 4:
" At the bottom of the edit screen under "Product Types" enable Attribute and Subproduct and Save "

There is no option to enable attribute and subproduct here. Any ideas?

jantoine’s picture

Merseysoft,

At the very bottom of the edit screen there should be 4 checkboxes, Attribute, Generic Product, Subproduct, and Shippable Product. If you don't have these 4 checkboxes, make sure you are using the latest 5.x-4.x-dev release. If you are already using the latest 5.x-4.x-dev release, try the instructions on a fresh Drupal install without any other modules enabled. Let me know how it goes.

Cheers,

Jon

fuquam’s picture

How do you set up a store page? I've created all these individual nodes that are for products but there isn't a create content >> store option. Do you just create a Page and somehow load the individual product nodes onto the page? I'm really lost.

haraldessert’s picture

Hello, Jon

I'm having the same problem at step 4. The four checkboxes don't appear on the bottom of the edit screen.
You told Merseysoft to use the latest 5.x-4.x-dev release. But how do I configure subproducts on the the 5.x-3.4 version?
I mean, it is the most stable release for Drupal 5.x yet, and it also comes with the Subproducts module. And I don't really want to use the dev version, for it still has a few issues.
(I tried it with the dev version just to check it out, but the checkboxes weren't there too).

If the dev version is the only way, I'll do it, but if there's a way to make it with the more steady release, I would rather to.
Any idea why the options don't appear on my edit screen?
What could I do to fix it?

I'm really lost here.

Thanx,

Harald

jantoine’s picture

haraldessert and others,

I have had many people contact me requesting more information on how to setup sub-products. Unfortunately I don't have much more information other than what is posted here. I came to the e-commerce project and jumped straight into the 5.x-4.x-dev version expecting development to move much quicker than it has. I have never seen e-commerce 5.x-3.x so I cannot help anyone with issues there. Due to the slow development of the e-commerce module, I have moved to using the Ubercart (www.drupal.org/projects/ubercart or www.ubercart.org) module where I have found much more success.

The Ubercart project has 3 developers working full time on the project. They have amazing documentation which will make or break your success and they've just recently released their 5.x-1.0 version. They are currently working on porting to a 6.x-1.0 version. There are tons of modules that have been contributed towards the project by the amazing and very helpful community.

I had high hopes for the e-commerce 5.x-4.x module, but at this point, development has moved so slow that I have to suggest that anyone wanting an e-commerce site spend at least a few hours looking into Ubercart, you will never turn back. Ultimately, I wish the Drupal community could pour all resources related to e-commerce into one project, Ubercart being my choice since it seems to be a much more mature project. Maybe the e-commerce team is reading and will contact the Ubercart team so we can collaborate our efforts to produce the best Open Source E-Commerce Solution the web has yet to see!

Cheers,

Jon Antoine
www.antoinesolutions.com

Paul Lomax’s picture

AntoineSolutions, I concur, I battled with these product variations for a long time, eC v3 has a horrible bug where it shows two Add to Cart buttons. So I switched to v4 which is quite buggy to install and the process of adding new variations is very convoluted and certainly not something I could expect my (novice) clients to understand.

eC is very feature rich, its just a shame that a lot of the front end functionality is so lacking and the documentation is completely missing.

Ubercart does exactly what I need it to however do and all in a very logical manner, so i'm pretty happy. So thanks for the pointer!