Skip to main content

Payment type charge in order_admin_notification

13 years 2 months ago #120659 by tomh73
Hi,

Within the customers order creation email the payment type charge is displayed correctly, but the payment type charge is not displayed inside the order_admin_notification; how can I also display the payment type charge in the admin email?
See also the attachment of a screenshot of both emails.

best regards,Tom

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5

Please Log in or Create an account to join the conversation.

13 years 2 months ago - 13 years 2 months ago #120673 by Mohamed Thelji
Hi Tom,

I think that you'll just have to :
- Go to "HIkashop->System->Emails"
- Edit the "Order administrator notification" Email
- Add this code :
Code:
if(bccomp($data->order_payment_price,0,5)){ echo '<tr><td colspan="'.$colspan.'" style="text-align:right">'.JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$currencyHelper->format($data->order_payment_price,$data->order_currency_id).'</td></tr>'; }
After these line :
Code:
if(bccomp($data->order_shipping_price,0,5)){ echo '<tr><td colspan="'.$colspan.'" style="text-align:right">'.JText::_('HIKASHOP_SHIPPING_METHOD').' : '; if($config->get('price_with_tax')){ echo $currencyHelper->format($data->order_shipping_price,$data->order_currency_id); }else{ echo $currencyHelper->format($data->order_shipping_price-@$data->order_shipping_tax,$data->order_currency_id); } echo '</td></tr>'; }

Note that the Emails feature is only available through the business version of Hikashop.
Last edit: 13 years 2 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

Time to create page: 0.042 seconds
Powered by Kunena Forum