Title: WC Duplicate Order
Author: Jamie Gill
Published: <strong>12. september, 2016</strong>
Last modified: 8. september, 2019

---

Søk i utvidelser

![](https://ps.w.org/wc-duplicate-order/assets/banner-772x250.png?rev=1494762)

Denne utvidelsen **har ikke blitt testet mot noen av de siste 3 hovedutgivelsene
av WordPress**. Den er kanskje ikke lenger holdt vedlike eller støttet, og den kan
ha kompatibilitetsproblemer med nyeste versjoner av WordPress.

![](https://ps.w.org/wc-duplicate-order/assets/icon-128x128.png?rev=1494762)

# WC Duplicate Order

 Av [Jamie Gill](https://profiles.wordpress.org/patchgill/)

[Last ned](https://downloads.wordpress.org/plugin/wc-duplicate-order.zip)

 * [Detaljer](https://nb.wordpress.org/plugins/wc-duplicate-order/#description)
 * [Omtaler](https://nb.wordpress.org/plugins/wc-duplicate-order/#reviews)
 *  [Installering](https://nb.wordpress.org/plugins/wc-duplicate-order/#installation)
 * [Utvikling](https://nb.wordpress.org/plugins/wc-duplicate-order/#developers)

 [Brukerstøtte](https://wordpress.org/support/plugin/wc-duplicate-order/)

## Beskrivelse

After activation there will be a Duplicate link in the order overview page within
the order actions on hover.

Duplicates all order Meta data and product data across into the new order ID.

Order is created and a note is left in the new order of the older order ID for future
reference. Order status is then set on hold awaiting admin to confirm payment.

Supports Bulk order duplication.

Includes custom order field hook

Feature requests welcome for future development.

## Skjermbilder

[⌊Order duplicate button displays on hover⌉⌊Order duplicate button displays on hover⌉[

Order duplicate button displays on hover

[⌊After clicking the button order is duplicated and note is made on order with referance
of duplicated order⌉⌊After clicking the button order is duplicated and note is made
on order with referance of duplicated order⌉[

After clicking the button order is duplicated and note is made on order with referance
of duplicated order

[⌊Bulk Duplication⌉⌊Bulk Duplication⌉[

Bulk Duplication

## Installasjon

 1. Upload the plugin files to the `/wp-content/plugins/` directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. There will now be a Duplicate link in the to Woocommerce order overview page within
    the order actions on hover. Alternatively there is a bulk option to duplicate multiple
    orders.

## Vurderinger

![](https://secure.gravatar.com/avatar/56232728a87573af0a88988773c675769c82d88d5f0a057518574bf2bfcefe06?
s=60&d=retro&r=g)

### 󠀁[Excelent plugin](https://wordpress.org/support/topic/excelent-plugin-393/)󠁿

 [hlondono](https://profiles.wordpress.org/hlondono/) 29. november, 2020

This is a perfect solution to duplicate orders. Will be good if you can duplicate
orders and update prices of product that was modified.

![](https://secure.gravatar.com/avatar/d055bcb7961a697655c1c3cab40ad6ac68e2092e1c27f7a95e9dccfcd2dd56be?
s=60&d=retro&r=g)

### 󠀁[Good but no custom checkout field support](https://wordpress.org/support/topic/good-but-no-custom-checkout-field-support/)󠁿

 [santhisaleem](https://profiles.wordpress.org/santhisaleem/) 20. november, 2020

So far so good. It would be great if you can copy the custom checkout form data 
as well.

![](https://secure.gravatar.com/avatar/d9d73b8fa38254ad5a338d2c208a21023671603fab66eb7b9f1d4da02c6f82cc?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-7140/)󠁿

 [noalert](https://profiles.wordpress.org/noalert/) 2. oktober, 2020

Even though the plugin hasn't been updated for a while, it still works great on 
the newest Woocommerce version (tested in 4.5.2). A small hack. I prefer to set 
the default order status for duplicated orders to 'pending'. That's easy to achieve
by changing 1 line of code in class-clone-order.php $order->update_status('on-hold');
to $order->update_status('pending');

![](https://secure.gravatar.com/avatar/28f279d80a143e94be00e8420d6207ca58ca7087e6a295c3602509b41bd04315?
s=60&d=retro&r=g)

### 󠀁[Just perfect](https://wordpress.org/support/topic/just-perfect-434/)󠁿

 [adminanatole](https://profiles.wordpress.org/adminanatole/) 25. april, 2020

Beautiful job, the plugin works perfectly and the support is really quick and helpful(
helped me with a little bit of code to duplicate the custom fields of my orders).
Thanks!

![](https://secure.gravatar.com/avatar/80183de6a10f854b0e16e9746b4997ec3ce81f1bd43a7ad3e9f0a27cc966c4af?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3110/)󠁿

 [inzerat](https://profiles.wordpress.org/inzerat/) 9. desember, 2019 1 svar

– the customer does not receive an email – The administrator's email will not receive
a completed billing address tested for woocommerce 3.8.1

![](https://secure.gravatar.com/avatar/67859b9a781e6f483dfe5cca42263e5304f862ac9798b57cbe3b27ec5defc235?
s=60&d=retro&r=g)

### 󠀁[Good and simple](https://wordpress.org/support/topic/good-and-simple-50/)󠁿

 [webhk](https://profiles.wordpress.org/webhk/) 20. november, 2019

Good and simple plgin. Better to not make it complicated but if i can add something:
+ will be great if it will have option for dupplicate order directly in order details
as well + will be perfect if we have option for choose the status for dupplicate.
In my case is better to choose "waiting for payment" becasue at this status customers
do not get notifications.

 [ Les alle 18 vurderinger ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/)

## Bidragsytere og utviklere

«WC Duplicate Order» er programvare med åpen kildekode. Følgende personer har bidratt
til denne utvidelsen:

Bidragsytere

 *   [ Jamie Gill ](https://profiles.wordpress.org/patchgill/)

[Oversett «WC Duplicate Order» til ditt språk.](https://translate.wordpress.org/projects/wp-plugins/wc-duplicate-order)

### Interessert i utvikling?

[Bla gjennom koden](https://plugins.trac.wordpress.org/browser/wc-duplicate-order/),
sjekk ut [SVN-repositoriet](https://plugins.svn.wordpress.org/wc-duplicate-order/),
eller abonner på [utviklingsloggen](https://plugins.trac.wordpress.org/log/wc-duplicate-order/)
med [RSS](https://plugins.trac.wordpress.org/log/wc-duplicate-order/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.0

 * stable release
 * Tested Woocommerce 2.6.4+

#### 1.0.1

 * Stock Reduction added

#### 1.1

 * Bulk Duplication added
 * Bug fixes thanks to Shaun @ Rubious

#### 1.2

 * Bug fix to keep order item meta in correct format contributed by @Kevin
 * 2 New hooks for extra fields for other developers ‘clone_extra_billing_fields_hook’&‘
   clone_extra_shipping_fields_hook’. Passes through orders IDs so you can pass 
   in custom fields, just simply chacge the meta key to your new fields name see
   below (meta key been ‘_billing_mobile_phone’ in this case)

add_action(‘clone_extra_billing_fields_hook’, ‘clone_extra_billing_fields’, 10, 
2);

function clone_extra_billing_fields($order_id, $original_order_id)
 { update_post_meta(
$order_id, ‘_billing_mobile_phone’, get_post_meta($original_order_id, ‘_billing_mobile_phone’,
true)); }

#### 1.3

 * Update of clone items using CRUD methods due to incompatability

#### 1.4

 * Update of clone fees and coupons using CRUD methods due to incompatability
 * Security patch thanks to @dungengronovius report

#### 1.4.1

 * Introduce Nonce verification as an initial check before proceeding

#### 1.4.2

 * Added in version check to make sure compatible, if false deactivate and display
   friendly error message
 * Duplicate other product meta data (attribute / variation data)

#### 1.5

 * Modifications to work with 3.3.1 and onwards

#### 1.7

 * Stock reduction fix
 * Fees name and other minor fixes
 * Duplicate button on quick view

## Meta

 *  Versjon **1.7**
 *  Sist oppdatert **7 år siden**
 *  Aktive installasjoner **400+**
 *  WordPress-versjon ** 4.4 eller nyere **
 *  Testet opp til **4.9.34**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/wc-duplicate-order/)
 *  [Avansert visning](https://nb.wordpress.org/plugins/wc-duplicate-order/advanced/)

## Vurderinger

 4.6 av 5 stjerner.

 *  [  14 5-stjerne-vurderinger     ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/?filter=5)
 *  [  2 4-stjerne-vurderinger     ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/?filter=4)
 *  [  1 3-stjerne-vurdering     ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/?filter=3)
 *  [  0 2-stjerne-vurderinger     ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/?filter=2)
 *  [  1 1-stjerne-vurdering     ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/?filter=1)

[Din omtale](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/#new-post)

[Se alle omtalene](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/)

## Bidragsytere

 *   [ Jamie Gill ](https://profiles.wordpress.org/patchgill/)

## Brukerstøtte

Har du noe å si? Trenger du hjelp?

 [Vis brukerstøtteforumet](https://wordpress.org/support/plugin/wc-duplicate-order/)

## Donér

Vil du støtte videreutviklingen av denne utvidelsen?

 [ Doner til denne utvidelsen ](http://jamiegill.com/plugin-development/)