It was expected to be cloned same/all of the fields, can you please dig it more so you can see what is missing? Query the the order_id and make sure the fields cloned.
Thread Starter
kmraja
(@kmraja)
Hi
Thanks for the reply.
I have the event booking website with generating tickets for the purchased person. These tickets information are not getting clone. These details were saved in wp_postmeta table in the DB. Mow, only the order details are cloning. Is it possible to clone all the these meta data?
Thanks
-
This reply was modified 3 years, 2 months ago by
kmraja.
Yes, it is possible to clone and even you can hook the function as well.
add_action('wc_os_after_order_split', 'yourfunc_after_order_split_callback', 10, 2 );
function yourfunc_order_split_callback($new_order_ids=array(), $originalorderid=0){
Thread Starter
kmraja
(@kmraja)
Thanks for the reply. Can I get the function?
Since I’m not a developer, unable to write.
Actually I usually prefer to release a new version for the plugin users convenience but whenever a developer is extremely busy so either adds a new hook or provide a way around like I did. I cannot provide a function now, sorry for that.