diff --git a/InventoryInStorePickupSales/Model/Order/Email/ReadyForPickupSender.php b/InventoryInStorePickupSales/Model/Order/Email/ReadyForPickupSender.php index 36c1fe980c6d..9ecb50e4393f 100644 --- a/InventoryInStorePickupSales/Model/Order/Email/ReadyForPickupSender.php +++ b/InventoryInStorePickupSales/Model/Order/Email/ReadyForPickupSender.php @@ -111,6 +111,9 @@ protected function prepareTemplate(Order $order) 'order' => $order, 'store' => $order->getStore(), 'formattedShippingAddress' => $this->getFormattedShippingAddress($order), + 'order_data' => [ + 'customer_name' => $order->getCustomerName() + ] ]; $transportObject = new DataObject($transport); diff --git a/InventoryInStorePickupSales/view/frontend/email/order_ready_for_pickup.html b/InventoryInStorePickupSales/view/frontend/email/order_ready_for_pickup.html index 1298a04bf43c..19abaecf03f5 100644 --- a/InventoryInStorePickupSales/view/frontend/email/order_ready_for_pickup.html +++ b/InventoryInStorePickupSales/view/frontend/email/order_ready_for_pickup.html @@ -4,16 +4,13 @@ * See COPYING.txt for license details. */ --> - + {{template config_path="design/email/header_template"}} @@ -21,9 +18,9 @@ @@ -46,7 +43,7 @@

{{trans "Shipping Info"}}

{{trans "Shipping Method"}}

-

{{var order.getShippingDescription()}}

+

{{var order.shipping_description}}