How Do I add products now?
-
Before the big update I could add new products into Woo and they would be synced and added to square. Now I have to add products into Woo, then also add them into square with the same SKU so that they sync. Am I doing something wrong? Surely I don’t have to add all products in twice now?
Also I have had to adjust stock levels manually for all website sales. If I sell something on the website it shows “adjusted stock levels xxx’ but doesn’t actually adjust them in sqaure, squares stock level overwrites it which essentially negates the website sale.
I have square set as main as I sell in-store and online.
The page I need help with: [log in to see the link]
-
Hi there!
You do NOT need to add products in both places now.
You’ll want to follow the steps at https://docs.woocommerce.com/document/woocommerce-square/#section-5 to create a “product system of recored” which is you telling the plugin that you will add products to Woo and then it will sync to Square.
Regarding the stock issue, which version are you using? Please make sure you are using the most recent version as there was some stock issues with the first release.
Prior to the 2.0 update I could just add a product in woo and it would automatically appear in square. Since the 2.0 update I set my product system of record to square because I use the square POS in-store, as well as have website sales. When it stopped automatically copying new products to square I was unsure whether I had it configured wrong or it was just a bug from the 2.0 update. I just updated to 2.03 now.
Hi @sheldzor,
Prior to the 2.0 update I could just add a product in woo and it would automatically appear in square.
This sounds like the System of Record needs to have its origin as WooCommerce, as you are creating the item in Woo and it then reads it to Square. With version 1+ it was just a 2 way sync, where it would read both for X time (usually at the top of the hour) and sync up.
2.0 changed a lot of things, as Square was trying to allow for different types of sites and products to be able to sync, and choose which area to pull from as primary (site, or Square). This allows for the plugin to potentially have different origins of syncing instead of only allowing 1 Square 1 store setup regardless of how many stores. If you want to keep the system of you update Woo and it shows on Square, change the
System of Record
to WooCommerce.Since the 2.0 update I set my product system of record to square because I use the square POS in-store, as well as have website sales
the Square POS is different than the Square plugin, and it will still track all sales coming from WooCommerce. If you update products primarily in WooCommerce first, and not Square, set the
System of Record
to WooCommerce ??When it stopped automatically copying new products to square I was unsure whether I had it configured wrong or it was just a bug from the 2.0 update. I just updated to 2.03 now.
It is good that you updated to 2.0.3! If you switch it and it still does not work let us know.
The reason I set the system of record to square is because it says this in the documentation:
“If you sell via multiple channels (e.g. in-person with Square POS and online), we recommend setting Square as your system of record. Using Square as the system of record is especially helpful if inventory is shared for a Square location.
If you sell online only, we recommend setting WooCommerce as your system of record. This will ensure basic WooCommerce product data are pushed to Square as they change on your site.”I sell products in store with the square POS as well as online, so I figured square as the system of record was the way to go. I will try changing it to Woo as the system of record now and see how I go.
thanks for the replies
I changed woo to system of record and i get “Sync failed. Please try again” with this log:
2019-08-14T06:48:29+00:00 CRITICAL Uncaught Error: Call to a member function getCursor() on null in /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php:158
Stack trace:
#0 /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Interval_Polling->update_product_data()
#1 /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#2 /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#3 /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Square\Handlers\Background_Job->process_job(Object(WooCommerce\Square\Sync\Interval_Polling))
#4 /home/gorillaeu in /home/gorillaeuntology/public_html/vapourclub.com.au/wp-content/plugins/woocommerce-square/includes/Sync/Interval_Polling.php on line 158Hi @sheldzor,
As you sell products with the Square POS, the POS software does not typically talk to WooCommerce; it will update Square but not Woo. This is why it recommends that you set the
System of Record
(SOR) to Square, so that it can properly update.The issue arises when you have products originally created in WooCommerce and traditionally update there; the SOR is built so that wherever it is set, if that place has an update to the products it will sync to the opposite, but not the other way around.
Example: if you have products in WooCommerce (WC) and have WC set as SOR then when you update any of these fields:
Product name
Product price
Inventory count (if inventory sync is enabled)
Product image, if a featured image is not set in WooCommercethen it will auto sync that to Square. The same is true for the opposite, with the SOR set to Square.
The kicker is if you have your products in WC as the origin (meaning you created them in WC first and not Square) and Square is simply virtually hosting products as they are synced, when you do the POS system it will update Square but not WC. You would need to export the products from WC, import to Square so that it has physical products. Once that is done, change the SOR to Square and it should sync correctly and work when the POS does a sale.
Hi @sheldzor,
We have not heard back from you in a bit, so I will go ahead and close this thread. If you continue to have the current issue please reply and let us know, otherwise if you have a new issue open a new thread.
Cheers!
Hi @nixiack8,
I’m having a similar issue at the moment. I have Square set as my SOR. Our situation is that we updated the inventory levels in Square to reflect what our 3PL has on hand.
The automated Sync from Square –> Woo was failing so I tried to perform a manual sync. I’m now just getting “Sync failed. Please try again” with no additional context.Checking the logs…
“2019-09-20T16:48:40+00:00 CRITICAL Uncaught Error: Call to a member function getAmount() on null in /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php:156
Stack trace:
#0 /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Sync/Manual_Synchronization.php(1400): WooCommerce\Square\Handlers\Product::update_from_square(Object(WC_Product_Simple), Object(SquareConnect\Model\CatalogItem), false)
#1 /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(114): WooCommerce\Square\Sync\Manual_Synchronization->square_sor_sync()
#2 /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Sync/Stepped_Job.php(55): WooCommerce\Square\Sync\Stepped_Job->do_next_step()
#3 /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(172): WooCommerce\Square\Sync\Stepped_Job->run()
#4 /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Handlers/Background_Job.php(123): WooCommerce\Squa in /nas/content/live/vyybcbd/wp-content/plugins/woocommerce-square/includes/Handlers/Product.php on line 156”Do you know what’s going on? I hadn’t made any major changes prior to this aside from updating some SKU’s in WooCommerce to match the SKU’s in Square.
Going to repost this as a new thread since it’s a bit off topic here.
Hi @jcbgfnr,
Has this been happening since the update to 2.0, if you had ver. 1.0.38 prior? What I mean is that was this working for a while, then you updated to 2.0.x and it started having issues?
If that is the case, it might be that the token you have is not syncing correctly. To resolve this, you will actually need to disconnect Square, then uninstall/reinstall it and set it up again.
– Disconnect Square under WooCommerce > Settings > Square
– Uninstall under Plugins > All Plugins
– Install a fresh copy from this location
– Set up using the steps at this walkthroughAfter that, re-turn on logging then do a manual sync and see if the issue resolves itself. If it does not, report it back here!
Thanks Mike. We reverted back to v1.0.38 and it started working again. I’m a bit nervous that somebody on our end will auto-update it and it will break again but we’re ok for now. Thanks for the reply.
- The topic ‘How Do I add products now?’ is closed to new replies.