- Posts: 3
- Thank you received: 0
Add custom fields to waitlist form
11 years 3 months ago #205379
by Mikita
Add custom fields to waitlist form was created by Mikita
-- 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!
-- 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.
11 years 3 months ago #205390
by Xavier
Replied by Xavier on topic Add custom fields to waitlist form
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.
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.
11 years 3 months ago #205657
by Mikita
Replied by Mikita on topic Add custom fields to waitlist form
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.
11 years 3 months ago #205658
by Mikita
Replied by Mikita on topic Add custom fields to waitlist form
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!
All working now, thanks again!
Please Log in or Create an account to join the conversation.
Time to create page: 0.185 seconds