Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [mv] Quantity Pricing to apply to all products



Thanks for pointing me in the right direction, unfortunately using the
MixMatch directive has proved tricky to say the least. I know, from the
mailing list, that a lot of other users who have had similar problems have
been able to solve them by using some code that Mike posted a while back:

---------------------------------------------------------------
UserTag mix-match Order number
UserTag mix-match Routine <<EOR
sub {
    my $nitems = shift;
    my $ca_string = 'products:price';
    my $level;
    my @breaks = ( 5, 10, 25 );
    foreach $level ( @breaks ) {
        last if $nitems < $level;
        $ca_string = "pricing:q$level";
    }
    return $ca_string;
}
EOR

CommonAdjust   "[mix-match number='[nitems]']" ;products:price
---------------------------------------------------------------

I was hoping that someone who has got this to work in a situation similar to
mine could let me know exactly what needs to be changed in which files, such
as: do you still have to set MixMatch  Yes in catalog.cfg and which fields
need to be present in the pricing.asc?
I'm sorry if this seems stupid to some of you, but I would have thought that
a lot of users would appreciate a 'definitive' guide to this subject which
is only really touched on in the docs.

Many thanks

Steve



> From: Charlie Blanchard <charlie@blanchardsite.com>
> Reply-To: minivend-users@minivend.com
> Date: Mon, 29 Jan 2001 07:02:08 -0800
> To: minivend-users@minivend.com
> Subject: Re: [mv] Quantity Pricing to apply to all products
> 
> On Mon, Jan 29, 2001 at 12:28:49PM +0100, Stephen Ricketts wrote:
>> Can anyone help me with a quick quantity pricing question in MV4.03 ?
>> 
>> What I'm trying to do is to price the first item at £5 and any others after
>> that at £1 each. This should apply to every item in the product database so
>> unfortunately it is not really possible to list every item by sku in the
>> pricing database as there are over 4000 products with new ones being added
>> all the time.
>> 
> Read the documentation section on pricing steve, specifically
> the method for quantity pricing, first item can be one price
> second another, third even another etc, etc.
> 
>> I couldn't find anything similar in the mailing list archives so any
>> suggestions would be greatly appreciated.
>> 
> probably because it is clear in the docs... <g>
> 
> -- 
> charlie blanchard
> http://baldguru.com/
> "What is freedom of expression?
> Without the freedom to offend, it ceases to exist."
> -Salman Rushdie
> 
> _______________________________________________
> Minivend-users mailing list
> Minivend-users@minivend.com
> http://www.minivend.com/mailman/listinfo/minivend-users
> 


_______________________________________________
Minivend-users mailing list
Minivend-users@minivend.com
http://www.minivend.com/mailman/listinfo/minivend-users


Search for: Match: Format: Sort by: