Title: Moving conversation box.
Last modified: February 23, 2019

---

# Moving conversation box.

 *  Resolved [immas](https://wordpress.org/support/users/immas/)
 * (@immas)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/)
 * Hi,
 * Vendors/Customers on my site don’t have an orders page, they have a bookings 
   page (Woocommerce bookings).
 * How can I edit the code to place the contact box in the bookings area instead
   of the orders?
 * Thanks in advance.

Viewing 15 replies - 1 through 15 (of 15 total)

 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11243528)
 * Hi,
 * well we need to see what hooks (actions) are available inside your booking plugin
   and then call our render function there. We are using following action for orders:
 * `add_action("woocommerce_order_details_after_order_table", array($this , 'render_wooconvo_myaccount'));`
 *  [dgenc](https://wordpress.org/support/users/dgenc/)
 * (@dgenc)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11245153)
 * hello where are you writing this code? I want to get the message box under the
   order details
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11246341)
 * this code is under classes/plugin.class.php file.
 *  [dgenc](https://wordpress.org/support/users/dgenc/)
 * (@dgenc)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11246453)
 * How disabled my orders page VIEW AND MESSAGE text
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11255708)
 * You can use this filter:
 * `add_filter('wooconvo_view_order_text', function($message) { return 'Your Message';},
   99);`
 *  [Wayne](https://wordpress.org/support/users/waynep16/)
 * (@waynep16)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11400383)
 * I have similar issue, I want to remove the conversation box from _after_order_table
   and move it after order notes section.
 * I tried this but it didnt work:
 *     ```
       remove_action("render_wooconvo_myaccount");
       add_action("woocommerce_after_order_notes", array($this , 'render_wooconvo_myaccount'));
       ```
   
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11402230)
 * Hi,
 * try this:
 * `remove_action("woocommerce_order_details_after_order_table", array('NM_PLUGIN_WooConvo','
   render_wooconvo_myaccount'));`
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11402231)
 * or this:
 * remove_action(“woocommerce_order_details_before_order_table”, array(‘NM_PLUGIN_WooConvo’,‘
   render_wooconvo_myaccount’));
 *  [Wayne](https://wordpress.org/support/users/waynep16/)
 * (@waynep16)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11402623)
 * afraid no – these didn’t work – the chat is still showing in same place. I need
   it to be above the order notes section woocommerce_after_order_notes
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11404293)
 * Well, then you should remove this from plugin file: classes/plugin.class.php
 *  [Wayne](https://wordpress.org/support/users/waynep16/)
 * (@waynep16)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11405304)
 * Remove what??
 * And I can’t see from your code where it says it will hook the chat box to the
   correct place.
    Please update and advise (ps we are pro paying customer)
 *  [Wayne](https://wordpress.org/support/users/waynep16/)
 * (@waynep16)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11409071)
 * Please let me know
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11410928)
 * Hi,
 * please use this:
 *     ```
       add_action('init', 'wooconvo_hoo_me');
       function wooconvo_hoo_me() {
           $wooconvo = new NM_PLUGIN_WooConvo();
           add_action("woocommerce_after_order_notes", array($wooconvo , 'render_wooconvo_myaccount'));
        }
       ```
   
 * NOTE: The hooks you are using must pass $order param to callback function.
 *  [Wayne](https://wordpress.org/support/users/waynep16/)
 * (@waynep16)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11411999)
 * Still no, the box is still in the same place and not moved. I am using the PRO
   version of your plug in.
 *  Plugin Author [N-Media](https://wordpress.org/support/users/nmedia/)
 * (@nmedia)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11413339)
 * as I remember, woocommerce_after_order_notes hook is called on checkout page,
   not after order. So how it could be possible to render before checkout?

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Moving conversation box.’ is closed to new replies.

 * ![](https://ps.w.org/admin-and-client-message-after-order-for-woocommerce/assets/
   icon-256x256.png?rev=2838295)
 * [Admin and Customer Messages After Order for WooCommerce: OrderConvo](https://wordpress.org/plugins/admin-and-client-message-after-order-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-and-client-message-after-order-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-and-client-message-after-order-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-and-client-message-after-order-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-and-client-message-after-order-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-and-client-message-after-order-for-woocommerce/reviews/)

 * 15 replies
 * 4 participants
 * Last reply from: [N-Media](https://wordpress.org/support/users/nmedia/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/moving-conversation-box/#post-11413339)
 * Status: resolved