ProductSyncService now calls pushInitialStock() after creating a new product in PrestaShop, so stock is correct without waiting for the next StockSyncService run. Failures are caught and logged as warnings — the product mapping is saved as SYNCED regardless, and StockSyncService will correct any discrepancy on its next scheduled run. Also applies the PS 8.2.5 false-instead-of-empty-array workaround to getStockAvailableForProduct(), consistent with getProductByReference(). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .mvn/wrapper | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .mise.toml | ||
| mvnw | ||
| mvnw.cmd | ||
| pom.xml | ||