Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Facebook for WooCommerce] Product Sets does not sync to Commerce Manager #2656

Open
2 tasks done
1dr0 opened this issue Oct 26, 2023 · 8 comments
Open
2 tasks done
Labels
needs investigation type: bug The issue is a confirmed bug.

Comments

@1dr0
Copy link

1dr0 commented Oct 26, 2023

🔎 Isolate the bug

  • I have confirmed this occurs in the most recent version of WordPress, WooCommerce, and Facebook for WooCommerce.
  • I have confirmed this occurs when only WooCommerce and Facebook for WooCommerce are active and when using a default WordPress or WooCommerce theme.

✍️ Describe the bug

I could not sync my Product Sets, created on my Woo store, using Facebook for WooCommerce, to show on my Commerce Manager.

🚶‍♀️ Steps to reproduce

  1. Added the title and description and mapped to the WC product category.
  2. Added a description and Google product category to the Product Category.
  3. Facebook for WooCommerce → Product Sync and manually synced.

✔️ Expected behavior

I expected the Product Sets to appear on Facebook Commerce Manager.

🗃 Logs

`

WordPress Environment

WordPress address (URL): https://woo-superbly-thoughtful-artisan.wpcomstaging.com
Site address (URL): https://woo-superbly-thoughtful-artisan.wpcomstaging.com
WC Version: 8.3.0.20
REST API Version: ✔ 8.3.0.20
WC Blocks Version: ✔ 11.3.1
Action Scheduler Version: ✔ 3.6.4
Log Directory Writable: ✔
WP Version: 6.3.2
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_US
External object cache: ✔

Server Environment

Server Info: nginx
PHP Version: 8.2.11
PHP Post Max Size: 2 GB
PHP Time Limit: 1200
PHP Max Input Vars: 6144
cURL Version: 8.4.0
OpenSSL/1.1.1n

SUHOSIN Installed: –
MySQL Version: 10.4.28-MariaDB-log
Max Upload Size: 2 GB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 8.3.0.20
WC Database Prefix: wp_
Total Database Size: 13.22MB
Database Data Size: 7.86MB
Database Index Size: 5.36MB
wp_woocommerce_sessions: Data: 0.25MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 0.41MB + Index: 0.39MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.25MB + Index: 0.20MB + Engine InnoDB
wp_automatewoo_abandoned_carts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_automatewoo_customers: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_automatewoo_customer_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_automatewoo_guest_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_automatewoo_log_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_queue: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_automatewoo_queue_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_automatewoo_referrals: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_automatewoo_referral_advocate_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_automatewoo_referral_invites: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB
wp_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_gla_shipping_rates: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_newsletters: Data: 0.03MB + Index: 0.05MB + Engine InnoDB
wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_newsletter_templates: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_scheduled_tasks: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_scheduled_task_subscribers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_sending_queues: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_statistics_newsletters: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_subscribers: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_subscriber_segment: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 1.19MB + Index: 0.08MB + Engine InnoDB
wp_postmeta: Data: 0.33MB + Index: 0.19MB + Engine InnoDB
wp_posts: Data: 0.25MB + Index: 0.06MB + Engine InnoDB
wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_bis_activity: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_woocommerce_bis_notifications: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_woocommerce_bis_notificationsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_gc_activity: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_gc_cards: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_prl_deploymentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_prl_deployments: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_prl_frequencies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_prl_generator_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_prl_tracking_conversions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB

Post Type Counts

attachment: 55
customize_changeset: 2
jetpack_migration: 2
jp_img_sitemap: 2
jp_sitemap: 2
jp_sitemap_master: 2
mailpoet_page: 1
nav_menu_item: 3
page: 16
post: 1
product: 25
product_variation: 15
revision: 9
shop_bogof_rule: 1
shop_order: 3
wp_global_styles: 3
wp_navigation: 2
wp_template: 3

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (9)

Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3
Facebook for WooCommerce: by Facebook – 3.1.2
WordPress.com Editing Toolkit: by Automattic – 4.1679
Gutenberg: by Gutenberg Team – 16.8.1
Jetpack: by Automattic – 12.8-a.1
Layout Grid: by Automattic – 1.8.4
Page Optimize: by Automattic – 0.5.4
WooCommerce Payments: by Automattic – 6.6.2
WooCommerce: by Automattic – 8.3.0.20

Inactive Plugins (27)

AutomateWoo: by WooCommerce – 6.0.7
AutomateWoo - Refer A Friend Add-on: by WooCommerce – 2.7.11
Avalara AvaTax: by Avalara – 2.6.1
Crowdsignal Forms: by Automattic – 1.7.0
Crowdsignal Polls & Ratings: by Automattic
Inc. – 3.0.11

Google Listings and Ads: by WooCommerce – 2.5.10
MailPoet: by MailPoet – 4.34.0
MailPoet Premium: by MailPoet – 4.34.0
Pinterest for WooCommerce: by WooCommerce – 1.3.12
Redirection: by John Godley – 5.3.10
TikTok: by TikTok – 1.2.1
Woo AI: by WooCommerce – 0.5.0
WooCommerce Australia Post Shipping: by WooCommerce – 2.5.7
WooCommerce Brands: by WooCommerce – 1.6.61
WooCommerce Canada Post Shipping: by WooCommerce – 2.8.4
WooCommerce EU VAT Number: by WooCommerce – 2.8.8
WooCommerce FedEx Shipping: by WooCommerce – 3.8.5
WooCommerce Gift Cards: by WooCommerce – 1.16.6
WooCommerce Google Analytics Integration: by WooCommerce – 1.8.8
WooCommerce Min/Max Quantities: by WooCommerce – 4.1.1
WooCommerce Product Add-ons: by WooCommerce – 6.5.0
WooCommerce Product Recommendations: by WooCommerce – 3.0.3
WooCommerce Royal Mail: by WooCommerce – 3.0.1
WooCommerce Shipment Tracking: by WooCommerce – 2.4.1
WooCommerce Shipping & Tax: by WooCommerce – 2.3.7
WooCommerce UPS Shipping: by WooCommerce – 3.5.7
WooCommerce USPS Shipping: by WooCommerce – 4.7.5

Dropin Plugins (2)

advanced-cache.php: advanced-cache.php
object-cache.php: Memcached

Must Use Plugins (1)

WP.com Site Helper: by –

Settings

API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: bundle (bundle)
external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: ✔
Enforce Approved Product Download Directories: ✔
HPOS feature screen enabled: ✔
HPOS feature enabled: ✔
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: ✔

WC Pages

Shop base: ❌ Page visibility should be public
Cart: #46 - /cart/
Checkout: #159 - /checkout-classic/
My account: #48 - /my-account/
Terms and conditions: ❌ Page not set

Theme

Name: Storefront
Version: 4.5.3
Author URL: https://woocommerce.com/
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
WooCommerce Support: ✔

Templates

Overrides: /wordpress/plugins/woocommerce-accelerated-frequency/8.3.0.20/packages/woocommerce-blocks/templates/notices/error.php
/wordpress/plugins/woocommerce-accelerated-frequency/8.3.0.20/packages/woocommerce-blocks/templates/notices/notice.php
/wordpress/plugins/woocommerce-accelerated-frequency/8.3.0.20/packages/woocommerce-blocks/templates/notices/success.php

WooPayments

Version: 6.6.2
Connected to WPCOM: Yes
WPCOM Blog ID: 224603300
Account ID: ❌ Not connected
Logging: Disabled

Admin

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
onboarding
onboarding-tasks
product-variation-management
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page

Disabled Features: customize-store
minified-js
navigation
new-product-management-experience
product-virtual-downloadable
settings
async-product-editor-category-field

Daily Cron: ✔ Next scheduled: 2023-10-27 01:31:40 +00:00
Options: ✔
Notes: 69
Onboarding: skipped

Action Scheduler

Canceled: 2
Oldest: 2023-10-12 01:32:51 +0000
Newest: 2023-10-25 10:05:18 +0000

Complete: 855
Oldest: 2023-10-12 01:32:51 +0000
Newest: 2023-10-26 03:13:15 +0000

Failed: 93
Oldest: 2023-10-12 01:33:55 +0000
Newest: 2023-10-26 03:12:25 +0000

Pending: 7
Oldest: 2023-10-26 03:14:25 +0000
Newest: 2023-10-27 01:12:00 +0000

Status report information

Generated at: 2023-10-26 03:13:19 +00:00
`

@sukafia sukafia added the type: bug The issue is a confirmed bug. label Oct 26, 2023
@sukafia
Copy link

sukafia commented Oct 26, 2023

I investigated this here p1698290218139939-slack-C7U3Y3VMY and here p1698288534727239-slack-C3NCP7ZJ6 but couldn't replicate it. It's possible the issue might be limited to specific installations.

@sukafia
Copy link

sukafia commented Oct 26, 2023

@rawdreeg could you see if you can replicate the issue on a fresh setup? i.e., new site and new Facebook for WooCommerce connection. Dani and I narrowed it down to new FB connections.

@rawdreeg
Copy link
Contributor

Thanks @sukafia, I will have a look on a fresh set up

@rawdreeg
Copy link
Contributor

I have tried reproducing this on a fresh setup without luck. This will require some time to investigate. I marked as needs investigation.

@NicolaModugno
Copy link

Hello everyone,
I don't know if my experience can be useful to anyone:

I too created Product Sets on the plugin that were not synchronised on Meta's Shop Manager.
On viewing the logs I noticed that Meta was returning an error when calling the 'product_sets' endpoint.

2024-06-11T09:37:18+00:00 NOTICE Request
method: POST
uri: https://graph.facebook.com/v20.0/XXXXXXXXXXXXXXXXX/product_sets
user-agent: Facebook-for-WooCommerce/3.2.3 (WooCommerce/8.9.3; WordPress/6.5.4)
body: {"name":"Outlet","filter":"{\"or\":[{\"retailer_id\":{\"eq\":\"21_50676\"}},{\"retailer_id\":{\"eq\":\"44_50679\"}},{\"retailer_id\":{\"eq\":\"153_50688\"}}, ...
duration: 0.53903s
 CONTEXT: {"_legacy":true}


2024-06-11T09:37:18+00:00 NOTICE Response
code: 400
message: Bad Request
body: {"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_subcode":1798130,"is_transient":false,"error_user_title":"Impossibile creare un insieme di prodotti vuoto","error_user_msg":"Non \u00e8 consentito creare insiemi di prodotti vuoti. Aggiungi prodotti al tuo catalogo e crea un insieme contenente almeno un prodotto.","fbtrace_id":"XXXXXXXXXXXXXXXXX"}}
 CONTEXT: {"_legacy":true}

I didn't investigate deeper on what the ids specified in the 'retailer_id' fields were, but what struck me as odd was the date of the logs!
That was the date on which I created the product sets (and product synchronisation was switched off at that time). I subsequently reactivated the product synchronisation but there were no further calls to product_sets endpoint.
Thinking about the error 'Impossibile creare un insieme di prodotti vuoto', I assumed that the sets must be created when the products have already been created. So I changed the names of the Product Sets in the plugin and finally found them in the Shop Manager.

Could this be?
It would still be strange because one would have to make sure, afterwards, to update the associations to the sets when, for example, a new product is created!

I'll follow this thread and say hello in the meantime!

@rawdreeg
Copy link
Contributor

@NicolaModugno Thanks for reaching out.

So I changed the names of the Product Sets in the plugin and finally found them in the Shop Manager.

Could this be?

Yes. Meta does not allow for an empty set to be created. Unfortunately.

It would still be strange because one would have to make sure, afterwards, to update the associations to the sets when, for example, a new product is created!

The set is associated to a WooCommerce category. With this in mind, every time a new product is created and has a category linked to a set, this product will be added to an existing set. The only problem here is that at the moment of creating the set, the WooCommerce category should not be empty.

@NicolaModugno
Copy link

Hello @rawdreeg , thank you for your reply.

Just to clarify...
You say that the WooCommerce category should not be empty, but my problem was not that (the categories are in fact largely populated on WC).
My problem was that, at the time I created the Product Sets, the products had not yet been synchronised to Meta (I had just deleted the whole catalogue due to some inconsistencies - that's why the synchronisation was switched off). When the product synchronisation had already taken place, then the update of the Product Sets was correctly reflected in the Meta catalogue.

@rawdreeg
Copy link
Contributor

Just to clarify...
You say that the WooCommerce category should not be empty, but my problem was not that (the categories are in fact largely populated on WC).

Yes, you're right. I misspoke. The WooCommerce category should be populated with products already synced to Facebook. As Facebook needs to match the product in the set to existing product in the FB catalog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

4 participants