Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Products Quantity Box Show vs Easy Populate

    I can't seem to figure out how to NOT have the qty box show when I upload a file via Easy Populate.
    I turned it off in Admin Config Prod Info, but when I uploaded a file of over 100 comics, they all have the Qty box unless I go in one by one and turn it off.
    What field in the EP file controls this? and how can I do a mass edit to turn off the ones that are uploaded?

    Thanks!
    Last edited by LilleyPadGifts; 24 Jan 2009 at 04:18 AM.

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Products Quantity Box Show vs Easy Populate

    The products_quantity_order_max field in the products table is what would be used to set your max order qty to 1 (which automatically turns off the qty box).
    I don't use EP, but I don't think it uses that field for uploads, so the database uses the default value, which is zero.

    The easiest way to ensure that the value gets set to 1 is to change the default value of the field in the database.

    You can do that either with phpmyadmin or by pasting the following sql query in Admin > Tools > Install SQL patches:
    Code:
    ALTER TABLE products CHANGE products_quantity_order_max products_quantity_order_max FLOAT NOT NULL DEFAULT '1';
    To quickly update all your products that have max qty of 0 to be max qty 1, run this query from the install SQL patches tool:
    Code:
    UPDATE `products` SET `products_quantity_order_max` = 1 WHERE `products_quantity_order_max` = 0
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Products Quantity Box Show vs Easy Populate

    Thank you! I have been trying to figure this out.. I ran
    UPDATE `products` SET `products_quantity_order_max` = 1 WHERE `products_quantity_order_max` = 0
    from the install SQL patches tool, however make sure to add a ';' at the end of the statement so it looks like
    UPDATE `products` SET `products_quantity_order_max` = 1 WHERE `products_quantity_order_max` = 0;

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 Aug 2015, 01:11 PM
  2. v150 Easy Populate 4 vs. Easy Populate CSV - What's going on with so many Easy Populates?
    By oleancomputers in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 20 Jun 2013, 05:58 PM
  3. Updating all products to show quantity box
    By Akasashasha in forum General Questions
    Replies: 7
    Last Post: 24 Feb 2012, 11:01 PM
  4. All Products in Category Do Not Show Quantity Box
    By MVIP in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 24 Jan 2012, 11:25 PM
  5. Easy Populate and Quantity Discount!
    By Jules4Love in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 30 Mar 2010, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg