Enquiry Module Upload file

This topic contains 5 replies, has 2 voices, and was last updated by WCfM Forum WCfM Forum 4 days, 1 hour ago.

  • Author
    Posts
  • #43112 Reply

    ben
    Participant

    Hi dear,

    Need to add upload file on form “Enquiry Module”
    exemple : customer can have possibility to joint file (pdf,doc, jpg, png) on request quote ‘Enquiry Module’

    thanks

  • #43118 Reply
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Thanks for get in touch with us.

    Hope you know, it’s possible to create custom field for “Inquiry” from WCFM Admin Setting -> Inquiry Setting

    But, upload field type is not there and it is due to security. Inquiry is open for all users, no login required. Now, people may upload malicious files to your site.

    Best to handle this, create a “text” field and ask people to insert file link there. It will save your disk space as well 🙂

    Thank You

  • #43208 Reply

    ben
    Participant

    Dear, thank you for answer, and for consider security for me.
    but I really need to add “upload file” to “inquiry” for allowed Extensions : jpeg,png,gif,pdf,pdf,doc.

  • #43215 Reply

    ben
    Participant

    the best will be integrate : https://yithemes.com/themes/plugins/yith-woocommerce-request-a-quote/
    To WCFM dashbord

  • #43299 Reply

    ben
    Participant

    I have remove “//” from code and change to :

    $field_types = apply_filters( ‘wcfm_product_custom_filed_types’, array( ‘text’ => ‘Text’, ‘number’ => ‘Number’, ‘textarea’ => ‘textarea’, ‘datepicker’ => ‘Date Picker’, ‘timepicker’ => ‘Time Picker’, ‘checkbox’ => ‘Check Box’, ‘select’ => ‘Select’, ‘upload’ => ‘File/Image’ ) );

    on : wcfm-view-settings.php

    Now on menu I have Upload file/image, but Upload sshow me only texte field when I add import file 🙁

    whats wrong here ?

  • #43312 Reply
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    “Now on menu I have Upload file/image, but Upload sshow me only texte field when I add import file”
    – Noting wrong, as I told you it’s not support file upload yet.

    We are checking this, will add file upload option.

    Thank You

Reply To: Enquiry Module Upload file
Your information: