WooSquare Syncing & Duplicate SKUs - wordpress

We are experiencing issues with products displayed in Square POS Library after syncing our WooCommerce website to Square using the WooSquare plugin. Note that we have 2 locations, one location we are auto-syncing between Square and Woocommerce and the other brick and mortar location we are not syncing. We added a -1 to all of the SKUs for the products of the unsynced location to prevent duplicates. We have made updates in WooCommerce to our Variable Products and have updated Attributes on our products in WooCommerce but changes are not being properly synced to the Square POS. We are also experiencing Duplicate Products. On some of our Variable Products, we cannot read the variations at the POS and cannot select correct variations to ring up the right variations of the products.
Could the duplicate product issue come from the fact that we need to add SKUs to the parent of the variable product? We only have SKUs assigned to the variables.
We noticed here https://apiexperts.io/documentation/faq/synchronize-global-attribute-square-woocommerce-variable-products-auto-sync/ it said Note: Make sure before you sync Global attribute from Square to WooCommerce, Add Global attribute in WooCommerce otherwise it will consider as a custom attribute. Also Note: If you have more than 500 products then don’t choose Auto sync hourly. We noticed this after the fact. Note we have around 800 products.
Why can we not sync hourly if we have over 500 products? We changed all products custom attributes to Global attributes? How do we get Square to change the custom attributes to Global attributes or how do we get these corrections to reflect on the square side? Regarding the last question, we think that this issue can be resolved by simply pressing the “Synchronize Woo to Square” Button in WooSquare, but when I press it the dialog box does not fully load even after waiting 5 minutes.
Can anyone provide any insight on how I can resolve these issues?
Here are some resources for context:
https://apiexperts.io/documentation/topics/woosquare-pro/
https://docs.woocommerce.com/document/woocommerce-square/#section-10

Related

Variable prices and gallery images do not display when selected

So I discovered on the single product page, when variable options are selected the prices do not display when selected and likewise the thumbnail images in the gallery. And also, the footer bar is missing on the single product page as well the related products in the same category.
I created attributes for each variable product and setup different prices for the various variations.
I tried switching themes but I still experienced the same effects.
I equally tried deactivating plugins but that didn’t work either.
I double checked to see if I missed something when creating the attributes and variations but all information when correct, so I don’t know.

Make woocommerce product attribute unremovable?

I have a problem with my Woocommerce. I use my supplier's plugin which very regularly and automatically updates the stock and price of my products. I can, on my supplier's site, request that the product updates of their API linked to my site via their plugin do not erase the titles and descriptions of the products (I modified some of them after adding them ).
Problem: I must add to my products an attribute (example "Color") which is not assigned to them by default (they have two but it is not "Color".)
I can add this attribute to them and define a particular color for them, but when they are updated by my supplier, it overwrites the attributes that were not on my basic products (here the "Color" attribute) .
I wish I could tell their API not to overwrite it, like title or description, but they don't know how to do that..
Do you have an idea ?
I got a start of the trail thanks to this page: https://datafeedrapi.helpscoutdocs.com/article/44-prevent-attributes-from-being-overwritten-during-product-set-updates but the code is for THEIR API and so that the value of an attribute is not erased. For me, it's the ENTIRE attribute that I want to preserve..
Thank you !

How Can I keep Selling Out Of Stock Products?

My client has just upgraded to a new POS system that manages stock and overwrites product data on woo/wp, and the client has had trouble with the "manage stock" setting being automatically applied on woo every time she updates a product on the POS system.
the idea of this is the product needs to show as available regardless of what the stock status. ALL products should show 'add to cart and be purchasable REGARDLESS of the stock status. Any idea how can I achieve that?
From the looks of it, this seems like an issue with the POS. I have tested enabling backorders on WooCommerce and was able to backorder products. Please see if you are able to share the code overwriting product data. As this probably shuts off the back order setting again.
My test case>
Product Configuration
Available Backorder
Page when setting is disabled. (what is probably happening to you)
If you are able to share part of the code I will be able to assist you with this issue because by the looks of it this is an issue with custom code and not with WooCommerce itself.
Keep in mind that this does look different from your webshop, as my test server is currently running a default WP theme.

Conditional clothing product options based on Size and Color

I have a Woocommerce website in which we sell printed t-shirts, hoodies and sweatshirts. We have two product attributes; Size and Color. Currently, we're using the built-in attributes options like this (Our site is in Persian so I used a translator for you, it looks different because of that but we're using the defaults of Woocommerce):
https://i.stack.imgur.com/wqMgt.jpg
Now the problem is that if we want to make a specific size of a specific t-shirt unavailable, we have to either change the variations in products one by one (It's impossible because we have thousands of products with at least 70 variations) or use a plugin to bulk select and edit variations which we do. But it's still very slow and inefficient. As we add more products, it gets harder and slower to change a variation's status.
So what we need is a way to add global conditional logic that let us define which size of which color is available for t-shirts at any given time without needing to change anything inside the product editor. I've tried plugins like Yith Woocommerce Product Add-ons but they don't solve our problem. As you can see from the image, they let you set a single conditional logic for a whole field, they don't provide a solution for adding conditional logic to each option in a field.
Yith Product Add-ons limitation
Can you help me find a solution to this problem? In short, I need a plugin or solution that lets me set conditional logic for my attributes from the admin panel for t-shirt size and color without needing to set them in product pages.

Wordpress WP E-Commerce plugin max number of categories

I'm adding product categories dinamically by code and it all works great (importing products from xml file), but for some reason when i get 46 product categories i cannot add anymore automatically and i can't find any reason why this happens.
The 47th category is added to the database and has all the needed information just like all others. It just doesnt appear in the product categories, and therefore not in the site's menu aswell. The confusing things are:
It appears in the "Appearance > menu" listing with correct relationship with his parent
The product categories says it lists 47 items but i can only count 46
The 47th only appears if i delete all categories
The query that shows product categories is correct
What is going on here? Can any one give me some clue about where should i search to fix this?
Thanks in advance.
Finally i found the problem.
First, the problem had nothing to do with maximum number of categories or any sort of category limitations. It was a caching bug.
In my specific case, i added 46 terms at once and the plugin created a cache that holds all the children from my taxonomy. Later when i tried to add the 47th term, it was actually added correctly, but the cache was never updated for some reason and it's the reason for all the trouble.
The solution: Clear that cache by deleting the {$taxonomu}_children option.
delete_option("{$taxonomy}_children");
More on this:
inserting-terms-in-an-hierarchical-taxonomy

Resources