0

I have to change label from email of invoice. But I am not getting how to do it? Can you please suggest me way.

I have attach image. And mark as yellow color, which I want to change label.

enter image description here

As I research, I have find this string "{{var order.shipping_description}}" in invoice_new.html as an email template. Anyone tell me how can I change "{{var order.shipping_description}}" value in invoice_new.html. Please help me asap. Thank you

2

That information is in the field shipping_description of the order object.

$order->setData('shipping_description', 'Some description')

should do what you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.