Zen Cart Logo
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 / Only allowed to buy product if another product is bought?

Only allowed to buy product if another product is bought?

11 Oct 2011, 3:45 PM
#1
bobmoss avatar

bobmoss

New Zenner

Join Date:
Dec 2010
Posts:
20
Plugin Contributions:
0

Post #1 by bobmoss

Is there any way (preferably without coupons) to only allow a customer to buy a specific product if they have bought so many other products. Or alternatively offer a discount on a product if they have bought other products?

Basically we want to sell gift bags on the site, but only allow people to buy them if they have bought 3 or more other products.

Thanks.
Bob.

12 Oct 2011, 2:33 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

In the functions_general.php you could customize the function zen_get_buy_now_button and have it test the products_id and quantity in the cart and if not enough items have been added have it return text rather than the button ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!