How load joomla registration custom fields in hikashop registration form?

  • Posts: 5
  • Thank you received: 0
1 year 9 months ago #323217

I have a commercial component that create a field in joomla registration form for send sms on different situations.
How can I load this field from joomla registration form in hikashop registration form?

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

  • Posts: 75528
  • Thank you received: 11765
1 year 9 months ago #323221


There is no option to do that.
Supposing that this component stores the phone number in an extra column of the users table of joomla, what you can do is to create a custom field of the table "user" via the menu Display>Custom fields of HikaShop to have a similar field on the HikaShop registration form.
Then, you can configure a mass action via the menu System>Mass actions.
In it, you can have a trigger "after a user is created", and an action "update the values" and select the phone number column, the type "operation" and the value where xxx is the column name of your HikaShop custom field.
That way, the mass action will automatically copy the phone number from the HikaShop custom field to the phone number column in the user table when the user is created during the registration process.
If that component doesn't store that in the joomla users table, then it will require development of a small plugin of the group "hikashop" to replace the mass action in order to store the data where needed based on how that component is developed.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum