-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Inventory Sync] Sync the "Mark as sold out" field value during inventory sync. #21
Comments
Leaving a comment here that if we get into bumping the Square SDK that we might want to check and see if this feature was brought out of Beta in that new version such that taking action on this issue might be feasible. |
Update: With Square API release 2023-09-25, the |
Just pinging here as we have an open ticket with a customer waiting for a fix on this (9254090-zen). I note in this report here: Is progress on this issue actually being made? We don't want to keep the ticket open indefinitely if this issue is not actively in progress. @iamdharmesh any thoughts? |
Hi @lynnjat7, thank you for your comment. As of now, we haven't worked on this yet. However, I am planning to start working on this next week and will update you here once we have a PR ready. Thank you! |
Great, thanks for the update! I'll keep tracking via the ticket. |
Hi @iamdharmesh Thank you for working on it, can you also clarify if fixing this will work both ways:
(with Woo SOR and inventory sync enabled) |
Hi @kaushikasomaiya, Thank you for the question.
This should happen only during the initial push (when creating a product in Square). Since inventory is always pulled from Square to account for inventory updates on the Square side, subsequent syncs will update from Square to Woo. However, based on my initial review of the Square API documentation regarding the
Correct. Please let me know if you need any additional information or have any other questions. Thank you. |
Describe the bug
PR #986 has added Support for sync "Inventory tracking", In simple words when inventory tracking is disabled on the square, It unchecks "manage stock?" on Woo side and makes the product "In stock".
At Square side, we can mark the inventory tracking disabled product as "Out of stock" with the "
Mark as sold out on Point of Sale and Online
" option (However, we are not able to mark it due to some error on the Square side.) but currently, Inventory tracking disabled product imported as "in stock" always regardless of the value ofsold_out
field.This issue is created to take the
sold_out
field into account during inventory syncing. So, if product inventory tracking is disabled then the product stock status won't always be "in stock" on the WooCommerce side, Instead, it will depend on the value of thesold_out
field.Note: The
sold_out
field of Square API is still in Beta.Screenshots
Environment (please complete the following information):
Additional details
https://github.com/woocommerce/woocommerce-square-private/pull/986#discussion_r1186885187
The text was updated successfully, but these errors were encountered: