CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 newbie needs help

Print topic Send  topic

Author Message
Stew
Posted: 09/09/2002, 9:30 AM

I am attempting to create an e-commerce application and things have run
smoothly until recently.

The products for sale have unique properties. Using the bookstore
application, it is simple because you choose the book you want and that is
it.

What if your product is clothing for example and someone chooses a
particular coat. That particular coat has it's own sizes.

Using a separate colour table will allow the user to choose from a listbox
containing all colours available for all products and not just the
individual product desired.

How can I achieve this.

Stew




Steven Dowd
Posted: 09/09/2002, 11:54 AM

you would create a new table

id, category_id, colour

then you could make a wizard page to admin this table, you could use
different category_id and related colours depending on whether a male coat
was available in blue/black/grey and a different category_id female coat was
available in red/brown/grey etc

this would then just need a lookup/listbox from any page, looking up by ID ,
and using the category_id of the clothing to select the correct range of
colours


Steven Dowd
http://www.dowd.info


"Stew" <s.bibby@sympatico.ca> wrote in message
news:aliic1$o1c$1@news.codecharge.com...
> I am attempting to create an e-commerce application and things have run
> smoothly until recently.
>
> The products for sale have unique properties. Using the bookstore
> application, it is simple because you choose the book you want and that is
> it.
>
> What if your product is clothing for example and someone chooses a
> particular coat. That particular coat has it's own sizes.
>
> Using a separate colour table will allow the user to choose from a listbox
> containing all colours available for all products and not just the
> individual product desired.
>
> How can I achieve this.
>
> Stew
>
>
>
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.