[Skip to main content](#vessel-content)

#   Order status confirmed email help

##

- **[sifur](/forum/user/29143-sifur "View sifur's Profile")**
- [![sifur's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29143-sifur "View sifur's Profile") Topic Author
- [ Offline](/forum/user/29143-sifur)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 2 months ago [\#213925](#213925) by [sifur](/forum/user/29143-sifur "View sifur's Profile")  *[Order status confirmed email help](/forum/27-checkout/879229-order-status-confirmed-email-help#213925 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi, Everything working fine except order status change email notification after payment. I edited the email template &quot;Order status notification&quot; and here details:  HTML Version  Preload version  Could you please tell me if I did anything wrong?")* was created by *[sifur](/forum/user/29143-sifur "View sifur's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hi,
Everything working fine except order status change email notification after payment.
I edited the email template "Order status notification" and here details:

HTML Version Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.5.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;div style="font-family:Arial, Helvetica,sans-serif;"&gt; &lt;p&gt; &lt;h3 style="font-size:16px;font-weight:bold;margin-bottom:0px;padding:0px;"&gt;{TXT:HI_CUSTOMER}&lt;/h3&gt; {TXT:ORDER_CHANGED} &lt;/p&gt; &lt;p style="padding:30px 5px;text-align:center;"&gt; &lt;a href="{TXT:CMO_VIEW_ORDER}" target="_blank" style="font-size:16px;color:#ffffff;background:#0AB893;padding:16px 34px; text-decoration:none; line-height:28px;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;"&gt;View Order Details&lt;/a&gt; &lt;/p&gt; &lt;p&gt;..........................................&lt;/p&gt;

Preload version Code:

&lt;?php $data-&gt;order_url = '/my-account/my-orders/order/show/cid-'.$data-&gt;order_id; ?&gt; &lt;?php /** * @package HikaShop for Joomla! * @version 2.5.0 * @author hikashop.com * @copyright (C) 2010-2015 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php $app = JFactory::getApplication(); $config = hikashop_config(); $orderClass = hikashop_get('class.order'); $imageHelper = hikashop_get('helper.image'); $productClass = hikashop_get('class.product'); $fieldsClass = hikashop_get('class.field'); if(hikashop_level(2)) { $null = null; $itemFields = $fieldsClass-&gt;getFields('frontcomp',$null,'item'); } global $Itemid; $url_itemid = ''; if(!empty($Itemid)) { $url_itemid = '&amp;Itemid=' . $Itemid; } if(isset($data-&gt;url_itemid)) { $url_itemid = (!empty($data-&gt;url_itemid) ? '&amp;Itemid=':'') . $data-&gt;url_itemid; } $order_url = $data-&gt;order_url; $mail_status = $data-&gt;mail_status; $customer = $data-&gt;customer; if(!isset($data-&gt;order)) $data-&gt;order = new stdClass(); $fs = array('order_number','order_discount_tax','order_shipping_tax','order_full_price','order_shipping_price','order_payment_price','order_discount_price','order_currency_id','order_status'); foreach($fs as $f) { if(isset($data-&gt;$f) &amp;&amp; !isset($data-&gt;order-&gt;$f)) $data-&gt;order-&gt;$f = $data-&gt;$f; } $url = $data-&gt;order-&gt;order_number; $data-&gt;order-&gt;order_url = $order_url; if(!empty($customer-&gt;user_cms_id) &amp;&amp; (int)$customer-&gt;user_cms_id != 0) { $url = '&lt;a href="'.$order_url.'"&gt;'. $url.'&lt;/a&gt;'; } $data-&gt;cart = $orderClass-&gt;loadFullOrder($data-&gt;order_id,true,false); $data-&gt;cart-&gt;coupon = new stdClass(); $price = new stdClass(); $tax = $data-&gt;cart-&gt;order_subtotal - $data-&gt;cart-&gt;order_subtotal_no_vat - $data-&gt;cart-&gt;order_discount_tax + $data-&gt;cart-&gt;order_shipping_tax; $price-&gt;price_value = $data-&gt;cart-&gt;order_full_price - $tax; $price-&gt;price_value_with_tax = $data-&gt;cart-&gt;order_full_price; $data-&gt;cart-&gt;full_total = new stdClass; $data-&gt;cart-&gt;full_total-&gt;prices = array($price); $data-&gt;cart-&gt;coupon-&gt;discount_value =&amp; $data-&gt;cart-&gt;order_discount_price; if($app-&gt;isAdmin()) { $view = 'order'; } else { $view = 'address'; } $colspan = 4; $customer_name = @$customer-&gt;name; if(empty($customer_name)) $customer_name = @$data-&gt;cart-&gt;billing_address-&gt;address_firstname.' '.@$data-&gt;cart-&gt;billing_address-&gt;address_lastname; $vars = array( 'LIVE_SITE' =&gt; HIKASHOP_LIVE, 'URL' =&gt; $order_url, 'ORDER_PRODUCT_CODE' =&gt; (bool)$config-&gt;get('show_code', false), 'order' =&gt; $data-&gt;cart, 'user' =&gt; $customer, 'billing_address' =&gt; @$data-&gt;cart-&gt;billing_address, 'shipping_address' =&gt; @$data-&gt;cart-&gt;shipping_address, ); $texts = array( 'BILLING_ADDRESS' =&gt; JText::_('HIKASHOP_BILLING_ADDRESS'), 'SHIPPING_ADDRESS' =&gt; JText::_('HIKASHOP_SHIPPING_ADDRESS'), 'SUMMARY_OF_YOUR_ORDER' =&gt; JText::_('SUMMARY_OF_YOUR_ORDER'), 'MAIL_HEADER' =&gt; JText::_('HIKASHOP_MAIL_HEADER'), 'USER_ACCOUNT' =&gt; (bool)@$customer-&gt;user_cms_id, 'PRODUCT_NAME' =&gt; JText::_('CART_PRODUCT_NAME'), 'PRODUCT_CODE' =&gt; JText::_('CART_PRODUCT_CODE'), 'PRODUCT_PRICE' =&gt; JText::_('CART_PRODUCT_UNIT_PRICE'), 'PRODUCT_QUANTITY' =&gt; JText::_('CART_PRODUCT_QUANTITY'), 'PRODUCT_TOTAL' =&gt; JText::_('HIKASHOP_TOTAL'), 'ADDITIONAL_INFORMATION' =&gt; JText::_('ADDITIONAL_INFORMATION'), 'CMO_VIEW_ORDER' =&gt; $order_url, 'ORDER_TITLE' =&gt; JText::_('YOUR_ORDER'), 'HI_CUSTOMER' =&gt; JText::sprintf('HI_CUSTOMER', $customer_name), 'ORDER_CHANGED' =&gt; JText::sprintf('ORDER_STATUS_CHANGED_TO', $url, $data-&gt;mail_status), 'ORDER_BEGIN_MESSAGE' =&gt; JText::sprintf('THANK_YOU_FOR_YOUR_ORDER_BEGIN', HIKASHOP_LIVE), 'ORDER_END_MESSAGE' =&gt; JText::sprintf('THANK_YOU_FOR_YOUR_ORDER', HIKASHOP_LIVE) . '&lt;br/&gt;' . JText::sprintf('BEST_REGARDS_CUSTOMER',$mail-&gt;from_name), ); if(!empty($data-&gt;usermsg-&gt;usermsg)){ $texts['ORDER_CHANGED'] = $data-&gt;usermsg-&gt;usermsg; } $templates = array(); $products_ids = array(); foreach($data-&gt;cart-&gt;products as $item) { $products_ids[] = $item-&gt;product_id; } $productClass-&gt;getProducts($products_ids); $cartProducts = array(); $cartFooters = array(); { $group = $config-&gt;get('group_options',0); $subtotal = 0; foreach($data-&gt;cart-&gt;products as $item) { if($group &amp;&amp; $item-&gt;order_product_option_parent_id) continue; $product = @$productClass-&gt;all_products[$item-&gt;product_id]; $cartProduct = array( 'PRODUCT_CODE' =&gt; $item-&gt;order_product_code, 'PRODUCT_QUANTITY' =&gt; $item-&gt;order_product_quantity, 'PRODUCT_IMG' =&gt; '', 'item' =&gt; $item, 'product' =&gt; $product, ); if(!empty($item-&gt;images[0]-&gt;file_path) &amp;&amp; $config-&gt;get('thumbnail', 1) != 0) { $img = $imageHelper-&gt;getThumbnail($item-&gt;images[0]-&gt;file_path, array(50, 50), array('forcesize' =&gt; true, 'scale' =&gt; 'outside')); if($img-&gt;success) { if(substr($img-&gt;url, 0, 3) == '../') $image = str_replace('../', HIKASHOP_LIVE, $img-&gt;url); else $image = substr(HIKASHOP_LIVE, 0, strpos(HIKASHOP_LIVE, '/', 9)) . $img-&gt;url; $cartProduct['PRODUCT_IMG'] = '&lt;img src="'.$image.'" alt="" style="float:left;margin-top:3px;margin-bottom:3px;margin-right:6px;"/&gt;'; } } $t = '&lt;p&gt;' . $item-&gt;order_product_name; if($group){ $display_item_price=false; foreach($data-&gt;cart-&gt;products as $j =&gt; $optionElement){ if($optionElement-&gt;order_product_option_parent_id != $item-&gt;order_product_id) continue; if($optionElement-&gt;order_product_price&gt;0){ $display_item_price = true; } } if($display_item_price){ if($config-&gt;get('price_with_tax')){ $t .= ' '.$currencyHelper-&gt;format($item-&gt;order_product_price+$item-&gt;order_product_tax,$data-&gt;cart-&gt;order_currency_id); }else{ $t .= ' '.$currencyHelper-&gt;format($item-&gt;order_product_price,$data-&gt;cart-&gt;order_currency_id); } } } $t .= '&lt;/p&gt;'; if(!empty($itemFields)){ foreach($itemFields as $field){ $namekey = $field-&gt;field_namekey; if(!isset($item-&gt;$namekey) &#124;&#124; (empty($item-&gt;$namekey) &amp;&amp; !strlen($item-&gt;$namekey))) continue; $t .= '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey,'user_email').'&lt;/p&gt;'; } } if($group){ foreach($data-&gt;cart-&gt;products as $j =&gt; $optionElement){ if($optionElement-&gt;order_product_option_parent_id != $item-&gt;order_product_id) continue; $item-&gt;order_product_price +=$optionElement-&gt;order_product_price; $item-&gt;order_product_tax +=$optionElement-&gt;order_product_tax; $item-&gt;order_product_total_price+=$optionElement-&gt;order_product_total_price; $item-&gt;order_product_total_price_no_vat+=$optionElement-&gt;order_product_total_price_no_vat; $t .= '&lt;p class="hikashop_order_option_name"&gt;' . $optionElement-&gt;order_product_name; if($optionElement-&gt;order_product_price&gt;0){ if($config-&gt;get('price_with_tax')){ $t .= ' ( + '.$currencyHelper-&gt;format($optionElement-&gt;order_product_price+$optionElement-&gt;order_product_tax,$data-&gt;cart-&gt;order_currency_id).' )'; }else{ $t .= ' ( + '.$currencyHelper-&gt;format($optionElement-&gt;order_product_price,$data-&gt;cart-&gt;order_currency_id).' )'; } } $t .= '&lt;/p&gt;'; } } $cartProduct['PRODUCT_NAME'] = $t; $t = ''; $statusDownload = explode(',',$config-&gt;get('order_status_for_download','confirmed,shipped')); if(!empty($item-&gt;files) &amp;&amp; in_array($data-&gt;order-&gt;order_status,$statusDownload)){ $t .= '&lt;p&gt;'; foreach($item-&gt;files as $file){ $fileName = empty($file-&gt;file_name) ? $file-&gt;file_path : $file-&gt;file_name; $file_pos = empty($file-&gt;file_pos) ? '' : ('&amp;file_pos=' . $file-&gt;file_pos); if(empty($customer-&gt;user_cms_id)) $file_pos .= '&amp;email=' . $customer-&gt;user_email; $oid = $data-&gt;order_id; if(!empty($data-&gt;cart-&gt;order_parent_id)) $oid = $data-&gt;cart-&gt;order_parent_id; $t .= '&lt;a href="'.hikashop_frontendLink('index.php?option=com_hikashop&amp;ctrl=order&amp;task=download&amp;file_id='.$file-&gt;file_id.'&amp;order_id='.$oid.$file_pos.$url_itemid).'"&gt;'.$fileName.'&lt;/a&gt;&lt;br/&gt;'; } $t .= '&lt;/p&gt;'; } $cartProduct['PRODUCT_DOWNLOAD'] = $t; if($config-&gt;get('price_with_tax')){ $unit_price = $currencyHelper-&gt;format($item-&gt;order_product_price+$item-&gt;order_product_tax,$data-&gt;cart-&gt;order_currency_id); $total_price = $currencyHelper-&gt;format($item-&gt;order_product_total_price,$data-&gt;cart-&gt;order_currency_id); $subtotal += $item-&gt;order_product_total_price; }else{ $unit_price = $currencyHelper-&gt;format($item-&gt;order_product_price,$data-&gt;cart-&gt;order_currency_id); $total_price = $currencyHelper-&gt;format($item-&gt;order_product_total_price_no_vat,$data-&gt;cart-&gt;order_currency_id); $subtotal += $item-&gt;order_product_total_price_no_vat; } $cartProduct['PRODUCT_PRICE'] = $unit_price; $cartProduct['PRODUCT_TOTAL'] = $total_price; $cartProducts[] = $cartProduct; } $templates['PRODUCT_LINE'] = $cartProducts; if(bccomp($data-&gt;cart-&gt;order_discount_price,0,5) &#124;&#124; bccomp($data-&gt;cart-&gt;order_shipping_price,0,5) &#124;&#124; bccomp($data-&gt;cart-&gt;order_payment_price,0,5) &#124;&#124; ($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value!=$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax) &#124;&#124; !empty($data-&gt;cart-&gt;additional)){ $cartFooters[] = array( 'NAME' =&gt; JText::_('SUBTOTAL'), 'VALUE' =&gt; $currencyHelper-&gt;format($subtotal,$data-&gt;cart-&gt;order_currency_id) ); } if(bccomp($data-&gt;cart-&gt;order_discount_price,0,5)) { if($config-&gt;get('price_with_tax')) { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_discount_price*-1,$data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format(($data-&gt;cart-&gt;order_discount_price-@$data-&gt;cart-&gt;order_discount_tax)*-1,$data-&gt;cart-&gt;order_currency_id); } $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_COUPON'), 'VALUE' =&gt; $t ); } if(bccomp($data-&gt;cart-&gt;order_shipping_price,0,5)){ if($config-&gt;get('price_with_tax')) { $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_shipping_price,$data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format($data-&gt;cart-&gt;order_shipping_price-@$data-&gt;cart-&gt;order_shipping_tax,$data-&gt;cart-&gt;order_currency_id); } $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_SHIPPING'), 'VALUE' =&gt; $t ); } if(bccomp($data-&gt;cart-&gt;order_payment_price,0,5)){ $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_PAYMENT'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;order_payment_price,$data-&gt;cart-&gt;order_currency_id) ); } if(!empty($data-&gt;cart-&gt;additional)) { $exclude_additionnal = explode(',', $config-&gt;get('order_additional_hide', '')); foreach($data-&gt;cart-&gt;additional as $additional) { if(in_array($additional-&gt;order_product_name, $exclude_additionnal)) continue; if(!empty($additional-&gt;order_product_price) &#124;&#124; empty($additional-&gt;order_product_options)) { if($config-&gt;get('price_with_tax')){ $t = $currencyHelper-&gt;format($additional-&gt;order_product_price + @$additional-&gt;order_product_tax, $data-&gt;cart-&gt;order_currency_id); }else{ $t = $currencyHelper-&gt;format($additional-&gt;order_product_price, $data-&gt;cart-&gt;order_currency_id); } } else { $t = $additional-&gt;order_product_options; } $cartFooters[] = array( 'NAME' =&gt; JText::_($additional-&gt;order_product_name), 'VALUE' =&gt; $t ); } } if($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value!=$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax) { if($config-&gt;get('detailed_tax_display') &amp;&amp; !empty($data-&gt;cart-&gt;order_tax_info)) { foreach($data-&gt;cart-&gt;order_tax_info as $tax) { $cartFooters[] = array( 'NAME' =&gt; $tax-&gt;tax_namekey, 'VALUE' =&gt; $currencyHelper-&gt;format($tax-&gt;tax_amount,$data-&gt;cart-&gt;order_currency_id) ); } } else { $cartFooters[] = array( 'NAME' =&gt; JText::_('ORDER_TOTAL_WITHOUT_VAT'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value,$data-&gt;cart-&gt;order_currency_id) ); } $cartFooters[] = array( 'NAME' =&gt; JText::_('ORDER_TOTAL_WITH_VAT'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;cart-&gt;order_currency_id) ); } else { $cartFooters[] = array( 'NAME' =&gt; JText::_('HIKASHOP_TOTAL'), 'VALUE' =&gt; $currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;cart-&gt;order_currency_id) ); } $templates['ORDER_FOOTER'] = $cartFooters; } if(!empty($data-&gt;cart-&gt;order_payment_method)) { if(!is_numeric($data-&gt;cart-&gt;order_payment_id)){ $vars['PAYMENT'] = $data-&gt;cart-&gt;order_payment_method.' '.$data-&gt;cart-&gt;order_payment_id; }else{ $paymentClass = hikashop_get('class.payment'); $payment = $paymentClass-&gt;get($data-&gt;cart-&gt;order_payment_id); $vars['PAYMENT'] = $payment-&gt;payment_name; unset($paymentClass); } } if(!empty($data-&gt;cart-&gt;order_shipping_id)) { $shippingClass = hikashop_get('class.shipping'); if(!empty($data-&gt;cart-&gt;order_shipping_method)) { if(!is_numeric($data-&gt;cart-&gt;order_shipping_id)){ $shipping_name = $shippingClass-&gt;getShippingName($data-&gt;cart-&gt;order_shipping_method, $data-&gt;cart-&gt;order_shipping_id); $vars['SHIPPING'] = $shipping_name; $vars['SHIPPING_TXT'] = $vars['SHIPPING']; }else{ $shipping = $shippingClass-&gt;get($data-&gt;cart-&gt;order_shipping_id); $vars['SHIPPING'] = $shipping-&gt;shipping_name; $vars['SHIPPING_TXT'] = $vars['SHIPPING']; } } else { $shippings_data = array(); $shipping_ids = explode(';', $data-&gt;cart-&gt;order_shipping_id); $shippingClass = hikashop_get('class.shipping'); foreach($shipping_ids as $key) { $shipping_data = ''; list($k, $w) = explode('@', $key); $shipping_id = $k; if(isset($data-&gt;cart-&gt;shippings[$shipping_id])) { $shipping = $data-&gt;cart-&gt;shippings[$shipping_id]; $shipping_data = $shipping-&gt;shipping_name; } else { foreach($data-&gt;cart-&gt;products as $order_product) { if($order_product-&gt;order_product_shipping_id == $key) { if(!is_numeric($order_product-&gt;order_product_shipping_id)){ $shipping_name = $shippingClass-&gt;getShippingName($order_product-&gt;order_product_shipping_method, $shipping_id); $shipping_data = $shipping_name; }else{ $shipping_method_data = $shippingClass-&gt;get($shipping_id); $shipping_data = $shipping_method_data-&gt;shipping_name; } break; } } if(empty($shipping_data)) $shipping_data = '[ ' . $key . ' ]'; } if(isset($data-&gt;cart-&gt;order_shipping_params-&gt;prices[$key])) { $price_params = $data-&gt;cart-&gt;order_shipping_params-&gt;prices[$key]; if($config-&gt;get('price_with_tax')){ $shipping_data .= ' (' . $currencyHelper-&gt;format($price_params-&gt;price_with_tax, $data-&gt;cart-&gt;order_currency_id) . ')'; }else{ $shipping_data .= ' (' . $currencyHelper-&gt;format($price_params-&gt;price_with_tax - @$price_params-&gt;tax, $data-&gt;cart-&gt;order_currency_id) . ')'; } } $shippings_data[] = $shipping_data; } if(!empty($shippings_data)) { $vars['SHIPPING'] = '&lt;ul&gt;&lt;li&gt;'.implode('&lt;/li&gt;&lt;li&gt;', $shippings_data).'&lt;/li&gt;&lt;/ul&gt;'; $vars['SHIPPING_TXT'] = ' - ' . implode("\r\n - ", $shippings_data); } } unset($shippingClass); } else { $vars['SHIPPING'] = ''; } ob_start(); $sep = ''; if(hikashop_level(2)) { $fields = $fieldsClass-&gt;getFields('frontcomp',$data,'order',''); foreach($fields as $fieldName =&gt; $oneExtraField) { if(isset($data-&gt;$fieldName) &amp;&amp; !isset($data-&gt;cart-&gt;$fieldName)) $data-&gt;cart-&gt;$fieldName = $data-&gt;$fieldName; if(empty($data-&gt;cart-&gt;$fieldName)) continue; echo $sep . $fieldsClass-&gt;trans($oneExtraField-&gt;field_realname).' : '.$fieldsClass-&gt;show($oneExtraField, $data-&gt;cart-&gt;$fieldName,'user_email'); $sep = '&lt;br /&gt;'; } } JPluginHelper::importPlugin('hikashop'); $dispatcher = JDispatcher::getInstance(); $dispatcher-&gt;trigger('onAfterOrderProductsListingDisplay', array(&amp;$data-&gt;cart, 'email_notification_html')); $content = ob_get_clean(); $vars['ORDER_SUMMARY'] = trim($content); $vars['BILLING_ADDRESS'] = ''; $vars['SHIPPING_ADDRESS'] = ''; $addressClass = hikashop_get('class.address'); if(!empty($data-&gt;cart-&gt;billing_address) &amp;&amp; !empty($data-&gt;cart-&gt;fields)){ $vars['BILLING_ADDRESS'] = $addressClass-&gt;displayAddress($data-&gt;cart-&gt;fields,$data-&gt;cart-&gt;billing_address,$view); } if(!empty($data-&gt;cart-&gt;override_shipping_address)) { $vars['SHIPPING_ADDRESS'] = $data-&gt;cart-&gt;override_shipping_address; } elseif(!empty($data-&gt;order_shipping_id) &amp;&amp; !empty($data-&gt;cart-&gt;shipping_address) &amp;&amp; !empty($data-&gt;cart-&gt;fields)) { $vars['SHIPPING_ADDRESS'] = $addressClass-&gt;displayAddress($data-&gt;cart-&gt;fields,$data-&gt;cart-&gt;shipping_address,$view); } else { $vars['SHIPPING_ADDRESS'] = $vars['BILLING_ADDRESS']; }

Could you please tell me if I did anything wrong?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTIyOS1vcmRlci1zdGF0dXMtY29uZmlybWVkLWVtYWlsLWhlbHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

11 years 2 months ago [\#213934](#213934) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order status confirmed email help](/forum/27-checkout/879229-order-status-confirmed-email-help#213934 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi, Everything working fine except order status change email notification after payment. I edited the email template &quot;Order status notification&quot; and here details:  HTML Version  Preload version  Could you please tell me if I did anything wrong?")*

Hi,

The order status notification (which is sent to the customer after the payment notification) doesn't have such code.
So I'm not sure what you're doing, or what you're trying to change, nor why.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTIyOS1vcmRlci1zdGF0dXMtY29uZmlybWVkLWVtYWlsLWhlbHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[sifur](/forum/user/29143-sifur "View sifur's Profile")**
- [![sifur's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/29143-sifur "View sifur's Profile") Topic Author
- [ Offline](/forum/user/29143-sifur)

Less More

- Posts: 34
- Thank you received: 1
-
-

11 years 2 months ago [\#213974](#213974) by [sifur](/forum/user/29143-sifur "View sifur's Profile")  Replied by *[sifur](/forum/user/29143-sifur "View sifur's Profile")* on topic *[Order status confirmed email help](/forum/27-checkout/879229-order-status-confirmed-email-help#213974 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi, Everything working fine except order status change email notification after payment. I edited the email template &quot;Order status notification&quot; and here details:  HTML Version  Preload version  Could you please tell me if I did anything wrong?")*

Thanks for your reply.
Yes, I know. As a request I don't need default HTML table codes and other information to send. I just need to send above simple information.

So, is there any other codes I have missed/deleted in the template which required for sending the email?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTIyOS1vcmRlci1zdGF0dXMtY29uZmlybWVkLWVtYWlsLWhlbHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

11 years 2 months ago [\#213980](#213980) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Order status confirmed email help](/forum/27-checkout/879229-order-status-confirmed-email-help#213980 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hi, Everything working fine except order status change email notification after payment. I edited the email template &quot;Order status notification&quot; and here details:  HTML Version  Preload version  Could you please tell me if I did anything wrong?")*

Hi,

I suppose it is ok like that (from looking at the code). But without testing it, I can't guarantee it. You can easily test it yourself. Just change the order status from the orders listing in the backend and see if the generated email is correct or not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3OTIyOS1vcmRlci1zdGF0dXMtY29uZmlybWVkLWVtYWlsLWhlbHA/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
