Open faisal-alvi opened 3 weeks ago
Additionally, if variation names cannot be modified when using dynamic options, we might consider disabling the attributes tab and also restricting any changes to the dropdown values under the variations tab. This approach would help prevent confusion since a new dropdown value will never be synced to the Square side!
I also noticed that if we add more variations in Woo, those aren't syncing to Square too!, so we might consider disabling the option to add/create more variations as well. It’s also worth evaluating whether removing variations should be restricted as well.
When Woo is set as SOR, the sync fails when the dynamic options are used by a variable product. The plugin tries to update the variation name but it is not allowed when the variations use dynamic options. Even at the Square dashboard, we can not edit it.
Here is the logged error:
We should skip updating the variation name here:
https://github.com/woocommerce/woocommerce-square/blob/d47dd1d162d8a9d0f6efe0b279db019556e0bba4/includes/Handlers/Product/Woo_SOR.php#L228