WooCommerce and Square inventory is no longer synced when adding new products.
-
Hello. This is an inquiry from Japan.
My e-commerce site uses WooCommerce for its shopping cart and Square for payments.
We also sell face-to-face, and even in that case, we sell credit cards through Square, so we manage inventory consistently on Square.It has worked well for products I have registered in the past.
However, when I recently registered a new product, I’m having trouble linking Woo and Square’s inventory for some reason.If the cooperation between Woo and Square is going well,
- test purchase a product
- When I look at the inventory count on Woo’s product page management screen, it is 1 less than before the purchase.
- At the same time, the product list set in Square also decreases by 1
This is the correct state.
Items that have been registered in the past are as shown above. However, for a newly registered product recently, after the test purchase, the inventory in Woo’s management screen has decreased by one, but the number has not changed in Square’s product management screen.
And vice versa.
Basically, Square manages the number of products in stock, and for conventional products, if I increase the inventory in Square, it will be reflected in Woo 15 minutes later.
However, for newly registered products, even if I change the stock quantity on Square, it will not be reflected in Woo’s stock quantity.There are two types of WooCommerce products: basic products and products with variations. In “basic products”, inventory management works in conjunction with newly registered products.
However, in the previous registered products, the inventory is linked without any problem even if it is a “variety product”.
I looked carefully to see if there were any differences in the registration method and items between the previous product and the newly registered product, but there was no particular difference.
Thinking that there might be some hidden differences, I tried exporting Woo’s product data, including meta tags, and found the following.
?For products with problems,
“meta: _square_item_id”
“Meta: _square_item_variation_id
”
column does not contain the unique code that should have been entered?”Meta: _square_item_version
and “meta: _square_item_variation_version
” contains some numbers, but the data is strange with 0 other than the first 3 digitsProbably, if this metadata is entered properly, it seems to work without problems. Why is there no metadata?
I would appreciate it if someone could let me know how to solve this problem.
Tsuyoshi Tomita
The page I need help with: [log in to see the link]
- The topic ‘WooCommerce and Square inventory is no longer synced when adding new products.’ is closed to new replies.