Registration field at order details

  • Posts: 75
  • Thank you received: 4
1 month 2 weeks ago #362249

-- HikaShop version -- : 5.0.3
-- Joomla version -- : 4.4.3
-- PHP version -- : 8.1

I added a new text field to registration (to the user table).
I think the user table is the best as the detail is attached to the user and not changing in the future.
When the user ordering something is there any option to see this field by the order details?
I can see in the users, but it's kinda attached to the order as well so would be nice to see on one page. Or should I just add to the address table instead?

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

  • Posts: 82308
  • Thank you received: 13257
  • MODERATOR
1 month 2 weeks ago #362253

Hi,

Having it in the address table would allow you to directly add a tag in the "addres format" setting of the HikaShop configuration in order to display the content of the field with the rest of the address.

Adding the display of a custom user field to the order details page is possible too, but it's a bit more complex. You need to edit the view file where you want to add it, and add the necessary code.
Here is the documentation page on how to find which view file to edit :
www.hikashop.com/support/documentation/1...-display.html#layout
If could provide a screenshot of the settings of the custom field and a screenshot indicating where you want to display that custom field, we should be able to provide a more precise answer.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum