Forums / General Questions / Is there a wat to set a Minimum Qty By Manufacturer Only

Is there a wat to set a Minimum Qty By Manufacturer Only

Locked

Views: 753

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
12 May 2010, 1:06 AM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Is there a wat to set a Minimum Qty By Manufacturer Only

Is there a wat to set a Minimum Qty By Manufacturer Only?

I want to set a minimum qty of just 1 manufacturer so that they have to buy a minimum qty of 12.

Is there a way, even a sql statement to set them all at once instead of having to go into each one and set them.

Thanks in advance.

12 May 2010, 1:59 AM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

This is Zen Cart ... you can customize the code to do anything you like ... it just depends on how crafty you are with the code ... :cool:

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!

12 May 2010, 1:59 AM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

Or .. do you mean a SQL to update the products table to force the 12 minimum on 1 manufactuers_id ... :unsure:

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!

13 May 2010, 12:45 AM
#4
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

Or .. do you mean a SQL to update the products table to force the 12 minimum on 1 manufactuers_id ..

That is exactly what I am looking for...

13 May 2010, 1:08 AM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

Backup your database ...

After you have backed up your database ...

You did backup your database first, right? :cool:

You can use in the Tools ... Install SQL Patches ...

UPDATE products SET products_quantity_order_min = 12 where manufacturers_id = 49;

where 49 is the manufacturers_id for the Products that you want to have the minimum quantity of 12 on the add to cart ...

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!

13 May 2010, 1:20 AM
#6
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

Thank you very Much!

Its Always imperative that I back up first...

13 May 2010, 2:30 AM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Is there a wat to set a Minimum Qty By Manufacturer Only

Thanks for the update that this worked for you ... :smile:

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!