[ic] pricing help needed

Peter peter at pajamian.dhs.org
Sat Mar 19 03:35:43 EST 2005


On 03/18/05 19:14, Mark Weaver wrote:
> thank you SO much for your help. That last one got it. Placing the 
> UseModifier in there I mean. I switched the discount percentages around 
> and am using the regex grouping to test for specific sku numbers. Its 
> finally working like a charm. You ROCK!
> 
> Thanks again.
> 
> UseModifier prod_group
> CommonAdjust    :sale_price, ;:price, ;$, ==products,
> "&($item->{code}=~/^(?:90|94|40)/ ? '-20%' : '-50%')"

You don't need the UseModifier if you're just checking $item->{code}. 
You only need it if you want to check somethign else (like prod_group).

Also you do realise that you took out your quantity pricing adjustments, 
right?

Peter


More information about the interchange-users mailing list