If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Discounts/Coupons, Gift Certificates, Newsletters, Ads / discount based on quantity of item other than the discounted item.

discount based on quantity of item other than the discounted item.

Started by nazca on 29 Aug 2013, 12:14 AM · Views: 884

Results 1 to 1 of 1
29 Aug 2013, 12:14 AM
#1
nazca avatar

nazca

New Zenner

Join Date:
Aug 2013
Location:
California
Posts:
22
Plugin Contributions:
0

discount based on quantity of item other than the discounted item.

Our store sells item 1 at 2.50 and item b at .19. We want to be able to discount item a one dollar at the purchase of 500 of item b. And the discount must be removed if they remove item b or edit their cart values to below 500 of item b.

Any mods that look to achieve this?

If I completely create it custom do I need to be looking inside the shopping cart class?

which was...

$_SESSION['shopping_cart'] or something.

I'm still not entirely sure what is inside of it but I guess I'll print_r it or car dump it or something so I can figure out what information is actually held in there.

The orders class the same way?

zen cart is the most confusing PHP software I have ever seen in my entire life.

I coulden't find anything in the plugins that seemed to fit what I need. I would love a point in the right direction. I designed a custom shipping module that works based on what items the customer has in the shopping cart and the quantity they ahve bought. We know how many of each item can fit in a box and essentially did the math from there.

Guess I could start on this the same way.

thinking.....