Saturday, September 17, 2016

Customizing SMS Message contents in WCS

In the previous blog, I have explained how to configure SMS transport in WCS. If we use the OOB message types for sending SMSs, the content of the SMS will be the default one configured in WCS.

If we need to customize the SMS contents, please follow the below steps.

1. Open the OrderNotification.properties file present under WC/properties folder.

2. Search for the text "OrderSMSHeader" in this file.




3. Modify the value assigned to this property, in the way it need to be appeared in the SMS.

The SMS content is constructed using the 3 properties defined in this file - OrderSMSHeader, OrderSMSBody, OrderReceivedSMS etc. Make changes in these properties as per your requirement. During runtime, the %1 value mentioned in this property will be replaced with the order number placed by the customer.

Make similar changes language specific OrderNotification properties file present in this location  such as OrderNotification_en_US.properties file.

No comments:

Post a Comment