[ic] Default products options

Jamie Neil interchange-users@icdevgroup.org
Fri Apr 25 10:53:01 2003


> -----Original Message-----
> From: interchange-users-admin@icdevgroup.org
> [mailto:interchange-users-admin@icdevgroup.org]On Behalf Of Mike Heins
> Sent: 25 April 2003 14:47
> To: interchange-users@icdevgroup.org
> Subject: Re: [ic] Default products options
>
>
> Quoting Jamie Neil (jamie@versado.net):
> > I'm developing a catalog that relies heavily on matrix product
> options, and
> > seem to be heading down a path where there is a huge amount of duplicate
> > (redundant) data in the variants table.
> >
> > For example I have a widget that has 15 different variants,
> which all cost
> > £100, have the same tax_category and nontaxable status, and
> look identical
> > (same pictures). However, even though they share all these parameters, I
> > have to enter them into each variant record separately. This makes
> > maintainance a nightmare - if I want to put the item on sale, I
> have to put
> > the sale price in the base product record in products _and_ in
> each of the
> > 15 variant records too!
> >
> > What I want to do is allow the base product's fields to act as
> the default
> > for it's variants if they have no entry in a particular field.
> This would
> > allow me to put the product price in only once (in the products
> table) and
> > leave the variant's prices empty, and if one particular variant
> _did_ have a
> > different price I could simply add a price for that variant which would
> > override the default.
> >
> > Could someone give me an idea how to go about implementing
> this? Is it going
> > to require fundemental changes to the IC core or just a new
> kind of product
> > option?
>
> How about [item-common field]?
>

I've been through all the documentation I can find, and I can only see the
odd passing reference to this tag. I've also grepped my IC files and am not
much more enlightened. What does it do and how do you use it? It seems to
behave exactly like [item-field].

My guess was that it is supposed to return the variant value of the field
unless it is blank in which case it returns the equivilent base product
field. If so then it doesn't seem to work for me (it returns the base
product field no matter what).

Jamie Neil

> --
> Mike Heins
> Perusion -- Expert Interchange Consulting    http://www.perusion.com/
> phone +1.513.523.7621      <mike@perusion.com>
>
> Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>