Yoast / Yoast/duplicate-post

Deprecate support for duplicating WooCommerce orders

Open
#312 0 comments 0 reactions 0 assignees View on GitHub

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 WooCommerce is activated.
  • In Settings > Duplicate Post > Permissions > Enable for these post types, make sure Orders is ticked.
  • Go to WooCommerce > Orders and create a new order.
  • In the Orders overview, mark the tick box next to the order and open the Bulk actions.
  • You will see the Duplicate Plugin actions Clone and Rewrite & Republish, see screenshot.
  • Selecting e.g. Clone will create duplicate of the order.
order duplicate plugin
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.