2 replies [Last post]
harrisben's picture
Offline
Joined: 04/17/2009
Juice: 192
Was this information Helpful?

Some background:

The company I work for sells Italian foodstuffs such as parma ham, salami, olive oil, olives, pasta, cheeses, etc. and I am setting up Ubercart for my company as a portal for our wholesale customers to more easily order from us in the hope of minimising the customer/supplier product translation difficulties we struggle with. Some of our products are sold by piece, some are sold by varying degrees of weight (whatever the customer requires or is available) and it took me a little longer than it should have to discover that Ubercart doesn't support decimal quantities.

This changed everything and my plans were quickly revised. As it is no longer possible to allow customers to order through the site it will now act simply as a product catalog though I may possibly allow customers to order our products that are sold by piece in the future.

My current problem:

So the question I originally posed is how others are dealing with displaying the unit of measure for products. Are you using static html, did you create a cck field to specify it, or did you use taxonomy? I cannot use static html, and taxonomy is probably overkill for something so simple (I also can't imagine a scenario where I might want to categorise products by their unit of measure), so I'll probably end up with a cck field for this.

What about others?

PS I love my job.

LoveGolf's picture
Offline
Joined: 10/16/2008
Juice: 106
Re: How others are displaying the unit of measure

In order to give the customer the ability to give you the weight they want to order just add an attribute, but instead of making it a select box, change it to the option that lets the customer give you a #. I believe text field?

In order to calculate pricing ... I would either use a custom price module and use custom code, or perhaps try to group your weights for pricing. Ex. 10-20pounds is $10 ....21-30 pounds is $20 and so on.

harrisben's picture
Offline
Joined: 04/17/2009
Juice: 192
Re: Re: How others are displaying the unit of measure

That's an interesting way to think about it that I never considered, thanks! How would you deal with all of the quantity fields in the database being integer-based?