addrees fields on the invoice

  • Posts: 142
  • Thank you received: 0
  • Hikashop Business
1 month 2 days ago #321798

-- url of the page with the problem -- : www.studsgaard-minihal.dk/
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3

Hi

i cant figure out what i should write when i want to have extra fields i have made in the checkout.
i have added 3 new address fields.

goal:
Getting it to the invoice and in the backend in orders.
Do you have an guide i can use ?


Best regards
Brian

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

  • Posts: 2647
  • Thank you received: 348
  • MODERATOR
1 month 1 day ago #321811

Hello,

Even if I read that you want add an address custom field, maybe you are going to have to used an Order type custom field.
After, you can put your fields block close to address block in your Checkout Workflow settings.

The advantage of Order custom filed is that it can be displayed in several view, and among this possibilities Invoice and backend page.
Note : Have a look on this documentation about display option per custom field type.

Hope this will fit your needs

Regards

Last edit: 1 month 2 days ago by Philip.

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

  • Posts: 142
  • Thank you received: 0
  • Hikashop Business
1 month 1 day ago #321849

i have made this in the administrator notification mail

</p>
<p>
	<span style="color:#1c8faf !important;font-weight:bold;">{TXT:Elev} :</span> {VAR:elevensnavn}
</p>
<p>
	<span style="color:#1c8faf !important;font-weight:bold;">{TXT:Skolens navn} :</span> {VAR:skolensnavn}
</p>
<p>
	<span style="color:#1c8faf !important;font-weight:bold;">{TXT:Klassetrin} :</span> {VAR:klassetrin}
</p>
And i have made this in the Display > Custom fields



What do i do wrong here ?
I do not get the {VAR: } on the email fot the administrator notification


Best regards
Brian
Attachments:

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

  • Posts: 2647
  • Thank you received: 348
  • MODERATOR
1 month 19 hours ago #321856

Hello,

As said in my previous message you have to use order type custom field, address type can't be used in email (and several other HikaShop pages).
Keep same idea, but with order type custom field.

Regards

Last edit: 1 month 1 day ago by Philip.

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

  • Posts: 142
  • Thank you received: 0
  • Hikashop Business
3 weeks 3 days ago #322095

now i have tried as you told me.
It still not come with the ORDER_ADMIN_NOTIFICATION_SUBJECTe-mail. What do i do wrong?



Best regards
Brian
Attachments:

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

  • Posts: 2647
  • Thank you received: 348
  • MODERATOR
3 weeks 2 days ago #322097

Hello,

When you click on the "List of available tags" button, there are a part where you can see how to proceed for add your custom field in your email, see my screenshot :



Hope this will help you to achieved what you need
Regards

Last edit: 3 weeks 3 days ago by Philip.

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

  • Posts: 142
  • Thank you received: 0
  • Hikashop Business
1 week 5 days ago #322450

Now i have tryed to change the line to {LINEVAR:item.elevnavn} and {LINEVAR:product.elevnavn}
but it does not show on the administrator e-mail notification.
I have done your suggestions and followed the instructions on the website.

What am i missing or misunderstood.




Best regards
Brian
Attachments:

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

  • Posts: 2647
  • Thank you received: 348
  • MODERATOR
1 week 4 days ago #322451

Hello,

As your custom field is an order type (or table), you have to follow to build your email tag, example :
{LINEVAR:TABLE.XXX}
=> In your case to follow your example :
{LINEVAR:order.skolenavn}
Regards

Last edit: 1 week 5 days ago by Philip.

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

Time to create page: 0.111 seconds
Powered by Kunena Forum