Products stock is not syncing
-
Hi, I have connected the plugin on my website the products are syncing but the stock is not syncing with the products. I have added stock to all my products
-
Please ensure that you are using the latest version of the plugin.
Also ensure to do the following:
- check that PHP time limit is sufficient, ensure it’s set to 1200
- Make sure your WP Memory is sufficient, like 256 MB and above
Then please try to adjust a product stock and then hit update when you’re on that product edit page, then check for that product on Facebook
Let me know how it goes.
I have tried it for now and waiting for the sync to complete
Hi, I have done as you said but it’s still showing out of stock
Hey, @blingyourfashion! Thank you for trying our suggestions.
I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Just to confirm, could you make sure that you’ve set up the product sync from your store to Facebook as described in the documentation linked here, please?
Looking forward to your reply.
Have a wonderful day!
Hi,
Following is the log and yes we had read the document while installing the plugin
` WordPress Environment WordPress address (URL): https://blingyourfashion.com<br>Site address (URL): https://blingyourfashion.com<br>WC Version: 8.4.0<br>REST API Version: ✔ 8.4.0<br>WC Blocks Version: ✔ 11.6.2<br>Action Scheduler Version: ✔ 3.7.0<br>Log Directory Writable: ✔<br>WP Version: 6.4.2<br>WP Multisite: –<br>WP Memory Limit: 768 MB<br>WP Debug Mode: –<br>WP Cron: ✔<br>Language: en_US<br>External object cache: – Server Environment Server Info: Apache<br>PHP Version: 8.1.26<br>PHP Post Max Size: 256 MB<br>PHP Time Limit: 1800<br>PHP Max Input Vars: 3000<br>cURL Version: 8.2.1<br>OpenSSL/3.1.1 SUHOSIN Installed: –<br>MySQL Version: 5.7.39-42-log<br>Max Upload Size: 256 MB<br>Default Timezone is UTC: ✔<br>fsockopen/cURL: ✔<br>SoapClient: ✔<br>DOMDocument: ✔<br>GZip: ✔<br>Multibyte String: ✔<br>Remote Post: ✔<br>Remote Get: ✔ Database WC Database Version: 8.4.0<br>WC Database Prefix: wp_<br>Total Database Size: 19.75MB<br>Database Data Size: 14.87MB<br>Database Index Size: 4.88MB<br>wp_woocommerce_sessions: Data: 1.22MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.36MB + Index: 0.52MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.27MB + Index: 0.25MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_nextend2_section_storage: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_nextend2_smartslider3_sliders: Data: 0.08MB + Index: 0.03MB + Engine InnoDB<br>wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_nextend2_smartslider3_slides: Data: 0.06MB + Index: 0.11MB + Engine InnoDB<br>wp_options: Data: 5.05MB + Index: 0.14MB + Engine InnoDB<br>wp_postmeta: Data: 3.36MB + Index: 2.09MB + Engine InnoDB<br>wp_posts: Data: 3.31MB + Index: 0.13MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.05MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB<br>wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wt_sc_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts attachment: 261<br>custom_css: 1<br>customize_changeset: 22<br>elementor_library: 2<br>nav_menu_item: 10<br>oceanwp_library: 1<br>page: 17<br>post: 7<br>product: 47<br>product_variation: 150<br>revision: 101<br>shop_coupon: 1<br>wp_navigation: 1<br>wpforms: 1 Security Secure connection (HTTPS): ✔<br>Hide errors from visitors: ✔ Active Plugins (17) Elementor: by Elementor.com – 3.18.3<br>Essential Addons for Elementor: by WPDeveloper – 5.9.2<br>Facebook for WooCommerce: by Facebook – 3.1.5<br>Jetpack: by Automattic – 12.9.1<br>Ocean Custom Sidebar: by OceanWP – 1.1.2<br>Ocean Extra: by OceanWP – 2.2.4<br>Ocean Product Sharing: by OceanWP – 2.0.8<br>Ocean Social Sharing: by OceanWP – 2.0.6<br>Ocean Stick Anything: by OceanWP – 2.0.7<br>Speed Optimizer: by SiteGround – 7.4.5<br>Smart Slider 3: by Nextend – 3.5.1.21<br>Variation Swatches for WooCommerce: by Emran Ahmed – 2.0.29<br>WooCommerce Stripe Gateway: by WooCommerce – 7.7.0<br>WooCommerce Shipping & Tax: by WooCommerce – 2.4.2<br>WooCommerce: by Automattic – 8.4.0<br>WPForms Lite: by WPForms – 1.8.5.3<br>Smart Coupons For WooCommerce Coupons: by WebToffee – 1.5.2 Inactive Plugins (2) Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3<br>Hello Dolly: by Matt Mullenweg – 1.7.2 Settings API Enabled: –<br>Force SSL: –<br>Currency: USD ($)<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5) Connected to Woo.com: ✔<br>Enforce Approved Product Download Directories: ✔<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages Shop base: #128 - /shop/<br>Cart: #1036 - /cart/<br>Checkout: #1037 - /checkout/<br>My account: #1038 - /my-account/<br>Terms and conditions: #1351 - /terms-of-service/ Theme Name: OceanWP<br>Version: 3.5.3<br>Author URL: https://oceanwp.org/about-oceanwp/<br>Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme<br>WooCommerce Support: ✔ Templates Overrides: oceanwp/woocommerce/cart/mini-cart.php<br>oceanwp/woocommerce/content-single-product.php<br>oceanwp/woocommerce/loop/loop-start.php<br>oceanwp/woocommerce/single-product/product-image.php<br>oceanwp/woocommerce/single-product/title.php Admin Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-external-affiliate<br>settings<br>async-product-editor-category-field Daily Cron: ✔ Next scheduled: 2023-12-23 12:44:34 +00:00<br>Options: ✔<br>Notes: 73<br>Onboarding: completed Action Scheduler Canceled: 1<br>Oldest: 2023-12-09 12:45:50 +0000<br>Newest: 2023-12-09 12:45:50 +0000 Complete: 1,219<br>Oldest: 2023-12-09 12:45:55 +0000<br>Newest: 2023-12-22 15:05:22 +0000 Failed: 1<br>Oldest: 2023-12-09 12:45:50 +0000<br>Newest: 2023-12-09 12:45:50 +0000 Pending: 3<br>Oldest: 2023-12-22 16:31:57 +0000<br>Newest: 2023-12-23 13:00:23 +0000 Status report information Generated at: 2023-12-22 15:05:40 +00:00<br>`Hi there @blingyourfashion 👋
Products stock is not syncing
As a next step, kindly check out what is detailed in the documentation section, linked here, for your convenience.
I trust that points you in the right direction, but if you have more questions, let us know.
We’re happy to help.
Hi,
I have updated the products stock following is a link of screenshot where it shows you actual stock once you select the product https://prnt.sc/bP8s4KRx_qeq
Hi there @blingyourfashion 👋
From what I gather, the screenshot showcases that there are 6 units available for the iPhone 11 variant of the product on the WooCommerce store.
Could you be so kind and share a screenshot and/or link of the Facebook shop page for this product?
We await your response to better assist you.
https://www.facebook.com/commerce/products/7302841996401677/
this is the products link
Thanks again for getting back to us!
To troubleshoot the issue further, could you please enable logging in the Facebook for WooCommerce plugin, then try again syncing your products and then share the log for us to review? To do so, please follow these steps:
- Head to Marketing > Facebook.
- Enable debug mode at the bottom of the screen and save the settings.
- Repeat the steps to replicate the error.
- Head over to WooCommerce > Status > Logs.
- Choose the Facebook log from the dropdown and click the “View” button to display the log.
- Copy and paste the log into https://snipboard.io and share the resulting link. You can also paste the logs directly in your reply.
Looking forward to your reply.
I had the logs enabled and this is just a part of it https://snipboard.io/Da3B9M.jpg
-
This reply was modified 2 years, 4 months ago by
blingyourfashion.
Hello @blingyourfashion,
Thank you for sharing the logs!
I noticed from your website’s footer that your business is based in the US. If this is accurate, this behaviour is expected due to Meta’s announcement in back May regarding the discontinuation of ‘Checkout on another website’.You can find this mentioned on the front page of the plugin’s documentation: https://woo.com/document/facebook-for-woocommerce/
I’ve included your thread in the public report we’re using to monitor this issue. Since the changes are from Meta, we don’t have an estimate for when or if a fix will be released.
In the meantime, consider checking our other social media integration plugins for Pinterest, TikTok, Google and more.
Let us know if you have any other questions!
The topic ‘Products stock is not syncing’ is closed to new replies.