Skip to content

Replace woo_commerce_retailer_id with external_variant_id#2963

Closed
crisojog wants to merge 1 commit intomainfrom
Retailer_id
Closed

Replace woo_commerce_retailer_id with external_variant_id#2963
crisojog wants to merge 1 commit intomainfrom
Retailer_id

Conversation

@crisojog
Copy link
Copy Markdown

Description

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL. After Marian's comment on the previous PR we're changing to use the existing field external_variant_id

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots

N/A

Test instructions

./vendor/bin/phpunit --filter fbproductTest

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

Update woo_commerce_retailer_id to existing field external_variant_id

@facebook-github-bot
Copy link
Copy Markdown
Contributor

@crisojog 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

@crisojog merged this pull request in 7095691.

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

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL. After Marian's comment on the previous PR we're changing to use the existing field external_variant_id

### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
N/A

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [x] 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

Update woo_commerce_retailer_id to existing field external_variant_id

Pull Request resolved: #2963

Reviewed By: vinkmeta

Differential Revision: D71741355

Pulled By: crisojog

fbshipit-source-id: 00789cd414f1b9610f427b5294b5b16fcce200d1
@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

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL. After Marian's comment on the previous PR we're changing to use the existing field external_variant_id

### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
N/A

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [x] 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

Update woo_commerce_retailer_id to existing field external_variant_id

Pull Request resolved: facebook#2963

Reviewed By: vinkmeta

Differential Revision: D71741355

Pulled By: crisojog

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

This PR changes the API response to include the actual product retailer ID set in WooCommerce. This will later be used to generate the checkout URL. After Marian's comment on the previous PR we're changing to use the existing field external_variant_id

### Type of change

- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

## Screenshots
N/A

## Test instructions

./vendor/bin/phpunit --filter fbproductTest

## Checklist

- [x] 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

Update woo_commerce_retailer_id to existing field external_variant_id

Pull Request resolved: #2963

Reviewed By: vinkmeta

Differential Revision: D71741355

Pulled By: crisojog

fbshipit-source-id: 00789cd414f1b9610f427b5294b5b16fcce200d1
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