[ic] Whats the secret to discounts

Mark Weaver mark at americanmicroinc.com
Sat May 15 17:06:32 EDT 2004

New Media E.M.S. wrote:
> At 10:35 PM 5/14/2004 -0400, you wrote:
>> New Media E.M.S. wrote:
>>> At 04:12 PM 5/14/2004 -0400, you wrote:
>>>> Hi all,
>>>> It appears to be somewhat unclear how to enable and get to work 
>>>> quantity discounts. I've been working with this little gem for about 
>>>> an hour now this afternoon and its just not working.
>>>> I've got the discount values entered for the item, but when I test 
>>>> order a specific amount that "should" trigger the quantity discount, 
>>>> nothing happens. It continues to use the base price.
>>>> wussup?
>>> You've entered quantity pricing in the pricing table for the item? 
>>> What does your CommonAdjust string look like (be sure to check 
>>> yourcat/etc/after.cfg, as this contains pricing directives that may 
>>> override what's in catalog.cfg)?
>>> - Ed
>> Hi Ed,
>> I checked both files and in both files and the following is what I 
>> found in those files:
>> PriceField      0
>> CommonAdjust    :sale_price, ;:price, ;$, ==:options
>> I suspected that the value of "PriceField" was a boolean value so I 
>> opened up these files on our test installation on the development 
>> server and changed the values in both files to 1, but doing so didn't 
>> seem to make a difference. I'm now wondering what else I've missed. I 
>> was reading through the documentation this afternoon, but wasn't able 
>> to make much sense of anything quite yet.
>> Mark
> It's not boolean, it specifies the name of the price field, and must be 
> set to a non-existent target to enable CommonAdjust. For that latter 
> directive, assuming you have quantity pricing in the pricing table, you 
> would want something like:
> CommonAdjust   pricing:q2,q5,q10,q25,q50,q100, :sale_price, ;:price, ;$, 
> ==:options
> - Ed

awesome! thank you so much Ed.


"If you don't share your concepts and ideals, they end up being 
         "Sharing is what makes them powerful."
Registered Linux User # 186492

More information about the interchange-users mailing list