Add Phone Number Field on wish list

  • Posts: 129
  • Thank you received: 0
7 years 6 months ago #266863

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- Browser(s) name and version -- : Chrome

hello,
i'd like to add a phone number field to wish list form next to name and email address.
and i want to see the phone number in email and admin area too.

can you give a hint on how to do so ?

Thanks

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
7 years 6 months ago #266865

Hi,

The wishlist doesn't have any form so I'm not sure what you're talking about.
Coudl you provide a screenshot of the page where you want to add these fields ?

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

  • Posts: 129
  • Thank you received: 0
7 years 6 months ago #266929

im sorry i was talking about wait list form not wish list
my mistake !

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
7 years 6 months ago #266932

Hi,

There is no system in place for that.
You would have to:
- edit the file "waitlist" via the menu Display>Views to add the HTML of the inputs on the form.
- add the necessary columns in the table "hikashop_waitlist" in your database.
- modify the function add_waitlist in the file components/com_hikashop/controllers/product.php to save the data in the database.
- modify the files "listing" and "form" of the view "waitlist" via the menu Display>Views in order to add the inputs and columns for the data in your backend.
- modify the waitlist email via the menu System>Emails to add the data in the emails like with the rest of the data.
So you need to be a developer or hire one.

The following user(s) said Thank You: nic7071

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

  • Posts: 129
  • Thank you received: 0
7 years 2 months ago #277139

Thank you nicolas,
one more thing is that can i add the product image in email template of admin and user notification too ?
if so, can you tell me how, please?

I appreciate it

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
7 years 2 months ago #277144

Hi,

The image of the products is already added to the order notification emails sent by HikaShop. For example:
monosnap.com/file/7pj1J9IG2BtMlCRKutXdABv0oFa5Yv
So I'm not sure what you're talking about. Could you precise what you mean ?

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

  • Posts: 129
  • Thank you received: 0
7 years 2 months ago #277206

Hi Nicolas,
i was talking about waitlist admin and user notification email.
in wait list mail i only have some tags like user name email and product name and link .
i wand to add product image too.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
7 years 2 months ago #277210

Hi,

Well, it's not impossible to add the product image, however the data of the image is not loaded there.
So you would have to first run a MySQL query on the hikashop_file table to load the image of the product and then use the standard code you can find in the preload of the order notifications to generate the thumbnail URL out of the image data loaded from the database.
That will require a developer to help you with that if you're not a developer yourself.
You can potentially contact our partners for such customization: www.hikashop.com/home/our-partners.html

The following user(s) said Thank You: nic7071

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

Time to create page: 0.065 seconds
Powered by Kunena Forum