[ic] Dealer Quantity Pricing Woes
ic at tvcables.co.uk
Tue Apr 29 13:56:53 UTC 2008
On Mon, 2008-04-28 at 23:09 +0100, IC wrote:
> Hi Folks,
> I am really struggling with dealer quantity pricing and how it actually
> I have setup a product in the pricing table that has q2, q5 prices etc and
> it also has w2, w5 prices etc, I want to use the q prices for everyone and
> the w prices for dealers.
> In catalog.cfg I have:-
> AutoModifier pricing:price_group
> AutoModifier gift_cert
> FractionalItems Yes
> Profile dealer <<EOR
> CommonAdjust => <<EOF,
> NonTaxableField => 'nontaxable',
> Profile default CommonAdjust "pricing:q2,q5,q10,q25,q100 ;:sale_price,
> ;:price, ;$, ==:options"
> Profile default NonTaxableField
> Profile default PriceField 0
> PriceField 0
> CommonAdjust pricing:q2,q5,q10,q25,q100 ;:sale_price, ;:price, ;$,
> This works fine for general quantity pricing that everyone can see but
> logged in as user with dealer set to yes the quantity pricing still uses
> q values and not the w values.
> I have been through the docs and mail list but I cannot get it to work. If
> logged in as a dealer do I have to tell interchange to use the dealer
> profile or does it do it automatically, does it need some code at the top
> pages to set the dealer profile? I cannot seem to find a basic example of
> how it works, I have read the pricing docs and RTFM commonadjust pages but
> cannot find a basic description of how the profile works.
Maybe first check to see if they are really logged in as a dealer.
Try adding this to a page and see:
[if scratch dealer]
I am a Dealer, and I should get dealer prices!
After that, at least you know the system does see them as a dealer...
It is definitely logged in as dealer as I use a [if scratch dealer] to
display the dealer quantity pricing from the w columns of the pricing table,
the system just does not use prices from the w columns, is there something
wrong with my commonadjust?
More information about the interchange-users