Forums / Setting Up Categories, Products, Attributes / Big chooser Buy one Get one Free help

Big chooser Buy one Get one Free help

Locked

Started by andy_gs on 13 Jan 2009, 10:44 AM · Views: 1,603

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Jan 2009, 10:44 AM
#1
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Big chooser Buy one Get one Free help

Hey all,

I need to implement a discount of buy one get one free which is easy enough but i have a few conditions.

what i need:

any product from category 3 4 5 you can get the same product again free.

i was thinking:

  $this->add_condition('deal', true);
        $this->set_choice_constraint(2 CAT, 3, CAT, 4, CAT, 5); 
         $this->set_choice_discount(1, PROD, *, "%", 100); 
         $this->include_condition_items();

however this doesnt work. any ideas people?

oh dear gurrrddddd.

13 Jan 2009, 11:40 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,747
Plugin Contributions:
56

Re: Big chooser Buy one Get one Free help

My commercial software isn't supported on the forum; please email me directly.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.