6 replies [Last post]
zathrasjr's picture
Offline
Joined: 01/28/2008
Juice: 22
Was this information Helpful?

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

cYu
cYu's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/19/2007
Juice: 850
Re: Attributes: I must be missng something

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.

zathrasjr's picture
Offline
Joined: 01/28/2008
Juice: 22
Thanks cYu! You were right

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

cYu
cYu's picture
Offline
Bug FinderGetting busy with the Ubercode.
Joined: 11/19/2007
Juice: 850
Re: Thanks cYu! You were right

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.

agilpwc's picture
Offline
Joined: 12/10/2007
Juice: 213
Re: Re: Thanks cYu! You were right

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.

meric's picture
Offline
Cool profile pic award.
Joined: 01/28/2008
Juice: 28
Re: Re: Re: Thanks cYu! You were right

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.

zathrasjr's picture
Offline
Joined: 01/28/2008
Juice: 22
Re: Re: Re: Re: Thanks cYu! You were right

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