How to send woocommerce order id as a hyperlink through sms using php

Viewed 24

I need send woocommerce Order_id as a hyperlink through sms, that is if Order ID is #18, when a customer receives sms, the order id should be a link which takes customer to the order details page[http://example.com/my-account/view-order/18/].

Example SMS Hello ABC, thank you for placing your order #18 with example.com.

where #18 should be the hyperlink to that particular order.

I am writing a custom code to achieve this requirement, i am able to gather all the details link order_url, order_id etc. I need a help in sending the order id as hyperlink through SMS.

Any Help is Appreciated.

0 Answers
Related