Shopify Admin Bulk Inventory Adjuster
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool helps Shopify store owners efficiently manage inventory levels in bulk directly from the admin interface. You can set inventory to a specific number, increase stock by a fixed amount, or decrease stock by a fixed amount across selected products. The tool also allows you to filter products by inventory threshold (e.g., only adjust products with 10 units or fewer). It scans your products page, displays all matching products in a scrollable list with their current inventory levels, variant counts, and calculated new inventory values. You can then select which products to adjust and execute the changes sequentially.
WHERE IT RUNS
The script runs directly inside the Shopify admin interface on your products page. It does not require a separate extension popup, background process, or external server. Everything happens within the page context, interacting with Shopify's DOM components. It works on the desktop version of Shopify Admin (yourstore.myshopify.com/admin/products).
HOW TO USE
1. Navigate to your Shopify admin products page (Products > All Products).
2. Open the BotGentz panel and configure your adjustment:
- Select adjustment type: Set to fixed number, Increase by (+), or Decrease by (-).
- Enter the adjustment value (e.g., 50 to set inventory to 50, or 10 to add 10 units).
- Optionally set an inventory threshold to only adjust products with inventory ≤ threshold.
3. Click "Scan & Adjust" to start the process.
4. The script will scan your products, apply the filter, calculate new inventory values, and display them in a list with checkboxes.
5. Select the products you want to adjust (all are checked by default).
6. Click "Adjust Inventory" to begin. The script will navigate to each product's edit page, update the inventory quantity, and save changes.
7. Use "Ignore Selected" to add products to an ignore list so they are not shown in future scans.
TECHNICAL MECHANISM
Unlike third-party Shopify apps that use the Shopify Admin API, this script operates purely on the public DOM of the admin interface. It identifies products using selectors like `.product-item` or `.product-card` and extracts product IDs from `data-product-id` attributes or URL patterns like `/products/` followed by a numeric ID. Product names are extracted from title elements, inventory levels from `.inventory` or `.inventory-quantity` elements, and variant counts from `.variants` elements. The script scrolls the products page programmatically and clicks "Load more" buttons to load all items. For inventory updates, it uses event-driven interaction: it clicks the product link to navigate to the edit page, finds the inventory input field by name or placeholder, sets the new value while dispatching input and change events to trigger React state updates, clicks the Save button, and navigates back to the products list. All actions include retry logic with spacing to account for Shopify's dynamic rendering and to avoid triggering rate limiting.
THE PANEL
The tool appears as a draggable, resizable panel on the side of your screen. You can drag it to any position by clicking and holding the header, resize it by dragging the bottom-right corner, and collapse it to a small bubble when not in use. Press the Escape key to close the panel. The panel remembers its position and size per site so it stays where you left it on your next visit.
PLEASE NOTE
This script requires the free BotGentz extension to run. It does not store any personal data except for a list of ignored product IDs, which is saved locally in your browser using GM_setValue. No data is sent to any external server. Shopify frequently updates its admin interface, which may break the script. If you encounter issues, check for updates or contact support. Always double-check inventory changes before applying them. Use responsibly and respect Shopify's terms of service.