[ic] CommonAdjust with attribute lookup

Ben Mirecki interchange-users@lists.akopia.com
Mon May 28 17:35:01 2001


Hi,

I'm stuck with a CommonAdjust problem. I want to be able to create a
CommonAdjust atom that looks up a value from an arbitrary table, based on
two item attributes.

For example, I have a pricing.txt table as follows:

sku      blue    red    green
small    9.00    10.00  11.00
medium   8.75    9.75   10.75
large    6.00    7.00   8.00


I also have this...

UseModifier color, size

...defined in my catalog config file. So, I need a CommonAdjust line that
looks up the item price based on both color and size. Anyone know how this
is done?

Thanks a million!
Ben (another Interchange hacker)