Add custom fields to waitlist form

  • Posts: 3
  • Thank you received: 0
10 years 2 months ago #205379

-- HikaShop version -- : 2.4 Essential
-- Joomla version -- : 3.4.1

Hi Guys,

Is there a way to add custom fields to waitlist form? I'm trying to add "phone number" and "quantity" to the waitlist form but not sure how.
Also is there a record of previous people on waitlists after the system removes them (as the list would be removed after the system sending emails to those people)?

Thanks!

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

  • Posts: 13201
  • Thank you received: 2322
10 years 2 months ago #205390

Hi,

This can't be done by default in HikaShop but thanks to some code editions this can be done.
You will have to edit the views "product / waitlist" to add the desired fields, edit the controller product to edit the MySQL query to add the informations in the columns (before that you have to update the table "#__hikashop_waitlist" to add the columns via phpMyAdmin). Then you will have to edit the view "product / waitlist" (backend template) to display the saved informations.

So it require php knowledges.

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

  • Posts: 3
  • Thank you received: 0
10 years 2 months ago #205657

Thanks Xavier. I've edited the front end file and database so I can submit extra fields and can see them in database, but on the backend they are not showing. I've been checking administrator/components/com_hikashop/views/product/tmpl/waitlist.php, but the code doesn't seem containing anything specific to me. Should I look somewhere else?

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

  • Posts: 3
  • Thank you received: 0
10 years 2 months ago #205658

Forget about it Xavier, I found it. So it's actually on the backend... not files in the administrator folder.
All working now, thanks again!

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

Time to create page: 0.065 seconds
Powered by Kunena Forum