This change suggests to sync to Meta a product GTIN when it is available.
Screenshots:
N/A (no changes to UI/UX)
Detailed test instructions:
Run new tests
./vendor/bin/phpunit --filter test_gtin_for_simple_product_set
./vendor/bin/phpunit --filter test_gtin_for_simple_product_unset
./vendor/bin/phpunit --filter test_gtin_for_variable_product_set
./vendor/bin/phpunit --filter test_gtin_for_variable_product_unset
Run all tests
npm run test:php
Manual testing. I tested this in the locally hosted WP WooCommerce website and checked logs on Meta side to verify the request is being sent with the "gtin" populated correctly. Tested on both simple and variable product.
Changes proposed in this Pull Request:
This change suggests to sync to Meta a product GTIN when it is available.
Screenshots:
N/A (no changes to UI/UX)
Detailed test instructions:
Run new tests ./vendor/bin/phpunit --filter test_gtin_for_simple_product_set ./vendor/bin/phpunit --filter test_gtin_for_simple_product_unset ./vendor/bin/phpunit --filter test_gtin_for_variable_product_set ./vendor/bin/phpunit --filter test_gtin_for_variable_product_unset
Run all tests npm run test:php
Manual testing. I tested this in the locally hosted WP WooCommerce website and checked logs on Meta side to verify the request is being sent with the "gtin" populated correctly. Tested on both simple and variable product.
Changelog entry