Deprecate support for duplicating WooCommerce orders
Open
Nobody has claimed this yet.
IM
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
What is the goal of this issue?
Current behavior:
- Make sure
WooCommerceis activated. - In
Settings > Duplicate Post > Permissions > Enable for these post types, make sureOrdersis ticked. - Go to
WooCommerce > Ordersand create a new order. - In the
Ordersoverview, mark the tick box next to the order and open theBulk actions. - You will see the Duplicate Plugin actions
CloneandRewrite & Republish, see screenshot. - Selecting e.g.
Clonewill create duplicate of the order.
Upcoming changes in WooCommerce
- When WooCommerce introduces HPOS as a default (it's currently an opt-in feature), copying orders won't function anymore.
What needs to be done to achieve the goal?
Does the issue still need UX or research?
If available: what are the tips for fixing the problem or possible solutions?
What is the expected result/behavior?
- We should remove any Duplicate Plugin functionality for the WooCommerce orders type.
Should documentation be added or updated for this change? and if so, where?
- Relevant documentation on yoast.com should be changed.
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 tracing how the plugin exposes Clone and Rewrite & Republish for the WooCommerce Orders post type, including the Permissions setting and Orders bulk actions. Check the WooCommerce HPOS compatibility context, then verify that order duplication actions are no longer available and that the relevant yoast.com documentation is updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, documentation
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100