Jump to content

Conditional add to basket when attribute selected


Recommended Posts

Ok not sure where to start with this.

I'm using Attribute Wizard Pro (very good plugin) to manage product+attribute add to basket contents.

 

I now need to make this conditional so the following is true;

 

 

Product A =£X

 

Attribute 1 =£X

Attribute 2 =£X

 

Product B =£X

 

If product A is selected with Attribute 1 then the basket = A+1=£XX This is currently how it works fine.

 

My issue is this.

If user selects Product A + Attribute 2 when they land in the basket Product B should be automatically added (eg free gift) and as its free it also has to have Product B = -£X.

The final basket should therefore contain

 

Prod A + Attribute 2 + Product B but the calculation should be PA£X + A1£X + PB£FREE.

 

Could anyone help with this. I'm sure its a familiar ecom technique but I'm not sure where to start.

 

Many thanks in advance.

 

Darren.

Link to comment
Share on other sites

Thanks Mike, appreciated.

The plugin seems to solve the price reduction however its the if 'A + 1' condition is met then 'add B'.

I've found this mod and I'm waiting a response from the developer as to if it works with attributes (or awp to be more specific).

I can't imagine I'm the first to need this requirement.

Thanks again for your time.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...