Attributes: I must be missng something

Posts: 7
Joined: 01/28/2008

Hello,

I'm trying to set up a site to sell photos, the photos would be available in several sizes(and prices). I understand that Attributes is the way to set up the sizes, but when I do so what I get back for each product is not the drop down menu that I would have expected. What I see when I view the product is each size listed followed by an empty text entry field, like so:

5X7
text field
8X10
text field
12x18
text field

Also, I'm not sure I understand the relationship between the Attributes and the sell price which is a required field. If I enter a sell price for each product how will the Attributes for each size/price work?

My Druapl background...

I've been working part time with Drupal for over 2 years and am very comfortable with setting up modules and styles. I am not a programmer however, I can look at code and make sense of it enough to make changes that are obvious.

Any help would be hugely appreciated.

Don

Posts: 301
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

It appears you are confusing the use of attributes and options. I believe what you want is 1 attribute(size) with 3 options (5x7, 8x10, and 12x18).

You'll want to setup this one attribute and 3 options, and then make sure that when you add this attribute to a product you also check off that you want to use these options. By default, an attribute will be added to a product without any options.

As far as prices goes, you'll be able to associate price adjustments with options. In this case you might want to set the product sell price as the price of a 5x7. Then in the 8x10 option and 12x18 option you can set the price adjustment that will properly add to your desired total price.

Posts: 7
Joined: 01/28/2008

Thanks cYu!

You were right on the money with the options, worked perfectly.

I did run into one problem that was pretty obvious though, I set the price for the item to $20.00 as you said but then it added the price listed in the option to that so the $20 came up as $40. Easy to fix, but now I just have to figure out how to make it so that the product doesn't display $0.00 as the price.

Don

Posts: 301
Joined: 11/19/2007
Bug FinderGetting busy with the Ubercode.

You might want to try http://www.ubercart.org/contrib/2010, so that the price displayed is updated as the price based on selected attributes.

Posts: 73
Joined: 12/10/2007

I have similar situation, to me it made sense to set the product price to zero and then put the full price in the attributes. I then went to admin/store/settings/products/edit/fields and disabled the fields related to 'price', so a price of $0.00 doesn't show up.

Posts: 10
Joined: 01/28/2008
Cool profile pic award.

I agree, in my case, having a domain as a product with price set at $0.00, but has an attribute Duration that has the options 1 year ($10.00), 2 years($20.00), 5 years($45.00), etc.. the product's price totally depends on the attribute option chosen.

Posts: 7
Joined: 01/28/2008

Thanks agilpwc and meric... This is the solution I discovered as well.

Unfortunately as I continued to build the catalog I began getting an SQL syntax error so now I'm trying to track that problem down. I'll create another post about that one later, one problem at a time.

Thanks again