Make custom field visible in address on checkout

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
8 years 8 months ago #251805

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Browser(s) name and version -- : FF

I added a custom field to the address. When I edit the address in the checkout on the frontpage the number field is there. When I save the address the number field is gone. How can I add this number field to the address box on the checkout page? I hope you help me with a solution!



Attachments:

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
8 years 7 months ago #251879

Hi,

You need to edit the "address_template" view file for both your frontend and your backend template via the menu Display>Views in order to add the corresponding tag for your custom field.

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

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
8 years 7 months ago #251963

Hi Nicolas,

What code should I use? The field name is: number and the id: 28

Thanks in advance!

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

  • Posts: 83933
  • Thank you received: 13588
  • MODERATOR
8 years 7 months ago #251974

Hi,

Look at the other tags. You can see that you just need to put the column name in between brackets. Like that: {number}

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

  • Posts: 196
  • Thank you received: 11
  • Hikashop Business
8 years 7 months ago #251996

Thanks Nicolas! Works like a charm!

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

Time to create page: 0.079 seconds
Powered by Kunena Forum