Skip to content

Sync products that are out of stock#2952

Closed
francorisso wants to merge 1 commit intofacebook:mainfrom
francorisso:main
Closed

Sync products that are out of stock#2952
francorisso wants to merge 1 commit intofacebook:mainfrom
francorisso:main

Conversation

@francorisso
Copy link
Copy Markdown
Contributor

Description

Currently items out of stock are not synced if the user has selected a setting in inventory to hide the products that are out of stock from the catalog. We want to synced them anyways.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

After clicking SYNC PRODUCTS in the plugin config:

Before

Screenshot 2025-03-18 at 17 29 39

After

Screenshot 2025-03-18 at 10 19 25

Test instructions

npm run test:php ran was successful

Checklist

  • I followed general Pull Request best practices. Meta employees to follow this wiki
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests and all the new and existing unit tests pass locally with my changes
  • I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

Changelog entry

sync products out of stock to meta despite visibility config

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@devbodaghe has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@francorisso merged this pull request in 2ef517a.

tzahgr pushed a commit that referenced this pull request Mar 24, 2025
Summary:
## Description

Currently items out of stock are not synced if the user has selected a setting in inventory to hide the products that are out of stock from the catalog. We want to synced them anyways.

### Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)

## Screenshots

After clicking SYNC PRODUCTS in the plugin config:

### Before

<img width="1329" alt="Screenshot 2025-03-18 at 17 29 39" src="https://github.com/user-attachments/assets/5c3c3ed4-727b-48d0-9196-4a3bb8e47c34" />

### After

<img width="1345" alt="Screenshot 2025-03-18 at 10 19 25" src="https://github.com/user-attachments/assets/919c398d-2daf-49f0-96a6-57eb2e2ba913" />

## Test instructions

npm run test:php  ran was successful

## Checklist

- [ ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

sync products out of stock to meta despite visibility config

Pull Request resolved: #2952

Reviewed By: vinkmeta

Differential Revision: D71408859

Pulled By: francorisso

fbshipit-source-id: 3de82ba398910edc7790fbceb90f75a183b7f301
@sol-loup sol-loup mentioned this pull request Mar 25, 2025
7 tasks
@tzahgr tzahgr mentioned this pull request Mar 27, 2025
SayanPandey pushed a commit to SayanPandey/facebook-for-woocommerce that referenced this pull request Apr 1, 2025
Summary:
## Description

Currently items out of stock are not synced if the user has selected a setting in inventory to hide the products that are out of stock from the catalog. We want to synced them anyways.

### Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)

## Screenshots

After clicking SYNC PRODUCTS in the plugin config:

### Before

<img width="1329" alt="Screenshot 2025-03-18 at 17 29 39" src="https://github.com/user-attachments/assets/5c3c3ed4-727b-48d0-9196-4a3bb8e47c34" />

### After

<img width="1345" alt="Screenshot 2025-03-18 at 10 19 25" src="https://github.com/user-attachments/assets/919c398d-2daf-49f0-96a6-57eb2e2ba913" />

## Test instructions

npm run test:php  ran was successful

## Checklist

- [ ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

sync products out of stock to meta despite visibility config

Pull Request resolved: facebook#2952

Reviewed By: vinkmeta

Differential Revision: D71408859

Pulled By: francorisso

fbshipit-source-id: 3de82ba398910edc7790fbceb90f75a183b7f301
mradmeta pushed a commit that referenced this pull request Apr 14, 2025
Summary:
## Description

Currently items out of stock are not synced if the user has selected a setting in inventory to hide the products that are out of stock from the catalog. We want to synced them anyways.

### Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)

## Screenshots

After clicking SYNC PRODUCTS in the plugin config:

### Before

<img width="1329" alt="Screenshot 2025-03-18 at 17 29 39" src="https://github.com/user-attachments/assets/5c3c3ed4-727b-48d0-9196-4a3bb8e47c34" />

### After

<img width="1345" alt="Screenshot 2025-03-18 at 10 19 25" src="https://github.com/user-attachments/assets/919c398d-2daf-49f0-96a6-57eb2e2ba913" />

## Test instructions

npm run test:php  ran was successful

## Checklist

- [ ] I followed general Pull Request best practices. Meta employees to follow this [wiki]([url](https://fburl.com/wiki/2cgfduwc))
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added tests and all the new and existing unit tests pass locally with my changes
- [ ] I have completed dogfooding and QA testing, or I have conducted thorough due diligence to ensure that it does not break existing functionality.

## Changelog entry

sync products out of stock to meta despite visibility config

Pull Request resolved: #2952

Reviewed By: vinkmeta

Differential Revision: D71408859

Pulled By: francorisso

fbshipit-source-id: 3de82ba398910edc7790fbceb90f75a183b7f301
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants