-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 16744: Mark ordered products as modified
Some clients noticed that they get wrong stock values in catalog sync. This is happening because after the completion of a product purchase we don't mark it again as `un-processed`. This means that every time a user buys a product then we don't resync the new decreased stock value. **What changed** Now during order sync we mark ordered products as un-processed. By doing this we resync these products during catalog sync, so the new stock value will be updated. **How to test** - Simply complete a purchase of a product that is already imported into EC. - After you run the order sync, then the product should be marked as processed = 0 in `email_catalog` Related work items: #99017
- Loading branch information
Showing
1 changed file
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters