change the order in the invoice and mails

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
12 years 3 weeks ago #72215

Hi

I'm using the business edition

I have some problems with the order of some fields in the Invoice and following mails.


In the check out (front end) is the order of the fields correct.

1. (order price) 合計 ¥ 998 (¥ 950税抜)
2. (shipping) 送料 ¥ 650
3. (Tax for order and shipping) うち消費税 ¥ 78
4. (Cash on delivery fee) 代引手数料 ¥ 315
5. (TOTAL PRICE) お支払いいただく金額 ¥ 1,962


On every mail it shows like that:

1. ¥ 7,770
2. 送料 : ¥ 650
4. 代引手数料 : ¥ 315 (3 + 4 are in the wrong order)
3. うち消費税 : ¥ 401
5. 税込合計 : ¥ 8,735

On the invoice it looks like that:

1. 商品合計 ¥ 7,770
3. うち消費税 ¥ 401 ( 2 + 3 are in the wrong order )
2. 発送 ¥ 650
4. 代引手数料 ¥ 315
5. 合計 ¥ 8,735


How do I change the order in the mails and in the invoice?
I have no idea about php programming therefore I appreciate if you could tell me how to change those things in a easy way.
Looking forward to hear from you.

Best regards
Raphael

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

  • Posts: 13201
  • Thank you received: 2322
12 years 3 weeks ago #72292

Hi,

To change the order, you can edit the mail in HikaShop > System > Email, and the invoice in the view "order / invoice" in HikaShop > Display > Views.
Then in the edition page, you can change the order of the elements. Move elements between <tr></tr> tags up or down another element.

Example of an element:

              <tr>
                <td colspan="2">
                </td>
                <td class="key">
                  <label>
                    <?php echo JText::_( 'HIKASHOP_PAYMENT' ); ?>
                  </label>
                </td>
                <td>
                  <?php echo $this->currencyHelper->format($this->order->order_payment_price,$this->order->order_currency_id); ?>
                </td>
              </tr>

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

  • Posts: 142
  • Thank you received: 3
  • Hikashop Business
12 years 3 weeks ago #72372

Hi Xavier

Thanks for your help! :woohoo:

It worked out just fine.

Best regards
Raphael

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

Time to create page: 0.066 seconds
Powered by Kunena Forum