Okay
  Public Ticket #3761357
Conversations / Attach file in conversation
Closed

Comments

  •  6
    Miguel Zenha started the conversation

    Hi!

    We're looking to use conversations for B2C clients to contact the store manager, but we also want them to use the conversations system to report warranty issues about the porducts, such as damaged products, etc.

    I've been exploring the conversations feature, but until now I could only send text messages between the store manager and the clients. Is it possible to attach files ? Is there an option where I can activate this type of feature?

    Hope to hear from you soon.
    Best regards and thanks

  •  2,281
    WebWizards replied

    Hello Miguel,

    Normally I'm afraid that conversations do not support file attachments.

     

    However I've been looking into this and tried to write a code snippet to achieve it. I believe I was able to do it. The code is here: https://pastecode.io/s/0mexexr7

    This can be added to functions.php or any snippets plugin. 

    It will add a 'Attach file' button as follows: https://prnt.sc/EpAV4JuRSuFM

     

    Please keep in mind this is a bit experimental and needs some testing. If you have any feedback on it, it would be helpful to us as well,

     

    Kind regards,

    Stefan

  •  6
    Miguel Zenha replied

    Hi Stefan!

    Thank you for the assistance.

    I will try to add this code snippet in our store and try it out.

    I will give you the feedback later, as soon as we release it to testing.

    Best regards and thanks!

  •  6
    Miguel Zenha replied

    Hi Stefan !

    The code you made is working great! However, instead of opening the file explorer, it opens the wordpress upload window, which allows users to upload media files: https://prnt.sc/EXcEORHkeY4h

    The feature we're looking for is the one that you already developed in the custom request fields (the select file field), which opens the file explorer of the device that the client is using: https://prnt.sc/CU6RDMS_n3ij


    How can we change the code in order to achieve this?


    Best regards and thanks

  •  2,281
    WebWizards replied

    Hello Miguel,

    Thank you for the feedback on that,

     

    I'm afraid that kind of integration is more complex and not something I can add now quickly. It would require us to make several changes, connect specific files to specific messages, change how messages are displayed, etc.

    This is something we would like to add as a full functionality for the conversations feature of the plugin (rather than as a snippet). We are looking at it for the next updates,

     

    Kind regards,

    Stefan

  •  6
    Miguel Zenha replied

    Hi Stefan!

    Thanks for the quick reply.
    That's alright, I understand. I thought it would be more straightforward to add that code snippet, since you already have that available on the custom quote request.

    I will wait for the future version that comes with that feature. It would be a very nice one to have.


    Best regards and thanks