Closed solstudioim closed 2 years ago
Reported here as well on the forum: https://wordpress.org/support/topic/stock-quantity-not-syncing-with-facebook/?view=all#post-14374852
Reported as well by a different user on the forum: https://wordpress.org/support/topic/sale-price-is-the-same-as-regular-price/?view=all
π Isolate the bug
When a product on WooCommerce doesn't have "sale price", only "regular price", and the product is set to "Sync and show in catalog", strangely in Facebook catalog, the sale price field is filled and "This item is on sale" is ticked and field with regular price.
βοΈ Describe the bug
Initially, I got an issue reported by a user, ref: HC-28627376, whenever a product is set to sync and show in Facebook catalog either for a simple or variable product, on Facebook side, in catalog, the sale price field is filled with the regular price and "This item is on sale" is also checked.
πΆββοΈSteps to reproduce
(You'd need a Facebook Business Manager account connected to a WooCommerce store to replicate)
Create a product on Woo, set regular price, donβt set the sale price, and set as Sync and show in catalog
Go to Facebook Commerce Manager, navigate to Catalog section, and in Items section, search for the name of the product.
Click the product shown, a popup will appear, and then click Edit Item.
The Regular price set on WooCommerce, is set as both βPriceβ and βSale Priceβ in the product item, and "This item is on sale" is also checked.
βοΈ Expected behavior
When we don't set a value for Sale Price on WooCommerce product field, it's expected that when it's synced into Facebook catalog, in the product detail, the Sale Price isn't ticked, and the value set to zero or empty.
However, if both Regular Price and Sale Price are set on WooCommerce, it's properly set up accordingly on Facebook.
Live link to the product page: https://solsubs.mystagingwebsite.com/product/trendy-coral-blazer/
π Logs