Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Location
    California
    Posts
    664
    Plugin Contributions
    0

    An easy way to reset stock of all products to a certain number?

    Does anyone know if there's an easy way for setting the quantity of all the products in my store to a certain number like 0 or 50, perhaps through an sql statement(not sure if that's what it's called)?

    Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,490
    Plugin Contributions
    121

    Default Re: An easy way to reset stock of all products to a certain number?

    update products set products_quantity = 50;

    It's always a good idea to make a backup before hitting your database with SQL commands. On the off chance that you sprout ten thumbs all of a sudden! :)

    Good luck,
    Scott
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  3. #3
    Join Date
    Mar 2005
    Location
    California
    Posts
    664
    Plugin Contributions
    0

    Default Re: An easy way to reset stock of all products to a certain number?

    Thank you so much. :)

 

 

Similar Threads

  1. New product not to show out of stock products
    By gardengate in forum Basic Configuration
    Replies: 0
    Last Post: 11 Sep 2006, 02:53 PM

Bookmarks

Posting Permissions

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