Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Contribution: Min Order Quantity per product for 2.3.x


Recommended Posts

Support for http://addons.oscommerce.com/info/8783 please place all comments here rather than by pm

 

Package has a copy of edited vanilla osC 2.3.3 files plus a text file describing the edits required and a one line SQL query that you will have to run.

 

In particular be careful with includes/classes/shopping_cart.php that you do not place the new function outside the enclosing pair of { } for the class. Admin/categories.php is a fiddle to edit too.

 

Hopefully I'll have some free time to go back and tidy up the install description :-)

Edited by Bob Terveuren
Link to comment
Share on other sites

  • 4 weeks later...

Bob, thanks for sharing your work.

 

Only one short typo-info:

 

In the install instruction the database we add "products_min_order_qty".

In admin/categories.php we use "products_min_quantity".

 

That caused at the beginning a sql error.

 

After changing in admin/categories.php the "products_min_quantity" in "products_min_order_qty", everything is working perfect.

 

For me the install description is absolutely clear. So, I think save your energy ... :)

 

Regards

Nico

Link to comment
Share on other sites

  • 3 months later...

Bob, thank you for your work,

Nico, thank you for the hint.

 

I installed the addon on a 2-3-3-2 shop. It works fine.

I have only 1 question :

By adding a product via product_info as default the minimum quantity of a product is shown in the shopping cart.

By adding a product via product_listing a standard quantity of 1 is shown in the shopping cart. Could I change this to the minimum quantity as default ?

 

Thank you

 

Martin

Link to comment
Share on other sites

  • 2 months later...

I installed this add-on, and I can add new products, but I cannot copy products without receiving this error "1054 - Unknown column 'products_min_order_quantity' in 'field list'". However, that column does exist in mysql. What do I need to do to resolve this?

 

Thanks

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...