• Good afternoon, I use a plugin (WooCommerce Delivery Slots by Iconic) that adds functionality for choosing a delivery slot (date and time), can I somehow display this data when sending notifications in telegram

Viewing 1 replies (of 1 total)
  • Plugin Author rainafarai

    (@rainafarai)

    You can use this example to understand how put your new contents in the tg message.You can return what you want about the order
    you can do yourself .. if you need custom modification contact in privat

    This example add info after product list in TG message you have to put in function.php in current active theme

    <?php function nftb_order_after_items($order_id){
        $order = wc_get_order( $order_id );
            $data = $order->get_data(); // order data
            return "Currency: ".$data['currency']; 
        } ?php>
Viewing 1 replies (of 1 total)
  • The topic ‘Adding new Shortcodes’ is closed to new replies.