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 Check | Why It Matters |
|---|---|
| Product database & location rules | Missing or incorrect data blocks updates |
| Cache and sync | Old data may override new updates |
| Conflicting rules | Overlaps cause incorrect stock/price |
| JavaScript or plugin conflicts | Scripts may block dynamic updates |
| Cookies and sessions | Location choice may not be saved |
| Theme conflicts | Custom themes may break selector logic |
Summary
To resolve stock or price not updating by location:
- Verify product data and location rules.
- Clear cache and confirm sync.
- Remove conflicting or duplicate rules.
- Check for plugin or script conflicts.
- Reset cookies and sessions.
- Test with a default theme.
Following this investigation flow ensures you systematically identify and fix product data conflicts without missing key steps.