Stock or Price Not Updating by Location

When using Multi Location Inventory Management for WooCommerce, stock levels or prices may sometimes fail to update correctly when a customer selects a location. This usually happens due to conflicts in product data, caching, or rule settings. Below is a structured investigation flow to help you identify and resolve the issue.


Step 1: Confirm Data Source

  • Check product database: Ensure stock and price data is correctly entered.
  • Verify location rules: Confirm that each region has its own stock and pricing values.
  • Look for missing entries: If a location has no assigned data, updates will fail.

Step 2: Review Cache and Sync

  • Clear cache: Cached data may show old stock or prices.
  • Check sync settings: Make sure product data is syncing between systems (e.g., ERP, POS, website).
  • Test with fresh data: Update one product and see if changes appear.

Step 3: Identify Conflicting Rules

  • Overlapping rules: Multiple rules for the same product/location can cause conflicts.
  • Priority settings: Check if global rules override local ones.
  • Duplicate entries: Remove or merge duplicates to avoid confusion.

Step 4: Check JavaScript or Plugin Conflicts

  • Disable plugins: Some plugins may block dynamic updates.
  • Test selector behavior: Switch locations and see if the stock/price changes.
  • Look for console errors: Browser developer tools can reveal script conflicts.

Step 5: Validate Cookies and Sessions

  • Cookies store location choice: If blocked or corrupted, updates may fail.
  • Enable cookies: Ensure browser allows cookies.
  • Reset session: Log out and back in to refresh data.

Step 6: Test with Default Theme

  • Switch to default theme: Conflicts in custom themes may prevent updates.
  • Check selector display: Ensure the location selector shows correctly.
  • Compare behavior: If it works in the default theme, the issue is theme-related.

Quick Investigation Flow

What to CheckWhy It Matters
Product database & location rulesMissing or incorrect data blocks updates
Cache and syncOld data may override new updates
Conflicting rulesOverlaps cause incorrect stock/price
JavaScript or plugin conflictsScripts may block dynamic updates
Cookies and sessionsLocation choice may not be saved
Theme conflictsCustom themes may break selector logic

Summary

To resolve stock or price not updating by location:

  1. Verify product data and location rules.
  2. Clear cache and confirm sync.
  3. Remove conflicting or duplicate rules.
  4. Check for plugin or script conflicts.
  5. Reset cookies and sessions.
  6. Test with a default theme.

Following this investigation flow ensures you systematically identify and fix product data conflicts without missing key steps.