woocommerce / woocommerce/wc-api-python
images after delete products
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 216
- Forks
- 108
- Avg merge
- 6h 34m
- Merged PRs (30d)
- 1
Description
Hi.
I didn't know about this library and wrote my own request handler for WooCommerce. And in the process of work I encountered this problem. If you create a product with a gallery of images, and then delete it - the images remain in the library and on the server. And when you delete a product, do you delete the images that are attached to it?
my code there https://github.com/k2name/parser_tools.by/blob/main/src/woocommerce.py
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report links src/woocommerce.py in parser_tools.by, but does not identify a file or test in wc-api-python. First determine how product deletion and product-image handling are represented by the WooCommerce API, then locate the corresponding wrapper entry point. Done should mean that the expected behavior for attached gallery images after product deletion is documented or reproducibly addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100