• Resolved dansheva

    (@dansheva)


    Hello,

    I use plugin with delivery time-slots and I want to add to my email template information for customer about delivery time…

    Can I add a custom short-code?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mivtt

    (@mivtt)

    Hi,

    You can use the WC Hook element to show delivery time of 3rd plugin. You can see this video guide: https://youtu.be/XDRhSJzFFbM

    Best regards.

    Thread Starter dansheva

    (@dansheva)

    Hello

    Thank you, I used this simple code to add delivery date info into email.

    <?php
    
    add_action ('woocommerce_email_after_order_table', 'delivery_date_for_email');
    function delivery_date_for_email ($order) {
        $delivery_date = get_post_meta($order->id,"delivery_date",true);
        echo $delivery_date;

    How can I customise a text result with CSS?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I add a custom short-code?’ is closed to new replies.