- Posts: 4
- Thank you received: 0
[SOLVED] Order creation modification
- energiaetrasporti
-
Topic Author
- Offline
Less
More
13 years 3 months ago - 13 years 3 months ago #113076
by energiaetrasporti
[SOLVED] Order creation modification was created 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
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.
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 ?
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.
- energiaetrasporti
-
Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
13 years 3 months ago #113170
by energiaetrasporti
Replied by energiaetrasporti on topic Order creation modification
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 3 months ago #113181
by Mohamed Thelji
Replied by Mohamed Thelji on topic Order creation modification
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 :
Note that you'll have to replace the YOUR_CUSTOM_FIELD_COLUMN_NAME text by the Column name value of your custom field.
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}
Please Log in or Create an account to join the conversation.
- energiaetrasporti
-
Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
13 years 3 months ago #113199
by energiaetrasporti
Replied by energiaetrasporti on topic Order creation modification
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
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.
Less
More
- Posts: 12953
- Thank you received: 1778
13 years 3 months ago #113205
by Mohamed Thelji
Replied by Mohamed Thelji on topic Order creation modification
Ok,
Can you show me what your really want to do with some screenshots, it will be really helpfull.
Thanks.
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.
- energiaetrasporti
-
Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
13 years 3 months ago #113209
by energiaetrasporti
Replied by energiaetrasporti on topic Order creation modification
Hi,
I have this new field (file Field.png)
I would like to visualize them in this way (Mail.png)
Thanks
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.
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.
<?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