Woo Order Page Contact Button


Home Forums Front End PM PRO Woo Order Page Contact Button

This topic is: Not Resolved
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44325
    abu.naser
    Participant

    Hello Dear, I would like to add a message button on the order details page of Dokan. I need either under general info or address info section. Screenshot attached. How can I achieve that?

    Attachments:
    You must be logged in to view attached files.
    #44329
    abu.naser
    Participant

    We can also ad under action tab too

    Attachments:
    You must be logged in to view attached files.
    #44335
    Shamim Hasan
    Keymaster
    #44342
    abu.naser
    Participant

    Thanks for the reply. Will shortcode work on PHP? I think we have to edit PHP file to put the button on order details page. Did you see the screenshots above?

    #44348
    Shamim Hasan
    Keymaster

    Yes, shortcode works in PHP as well. In that case use like echo do_shortcode( '[fep_shortcode_message_to]' );

    #44372
    abu.naser
    Participant

    We used this code or child theme to add a button on the order details page. The button looks OK but the button link is not working. It’s sending a message to the admin instead of the woo dokan buyer. Please suggest.

    /* add shortcode on vendor order list action column */
    function hifjul_shortcode_vendor_order_list_action_column() {
    echo do_shortcode( ‘[fep_shortcode_message_to]’ );
    }
    add_action( ‘woocommerce_admin_order_actions_end’, ‘hifjul_shortcode_vendor_order_list_action_column’ );

    Attachments:
    You must be logged in to view attached files.
    #44381
    Shamim Hasan
    Keymaster

    You need to pass to with that shortcode. Contact that plugin author how can we get dokan buyer user id inside that hook. You can pass that with this shortcode.

Viewing 7 posts - 1 through 7 (of 7 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.