Skip to main content

[SOLVED] Order creation modification

More
13 years 3 months ago - 13 years 3 months ago #113076 by energiaetrasporti
Hi,
I have created same new fields and I want to insert it in the notification mail after the order details as a separate table.


Thanks
Last edit: 13 years 3 months ago by energiaetrasporti.

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

More
13 years 3 months ago #113116 by nicolas
Replied by nicolas on topic Order creation modification
Hi,

What kind of fields did you create ?
Could you do a screenshot of the options of one of the fields so that we can see precisely what you did ?

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

More
13 years 3 months ago #113170 by energiaetrasporti
Hi,
simply text field as shown in attachment and I have set them in the table address, because the user will insert the data during the procedure buy changing the billing address. I could display them under teh "Indirizzo di fatturazione"

In the second attachment I would like to insert the field "Targa" just under the first block "Riepilogo ordine".

Thanks

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

More
13 years 3 months ago #113181 by Mohamed Thelji
Hi,

I think that you'll just have to edit the files address_template via the menu "Hikashop->Display->Views" and add the tag corresponding to your custom field like this for example :
Code:
{YOUR_CUSTOM_FIELD_COLUMN_NAME}
Note that you'll have to replace the YOUR_CUSTOM_FIELD_COLUMN_NAME text by the Column name value of your custom field.

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

More
13 years 3 months ago #113199 by energiaetrasporti
Hi,
this procedure will add the field in the billing address area only, instead of I would like to have the possibility to visualize them in the other place of the mail

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

More
13 years 3 months ago #113205 by Mohamed Thelji
Ok,
Can you show me what your really want to do with some screenshots, it will be really helpfull.

Thanks.

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

More
13 years 3 months ago #113209 by energiaetrasporti
Hi,
I have this new field (file Field.png)

I would like to visualize them in this way (Mail.png)

Thanks

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

More
13 years 3 months ago #113355 by nicolas
Replied by nicolas on topic Order creation modification
Then you'll have to edit the email via the menu System>Emails and add such code in it before the billing address area:

<?php $address =& $data->order_addresses[$data->cart->billing_address->address_id]; echo $address->numero_autoveicoli; ?>


That will display the value of the numero_autoveicoli custom address field.
The following user(s) said Thank You: energiaetrasporti

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

Time to create page: 0.174 seconds
Powered by Kunena Forum