Taxonomies aren't copied on a Woocommerce product
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
I have several taxonomies registered on my site (registered on the 'init' action). I can see them in the Duplicate post settings under the 'What To Copy' tab. None of them are checked so they should all be copied. However, when I copy a Woo commerce product, none of the taxonomies are copied over with it. All other meta for the product is copied correctly. Curiously, 'Product' is not a post type that can be seen / disabled in the 'Permissions' tab. Unsure if that has anything to do with it or not.
Contributor guide
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
Start by reproducing the report with a WooCommerce product and custom taxonomies registered on the init action, then trace the product duplication path and taxonomy-copy handling. Verify whether the product post type is excluded from permissions or taxonomy processing. Done means registered taxonomies are copied to the duplicated product while existing metadata continues to copy correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100