[ic] pricing help needed

Mark Weaver mdw1982 at mdw1982.com
Sat Mar 19 12:38:01 EST 2005

Mike Heins wrote:
> Quoting Peter (peter at pajamian.dhs.org):
>>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).
> UseModifier in and of itself does nothing toward that end, anyway.
> You have to use "AutoModifier pricing:price_group", which fetches the value
> when the item is ordered.

Hi Mike,

Is this the case even when there isn't anything actually set for 
"pricing_group"? I don't currently have any groups setup and on test 
orders the items prices appear to be being output correctly through the 
order process unless I'm missing something.

Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2, 10.0 & RH Fedora Core 3

More information about the interchange-users mailing list