Skip to content

Conversation

@chihsuan
Copy link
Member

@chihsuan chihsuan commented May 18, 2023

Submission Review Guidelines:

Changes proposed in this Pull Request:

Closes #38136.

How to test the changes in this Pull Request:

Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:

  1. Go to WooCommerce > Home and click on Add products task from Task list
  2. Creating physical products
  3. Should be redirected to the product editing page
  4. Should create a blank product with only the "Product Type" selected. (no product title or images)
  5. Repeat steps 2-4 with product types: variable/grouped/digital/external

@github-actions github-actions bot added focus: react admin [team:Ghidorah] plugin: woocommerce Issues related to the WooCommerce Core plugin. labels May 18, 2023
@chihsuan chihsuan marked this pull request as ready for review May 18, 2023 04:44
@chihsuan chihsuan self-assigned this May 18, 2023
@chihsuan chihsuan requested review from a team, moon0326 and rjchow May 18, 2023 04:48
@github-actions
Copy link
Contributor

github-actions bot commented May 18, 2023

Hi @ilyasfoo, @rjchow,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@github-actions
Copy link
Contributor

github-actions bot commented May 18, 2023

Test Results Summary

Commit SHA: c4a46cc

Test 🧪Passed ✅Failed 🚨Broken 🚧Skipped ⏭️Unknown ❔Total 📊Duration ⏱️
API Tests26700202690m 53s
E2E Tests1890010019921m 18s

To view the full API test report, click here.
To view the full E2E test report, click here.
To view all test reports, visit the WooCommerce Test Reports Dashboard.

moon0326
moon0326 previously approved these changes May 18, 2023
Copy link
Contributor

@moon0326 moon0326 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and tested well 👍

Copy link
Contributor

@ilyasfoo ilyasfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, @chihsuan!

However, with my testing the product slug created does not follow the product name given:

image

I'm not sure how to properly do it, but perhaps we can try removing unused columns in the CSVs?

@chihsuan
Copy link
Member Author

Thanks for the fix, @chihsuan!

However, with my testing the product slug created does not follow the product name given:

image I'm not sure how to properly do it, but perhaps we can try removing unused columns in the CSVs?

Thanks for testing! @ilyasfoo

It turns out we need to set "Published" field to -1 (draft). I've fixed it in c4a46cc (Also removed unused columns! 🙌 )

@chihsuan chihsuan requested a review from ilyasfoo May 19, 2023 07:56
Copy link
Contributor

@ilyasfoo ilyasfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, nice work @chihsuan! Tested well, LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin: woocommerce Issues related to the WooCommerce Core plugin.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove product sample data from product task

4 participants