HikaShop wait list field

  • Posts: 129
  • Thank you received: 0
8 years 7 months ago #238008

-- url of the page with the problem -- : www.apple-nic.com
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1

hi,

i want to add a phone number field in hikashop waitlist form, so i can ask acysms to create relative integration so after i add more quantity to product, an automated text message send to the customers how had waitlisted the product.

and one more thing,
right now when a product become waitlisted through waitlist form by customer the customer is not receiving any automated email to confirm that
is it fixable ? or i have to ask acymailling to add new option for me ?

Thank you

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
8 years 7 months ago #238014

Hi,

To add a field to that form, you first need to edit the file "waitlist" of the view "product" via the menu Display>Views and add your new input field.
Then, you need to add the corresponding field in the table hikashop_waitlist so that the data from the customer can be saved in the database.
Then, you need to edit the file components/com_hikashop/controllers/product.php and modify the insert query in waitlist table to add your new column in the add_waitlist function.
If you want to send an email to the customer, you can modify that same function in order to send that extra email. You can base yourself on the code of the sending of the notification email to the administrator there.

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

  • Posts: 129
  • Thank you received: 0
8 years 7 months ago #238042

Hello
is it possible for you to do me a favor and give me a step to step instruction with more details cause i am not a php or sql expert


Thanks a lot

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
8 years 7 months ago #238068

Hi,

Well, if you know a bit of PHP and HTML, it should be enough with the instructions I provided.
Please try to follow them and if you have issues please explain what you don't get and I can answer more specifically on that problem. Because I can't just do all the coding for you. In that case, I would recommend to contact our partners so that one could code that for you. The indications I provided will be enough for them to do it.

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

Time to create page: 0.059 seconds
Powered by Kunena Forum