Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Need Help On Product Qty Units

    How would I go about changing my whole cart Product Qty Units to 5 without going through each product individually. I have 2100 products and this will be very time consuming without a code or something. Thanks in advance.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  2. #2
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Need Help On Product Qty Units

    Ajeh do you know if there is a code I can insert to update my whole store instead of doing it one by one. Thank you.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #3
    Join Date
    Nov 2007
    Location
    Melbourne, Australia
    Posts
    541
    Plugin Contributions
    0

    Default Re: Need Help On Product Qty Units

    You can try to update your product quantity in the database manually.

    Code:
    UPDATE `products` SET `products_quantity` = '5';
    BACKUP your database before you try this.

  4. #4
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Need Help On Product Qty Units

    Quote Originally Posted by tino.schlegel View Post
    You can try to update your product quantity in the database manually.

    Code:
    UPDATE `products` SET `products_quantity` = '5';
    BACKUP your database before you try this.
    It's actually this but thank you so much.

    UPDATE `products` SET `products_quantity_order_units` = '5';
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Need Help On Product Qty Units

    I have another question though, is it possible just to change products_quantity_order_units just for a particular category instead of changing the whole store, or do I have to do it manually. If I can how do I do it like that. Thank in advance.
    UPDATE `products` SET `products_quantity_order_units` = '5';
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Need Help On Product Qty Units

    If the Products all use the same master_categories_id you could use:
    Code:
    UPDATE products SET products_quantity_order_units = 5 WHERE master_categories_id = XX;
    where XX is the master_categories_id of these Products ...

    NOTE: be sure to backup your database before making global changes like this ...
    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!

 

 

Similar Threads

  1. Replies: 2
    Last Post: 10 Aug 2012, 08:46 AM
  2. how to mass edit Product qty Min & Max & product qty units?
    By SheenaMad in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 17 Oct 2011, 01:46 AM
  3. Doubling Product Qty Units
    By Brendan M. in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 26 Mar 2010, 07:00 PM
  4. Product Qty Units: What exactly is this
    By nigelt74 in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 25 May 2009, 09:15 PM
  5. Product Qty Units: question
    By RC_Cola in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Feb 2009, 09:59 AM

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