pknstore Posted November 7, 2010 Share Posted November 7, 2010 Hello,being a switcher from ZenCart to prestashop, i need a way to set a minimum order quantity per product. This should be a basic requirement of any e-commerce system. I spent so much time looking around for a solution, a workaround that does'nt seem to exist. Waiting for version 1.4 is not an option. I wanted to know how you're doing?Saw so many (Google is your "friend" ??) shops with mention about minimum order requierements , but of course, it's still possible to order a single item in their shop - instead of 10, 50, or 100 products.Finally, I would like to display the unit price in the catalog, and the price for 5 (the minimum requiered) items in the cart.Someone know how to do that ? Any suggestions ?Thank you for readinga poor switcher using version 1.3.2 1 Link to comment Share on other sites More sharing options...
pknstore Posted November 7, 2010 Author Share Posted November 7, 2010 Yeah, finally i came back to this solution. It was provided by Ningu (many thanks to him).Here the thread :http://www.prestashop.com/forums/viewthread/19333/modules_tiers/resolu__avis_aux_experts__quantite_commande_multiple_de_6is in french, so a short translation of ningus workaround :add this in order.php /* added */ $nbProds = $cart->nbProducts(); if ( ($nbProds > 0) AND ($nbProds%6 <>0) ) { $step = 0; $errors[] = Tools::displayError('The number of bottles you order must be multiple of 6'); } /* eof */ after this : if (!$cookie->isLogged() AND in_array($step, array(1, 2, 3))) Tools::redirect('authentication.php?back=order.php?step='.$step); and before if ($cart->nbProducts()) { /* Manage discounts */ if ((Tools::isSubmit('submitDiscount') OR isset($_GET['submitDiscount'])) AND Tools::getValue('discount_name')) BlaBlaBla This is a workaround, the solution is not perfect, but will still do the job if ALL of your products have the same minimum order quantity (in this case 6)thanks again to Ningu. 1 Link to comment Share on other sites More sharing options...
dramony Posted January 2, 2011 Share Posted January 2, 2011 Do you have a solution for those who have different minimum order quantity?Thanks in advance. Link to comment Share on other sites More sharing options...
pknstore Posted January 3, 2011 Author Share Posted January 3, 2011 Unfortunately not. Maybe version 1.4 is the solution. Good luck Link to comment Share on other sites More sharing options...
dramony Posted January 4, 2011 Share Posted January 4, 2011 how soon is 1.4? Link to comment Share on other sites More sharing options...
pknstore Posted January 6, 2011 Author Share Posted January 6, 2011 Oh, i don't now. I guess in a month or two...But actually you can download 1.4 beta 2 for testing. ;-) Link to comment Share on other sites More sharing options...
pablothx Posted September 2, 2011 Share Posted September 2, 2011 I've installed version 1.4 and it doesn't have the solution for this! And the file order.php does not have that line either.! Any ideas? Thanks!! Pablo. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted September 2, 2011 Share Posted September 2, 2011 I've installed version 1.4 and it doesn't have the solution for this! And the file order.php does not have that line either.! Any ideas? Thanks!! Pablo. Hi Pablo, When you edit each product in the catalog, you should have the option to edit a the minimum quantity. Please let me know if this works for you. -Mike Link to comment Share on other sites More sharing options...
nodar44 Posted November 3, 2011 Share Posted November 3, 2011 Hello Mike, This is not what we're waiting for i think. We would like to impose multiple quantity to custumer, not only minimum quantity, I mean, for exemple we're selling tea, in 50/100/250/500 grams, and actually I use attribute for this. But like this, i cannot have the right stock level in prestashop, because there is one stock for 50 grams, one for 100 grams, etc... I would like to create my article at 1 gram, and propose custumer to order XX sachets 50 grams, 100 grams, etc, using different price rules for each. Link to comment Share on other sites More sharing options...
nodar44 Posted November 3, 2011 Share Posted November 3, 2011 I created a request feature for multiple quantity : http://forge.prestashop.com/browse/PSFV-139 Thank you to support. Arnaud. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 3, 2011 Share Posted November 3, 2011 Thanks Arnaud, I will be sure to keep an eye on this for you! -Mike Link to comment Share on other sites More sharing options...
Vilas Posted March 13, 2012 Share Posted March 13, 2012 Hi Mike, I also need same kind of feature. Is there is any update? Will I get such feature in prestashop? So that we can sell products using one listing with different pack-size attribute. Many thanks Vilas Link to comment Share on other sites More sharing options...
SanitMaharjan Posted March 15, 2012 Share Posted March 15, 2012 Hey I did'nt get which order.php & cart.php. Link to comment Share on other sites More sharing options...
HandCraft Posted February 23, 2013 Share Posted February 23, 2013 so finally any solution to set min qty for product from BO???? Link to comment Share on other sites More sharing options...
indus Posted February 23, 2013 Share Posted February 23, 2013 so finally any solution to set min qty for product from BO???? That has existing for a long time, it can be set for each product. Its just below the stock quantity option. Link to comment Share on other sites More sharing options...
HandCraft Posted February 23, 2013 Share Posted February 23, 2013 Thnx but i didnt get it............mine is 1.3.3 version That has existing for a long time, it can be set for each product. Its just below the stock quantity option. Link to comment Share on other sites More sharing options...
trangpl Posted March 7, 2013 Share Posted March 7, 2013 Where i can find this module? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now