missing a line in ordercomfirmation

  • Posts: 252
  • Thank you received: 3
12 years 4 months ago #57636

Hello,
For customers who pay in advance we calculate extra cost.
This calculated as a result. But I don't see the line on the order confimation
Should this be manualy added?

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

  • Posts: 13201
  • Thank you received: 2322
12 years 4 months ago #57667

Hi Boudewijn,

How do you add this extra cost ?

I think you can add it manually by editing order confirmation. It should be in the $item object.

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

  • Posts: 252
  • Thank you received: 3
12 years 4 months ago #57678

Hello Xavier,
I created this in paymement methods
and then: HikaShop bank transfer payment plugin
Then i have put in the price there.

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

  • Posts: 13201
  • Thank you received: 2322
12 years 4 months ago #57764

Hi Boudewijn,

You can add these lines:

if(bccomp($data->order_payment_price,0,5)){
	echo '<tr><td colspan="4" style="text-align:right">'.JText::_('HIKASHOP_PAYMENT_METHOD').' : '.$currencyHelper->format($data->order_payment_price,$data->order_currency_id).'</td></tr>';
}

In the "ORDER_ADMIN_NOTIFICATION" mail, the payment fee are already present in the customer order emails.
I hope this will help you.

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

  • Posts: 252
  • Thank you received: 3
12 years 4 months ago #57907

Hello Xavier,
Thank you for the code.
But can you give me a hint after which line the code should come?
Regards

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

  • Posts: 13201
  • Thank you received: 2322
12 years 4 months ago #57909

Hi,

It should come before the lines:

if(bccomp($data->order_shipping_price,0,5)){
                echo '<tr><td colspan="4" style="text-align:right">'.JText::_('HIKASHOP_SHIPPING_METHOD').' : ';

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

  • Posts: 252
  • Thank you received: 3
12 years 4 months ago #57939

Thank you so far.
I have added the code.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum