Articles on: BigCommerce

Current Stock Level

Map and synchronize product inventory quantities from your supplier feed into your store while applying location targeting, conditional quantity formulas, low stock alerts, and additive or deductive stock adjustments. Configuring Quantity Smart Settings ensures accurate stock counts across single or multi-SKU feeds without overselling.


Available on: ✔️ Add | ✔️ Update | ✔️ Export



How to Set Up the Quantity Field


Go to App → Feed Settings → Step 2: Matching Column


  1. Map Quantity Column: Locate the Quantity field under Step 2: Matching Column and select the corresponding stock column from your supplier feed file.
  2. Open Smart Settings: Click the Smart Settings icon next to the Quantity field to configure locations, quantity rules, tracking toggles, and adjustment modes.
  3. Save and Sync: Save your feed settings and run a sync to update product inventory levels in your store.


Quantity Field Overview


Each Stock Sync feed updates inventory for one selected store location at a time—create separate feeds if you need to update multiple locations.



Quantity Field Smart Settings


1. Location (✔️ Update)

Select a specific inventory location from the dropdown list of locations available in your store so stock updates apply only to that location.


Location Setting


Example: To update product quantities exclusively for your Paris warehouse, open the Location dropdown and select Paris.


Single Location Per Feed: Stock Sync does not update multiple locations within a single feed—each feed updates one selected location only.


2. Quantity Rules

Apply conditional logic, threshold overrides, text-to-number translations, or mathematical formulas to incoming supplier quantities before syncing them to your store.


Quantity Rules Setting


Condition (If)

Value

Quantity

Result Showing

< Less Than

5

0

All quantities less than 5 will display as 0.

< Less Than

300

-col("Qty2")

All quantities less than 300 deduct the value in Qty2 from the Qty column. Ensure your feed file includes two separate quantity columns to apply this rule (e.g., Qty (5) - Qty2 (3) = 2, updating the product quantity to 2).

< Less Than

0

*col("unitqty")

All quantities less than 0 multiply the qty column by the unitqty column. Ensure your feed file includes two separate quantity columns to apply this rule (e.g., qty (5) * unitqty (3) = 15, updating the product quantity to 15).

> Greater Than

10

15

All products with quantities greater than 10 will display as 15.

<= Less than or Equal

30

5

All products with quantities less than or equal to 30 will display as 5.

>= Greater than or Equal

20

50

All products with quantities greater than or equal to 20 will display as 50.

Equal

HIGH

10

Products described with text strings such as HIGH are converted and set equal to 10.

Start With

Incoming

0

Strings starting with Incoming (such as "Incoming 11 July") are matched and displayed as 0.

End With

delivered

0

Strings ending with delivered (such as "... delivered") are matched and displayed as 0.

Range

20-50

20

Any quantity within the range between 20 and 50 will display as 20.

Advanced

quantity<50

current_quantity

All product quantities less than 50 in the feed file retain their existing in-store current_quantity.

With Formula

-

10

Applies a formula (e.g., +10) to the quantity, where quantity refers to the feed file value and current_quantity refers to the existing quantity in the Shopify store.

Empty

-

0

Sets empty or blank quantity cells in the feed file to 0.

Match Any

-

15

Sets all processed products to display a fixed quantity of 15.


3. Track Inventory

Automatically enable inventory tracking on synced products so available inventory quantities at a location update automatically when receiving a transfer containing the product.


Track Inventory Setting


Default Add Feed Behavior: The Track inventory option is enabled by default in Add product feeds.


Example: Enable Track inventory in Stock Sync to automatically turn on the Track Quantity setting inside your Shopify product options.


4. Low Stock Alert

Set a minimum stock threshold to trigger email notifications whenever synced products drop to or below that inventory level. To receive alerts, turn on notifications under Preferences → Notifications → Low Stock Alert.


Low Stock Alert Setting


Example: If you set the threshold level to 5, Stock Sync sends an email notification listing all products with stock of 5 or below once the sync process completes.


5. Overwrite Existing Quantity

Replace your existing in-store product quantity directly with the exact quantity provided in your supplier feed file.


Overwrite Existing Quantity Setting


Example: If the store quantity is 20 and the feed quantity is 15, the updated store quantity becomes 15.


6. Add/Deduct with Existing Quantity

Add the incoming quantity from your supplier feed to the existing quantity currently stored in your shop.


Add/Deduct with Existing Quantity Setting


Duplicate SKU Aggregation: Disable the Out of Stock Strategy on Step 4 if you want to sum up duplicate SKUs appearing multiple times within your feed file.


Example: If the store quantity is 20 and the feed quantity is 15, the updated store quantity becomes 35.


7. Only Deduct from the Existing Quantity

Subtract the incoming feed quantity from your current in-store quantity rather than overwriting or adding to it. By default, this option is unselected.


Only Deduct from Existing Quantity Setting


Example: If the store quantity is 20 and the feed quantity is 15, the updated store quantity becomes 5.


8. Set Existing Quantity in Store to 0 Before Updating

Reset your existing store quantity to 0 prior to summing duplicate SKUs from your feed file, effectively overwriting the old store balance with the combined total of duplicate feed rows. To use this option, Add/Deduct with existing quantity must also be enabled.


Set Existing Quantity in Store to 0 Setting


Example: If the store quantity is 20, the first feed row quantity is 15, and a duplicate SKU row quantity is 10, the store resets to 0 and updates to 25.


9. Quantity Delimiter

Specify the character delimiter used to separate numeric values in your feed file's stock column, with auto selected by default.


Quantity Delimiter Setting


Example: If your supplier feed formats stock values using a comma separator (such as 20,30), set Quantity Delimiter to ,.



Key Rules & Technical Details


  • Single Location Constraint: Each feed updates inventory for one selected store Location at a time; create identical separate feeds if you need to sync multiple locations.
  • Duplicate SKU Summation: To sum quantities across duplicate SKU rows without retaining old store inventory, enable both Add/Deduct with existing quantity and Set existing quantity in store to 0 before updating, and disable the Out of Stock Strategy in Step 4.
  • Low Stock Email Activation: Setting a threshold in Quantity → Smart Settings → Low Stock Alert requires enabling the alert toggle under Preferences → Notifications → Low Stock Alert to receive emails.



Troubleshooting Steps


  • Issue: Duplicate SKUs in the feed file are not summing together properly during sync → Solution: Enable Add/Deduct with existing quantity (and Set existing quantity in store to 0 before updating if you want to replace old store stock) under Quantity → Smart Settings, and disable the Out of Stock Strategy in Step 4.
  • Issue: Low stock alert emails are not arriving after a feed finishes running → Solution: Verify that your threshold is configured in Quantity → Smart Settings → Low Stock Alert and confirm that email notifications are turned on under Preferences → Notifications → Low Stock Alert.
  • Issue: Stock quantities with commas (e.g., 20,30) are parsed incorrectly → Solution: Open Quantity → Smart Settings → Quantity Delimiter and set the delimiter explicitly to , instead of auto.



Good Articles to Continue


Updated on: 26/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!