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

---

Pretražite dodatke

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

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# WC Duplicate Order

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

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

 * [Detalji](https://bs.wordpress.org/plugins/wc-duplicate-order/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/wc-duplicate-order/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/wc-duplicate-order/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/wc-duplicate-order/#developers)

 [Podrška](https://wordpress.org/support/plugin/wc-duplicate-order/)

## Opis

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.

## Slike ekrana

[⌊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

## Instalacija

 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.

## Recenzije

![](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. Novembra 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. Novembra 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. Oktobra 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. Aprila 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. Decembra 2019. 1 reply

– 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. Novembra 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.

 [ Read all 18 reviews ](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/)

## Saradnici i programeri

“WC Duplicate Order” is open source software. The following people have contributed
to this plugin.

Doprinositelji

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

[Prevedi “WC Duplicate Order” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/wc-duplicate-order)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/wc-duplicate-order/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/wc-duplicate-order/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/wc-duplicate-order/)
od [RSS](https://plugins.trac.wordpress.org/log/wc-duplicate-order/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 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

 *  Version **1.7**
 *  Last updated **prije 7 godina**
 *  Active installations **400+**
 *  WordPress version ** 4.4 ili viša **
 *  Tested up to **4.9.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wc-duplicate-order/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/wc-duplicate-order/advanced/)

## Ocjene

 4.6 out of 5 stars.

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

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

[See all reviews](https://wordpress.org/support/plugin/wc-duplicate-order/reviews/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/wc-duplicate-order/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://jamiegill.com/plugin-development/)