• Resolved revina2001

    (@revina2001)


    I want to hide ‘choose file’ button from downloadable product edit form. And leave only the file link field in product edit. Basically, i don’t want my sellers to upload their product files to my hosting. Please help me with this.
    Thank you!

    • This topic was modified 3 years, 8 months ago by revina2001.
    • This topic was modified 3 years, 8 months ago by revina2001.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @revina2001 ,

    This button is not coming from a template file so you should rather the CSS method. Add this code in your Customize > Additional CSS field –

    .dokan-dashboard .dokan-download-options a.upload_file_button {
        display: none;
    }

    Thank you ??

    Thread Starter revina2001

    (@revina2001)

    Still showing the choose file button.
    Plz can you give me an another solution for this!
    thank you.

    Thread Starter revina2001

    (@revina2001)

    ok, sorry about my misunderstanding!
    your code worked perfectly thank you very much.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disabling “Choose File” button In Downloadable Products’ is closed to new replies.