Inventory push not working
-
I have my product system of record set to Woo. Sync from Square to Woo works fine. Woo to Square does not. This is causing horrible issues with sales on my website as Square keeps overwriting the correct stock levels and then Woo is wrong (which is a problem as I use the eBay plugin and then stock I do not have to being pushed to eBay).
When I look at any product in Woo, in the inventory area the Manage Stock option is ticked with Synced to Square, even though I have set Woo as the system of record. I believe this is what is causing the issue, but I am unable to stop it from being ticked. As a result, I am also unable to change stock levels in Woo as the Stock Quantity box is greyed out and I only have the link option “Fetch stock from Square” (which works).
How can I get back control of inventory to Woo with only sales in the shop / square being updated back into Woo?
-
Hi @revelationsky. With WooCommerce as System of Record, the inventory should be pulled from WooCommerce to Square. Sales made using your POS are used to update the inventory in WooCommerce every hour. Would you please share a screenshot of your settings from WooCommerce > Settings > Square? You can use https://snipboard.io to upload a screenshot and share the link in your reply.
Also, please share your system report with us. You can find it by going to WooCommerce > Status > Get system report and then click Copy for support to be able to paste it.
-
This reply was modified 5 years, 11 months ago by
Damianne P (a11n).
Hi. Sorry for delayed response, I was waiting for some sales to come through so I can show what is happening. Here are my settings in Woo for Square.
https://snipboard.io/UdjBKF.jpg
And here is an order that just came through for Black Resin:
https://snipboard.io/a4v37s.jpg
And here is the result in Woo products against the Black Resin:
https://snipboard.io/3GPxL1.jpg
As you can see, Woo decremented the Black Resin qty by one, but it still shows as 2 in the product details… which is what is showing in Square POS. It would appear that as soon as Woo decrements the product count, Square changes it back.
Also, I have found that if I actually go to the product and manually click the link “fetch stock from square” it pulls in the wrong value, but I can then update the stock qty and click update and the stock quantity then goes into Square correctly.
System report for you:
### WordPress Environment ### WordPress address (URL): https://bitsandbytes.shop Site address (URL): https://bitsandbytes.shop WC Version: 4.0.1 REST API Version: ✔ 1.0.7 WC Blocks Version: ✔ 2.5.14 Action Scheduler Version: ✔ 3.1.4 WC Admin Version: ✔ 1.1.0 Log Directory Writable: ✔ WP Version: 5.4 WP Multisite: – WP Memory Limit: 768 MB WP Debug Mode: – WP Cron: ✔ Language: en_AU External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.0.33 - We recommend using PHP version 7.2 or above for greater performance and security. How to update your PHP version PHP Post Max Size: 128 MB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.62.0 OpenSSL/1.0.2k SUHOSIN Installed: – MySQL Version: 10.3.21-MariaDB-cll-lve Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 4.0.1 WC Database Prefix: wp8n_ Total Database Size: 19.77MB Database Data Size: 17.85MB Database Index Size: 1.92MB wp8n_woocommerce_sessions: Data: 0.88MB + Index: 0.05MB + Engine MyISAM wp8n_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_order_items: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp8n_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_actionscheduler_actions: Data: 1.00MB + Index: 0.26MB + Engine MyISAM wp8n_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_actionscheduler_logs: Data: 0.51MB + Index: 0.36MB + Engine MyISAM wp8n_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_comments: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp8n_itsec_distributed_storage: Data: 7.08MB + Index: 0.00MB + Engine MyISAM wp8n_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_itsec_lockouts: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_itsec_logs: Data: 3.35MB + Index: 0.09MB + Engine MyISAM wp8n_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp8n_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_itsec_temp: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp8n_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp8n_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_mailchimp_carts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_mailchimp_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_options: Data: 3.10MB + Index: 0.14MB + Engine MyISAM wp8n_pmxe_exports: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp8n_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM wp8n_pmxe_posts: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp8n_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_postmeta: Data: 1.08MB + Index: 0.51MB + Engine MyISAM wp8n_posts: Data: 0.31MB + Index: 0.08MB + Engine MyISAM wp8n_termmeta: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp8n_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp8n_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_tm_taskmeta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp8n_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_usermeta: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp8n_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_wc_product_meta_lookup: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp8n_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp8n_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp8n_woocommerce_square_customers: Data: 0.00MB + Index: 0.01MB + Engine MyISAM ### Post Type Counts ### attachment: 277 nav_menu_item: 5 page: 7 post: 3 product: 221 product_variation: 51 revision: 39 shop_coupon: 1 shop_order: 25 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (16) ### Akismet Anti-Spam: by Automattic – 4.1.4 All In One SEO Pack: by All in One SEO Team – 3.4.3 iThemes Security: by iThemes – 7.7.1 Facebook for WooCommerce: by Facebook – 1.11.0 Image Watermark: by dFactory – 1.6.6 Jetpack by WordPress.com: by Automattic – 8.4.2 Mailchimp for WooCommerce: by Mailchimp – 2.3.6 WooCommerce Admin: by WooCommerce – 1.1.0 WooCommerce Amazon and eBay Integration: by Codisto – 1.3.46 WooCommerce PayPal Checkout Gateway: by WooCommerce – 1.6.21 WooCommerce Services: by Automattic – 1.23.0 WooCommerce Australia Post Shipping: by WooCommerce – 2.4.22 WooCommerce Square: by WooCommerce – 2.1.1 WooCommerce: by Automattic – 4.0.1 WP All Export Pro: by Soflyy – 1.5.11-beta-1.8 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.0.19 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: – Force SSL: – Currency: AUD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ ### WC Pages ### Shop base: #6 - / Cart: #7 - /cart/ Checkout: #8 - /checkout/ My account: #9 - /my-account/ Terms and conditions: ❌ Page not set ### Theme ### Name: Storefront Version: 2.5.5 Author URL: https://woocommerce.com/ Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: – ### Square ### Environment: Production Tokenization Enabled: ✔ Debug Mode: Off ### Action Scheduler ### Complete: 2,672 Oldest: 2020-03-28 13:39:26 +0000 Newest: 2020-04-28 12:41:56 +0000 Pending: 5 Oldest: 2020-04-28 12:52:10 +0000 Newest: 2020-05-01 23:12:10 +0000-
This reply was modified 5 years, 11 months ago by
revelationsky.
-
This reply was modified 5 years, 11 months ago by
revelationsky.
Hi @revelationsky. Underneath the stock quantity there is a link called “Fetch stock from Square”. If you click this, it will retrieve the latest value from Square. Once the latest value has been retrieved the inventory can be edited as needed. After doing so, when the product is saved it will sync the new inventory value to Square. Could you please try this for the example product and confirm whether it works or not?
We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
Apologies, I did not see the response previously. No, this issue is not resolved. The “Fetch stock from Square” works fine. Then changing the stock value and saving works fine (i.e it updates in Square). But, if an item is sold in Woo then the stock level in Square replaces the correct stock level in Woo.
I am having the same problem. I uploaded the information requested but it apparently didn’t pass the moderator so you don’t see it here. This particular inventory issue keeps getting marked “resolved” when it’s not.
-
This reply was modified 5 years, 11 months ago by
The topic ‘Inventory push not working’ is closed to new replies.