Displaying 2 results from an estimated 2 matches for "hardproduct".
2006 May 14
3
Help with domain model/database design
...icky is that we''ll be selling both hard and soft goods (e.g. CDs
and MP3s). I want both types of goods to be able to be added to the
same cart.
So here is my approach so far. I''ve created a class called Product
which can contain a reference to one of either SoftProduct or
HardProduct. These in turn refer/relate to a couple additional
dependent classes, depending on whether we are dealing with a hard of
soft good. So whether the Product contains a SoftProduct or a
HardProduct, the cart mechanism remains relatively simple because it
is just a matter adding a Product. All...
2006 Jun 07
3
trouble wtih webstore schema, handling product variations
Hi Railers,
Does anyone have any guidance on setting up a simple way to handle
product variations (e.g garment size/color)? Initially, I had thought
that I would make a variation model which defined the extra bits, but it
seems quite inflexible especially so if a store were to sell
non-clothing items that also had variants of one flavor or another.
product
has_many variations
title