Auto sync WooCommerce product categories to Meta as catalog Product Sets#3168
Closed
mshymon wants to merge 12 commits intofacebook:mainfrom
Closed
Auto sync WooCommerce product categories to Meta as catalog Product Sets#3168mshymon wants to merge 12 commits intofacebook:mainfrom
mshymon wants to merge 12 commits intofacebook:mainfrom
Conversation
Updated PLUGIN_VERSION (needed for tetsing plugin upgrade logic). Reverted chnages to Handler.php to avoid dependece on SAOff specific code.
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
2 similar comments
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
|
@mshymon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Contributor
vinkmeta
pushed a commit
that referenced
this pull request
May 18, 2025
…ets (#3168) Summary: At the moment "Facebook for WooCommerce" plugin allows sellers to manually create fb product sets based on WooComerce categories. In this PR, we are adding automatic sync of WooCommerce product categories to Meta as catalog dynamic (filter) Product Sets with all the metadata associated (URL, image, description, retailer ID). We are planning to have a follow up release to remove the current product set UI, as not needed due to automatic sync capability added here. - New feature (non-breaking change which adds functionality) - [X] I have commented my code, particularly in hard-to-understand areas. - [X] I have confirmed that my changes do not introduce any new PHPCS warnings or errors. - [X] I have checked plugin debug logs that my changes do not introduce any new PHP warnings or FATAL errors. - [X] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc)). - [X] I have added tests (if necessary) and all the new and existing unit tests pass locally with my changes. - [X] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality. - [] I have updated or requested update to plugin documentations (if necessary). Meta employees to follow this [wiki]([url](https://fburl.com/wiki/nhx73tgs)). - This change introduces an automated process that synchronizes all WooCommerce product categories with Meta, creating catalog product sets for each category. The synchronization process ensures that any changes made to the WooCommerce product categories are reflected in the corresponding Meta catalog product sets. Pull Request resolved: #3168 Test Plan: - `npm run test:php` - Conducted dogfooding session in the team Reviewed By: vinkmeta, nrostrow-meta Differential Revision: D74482569 Pulled By: mshymon fbshipit-source-id: b920c72824cd75ad1b386038befab1c71f2aa966
facebook-github-bot
pushed a commit
that referenced
this pull request
May 19, 2025
Summary: ## Description In PR #3168 we merged new changes to the product sets sync: automatic sync of all WooCommerce product categories to Meta as catalog dynamic (filter) Product Sets with all the metadata associated (URL, image, description, retailer ID). This PR is a follow up to add a banner in the UI of the product sets tab to explain recent changes to users. ### Type of change - New feature (non-breaking change which adds functionality) ## Changelog entry - Add a banner in product sets tab to explain recent changes to product sets sync. Pull Request resolved: #3207 Test Plan: - `npm run test:php` - Dogfood doc in internal to Meta ## Screenshots After  Reviewed By: gurtejrehal, raymon1 Differential Revision: D74985199 Pulled By: mshymon fbshipit-source-id: 1cb48ca1f6665e457a5b7907577864513116f62d
vinkmeta
pushed a commit
that referenced
this pull request
May 19, 2025
Summary: ## Description In PR #3168 we merged new changes to the product sets sync: automatic sync of all WooCommerce product categories to Meta as catalog dynamic (filter) Product Sets with all the metadata associated (URL, image, description, retailer ID). This PR is a follow up to add a banner in the UI of the product sets tab to explain recent changes to users. ### Type of change - New feature (non-breaking change which adds functionality) ## Changelog entry - Add a banner in product sets tab to explain recent changes to product sets sync. Pull Request resolved: #3207 Test Plan: - `npm run test:php` - Dogfood doc in internal to Meta ## Screenshots After  Reviewed By: gurtejrehal, raymon1 Differential Revision: D74985199 Pulled By: mshymon fbshipit-source-id: 1cb48ca1f6665e457a5b7907577864513116f62d
Merged
This was referenced May 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
At the moment "Facebook for WooCommerce" plugin allows sellers to manually create fb product sets based on WooComerce categories.
In this PR, we are adding automatic sync of WooCommerce product categories to Meta as catalog dynamic (filter) Product Sets with all the metadata associated (URL, image, description, retailer ID).
We are planning to have a follow up release to remove the current product set UI, as not needed due to automatic sync capability added here.
Type of change
Checklist
Changelog entry
Test Plan
npm run test:php