{"id":419738,"date":"2024-02-28T05:46:03","date_gmt":"2024-02-28T05:46:03","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=419738"},"modified":"2025-07-08T13:07:50","modified_gmt":"2025-07-08T13:07:50","slug":"magento2-file-map-with-custom-option-documentation","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/","title":{"rendered":"Guide for Magento 2 File Map With Custom Option"},"content":{"rendered":"\n<p><a href=\"https:\/\/store.webkul.com\/magento2-custom-option-file-map.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 File Map with custom option<\/a> extension helps the admin to add the downloadable product file with some custom options to download.<\/p>\n\n\n\n<p>The admin can choose from fur option types like drop-down, radio button, check box, and multiple select. It will allow the customers to download the product as per the provided option and mode.<\/p>\n\n\n\n<p>If you want to provide custom options to your Magento 2 frontend via templates, then you can use our <a href=\"https:\/\/store.webkul.com\/Magento2-Custom-Option-Template.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 Custom option template<\/a> extension for the same.<\/p>\n\n\n\n<p>Check a brief overview of the module \u2013 <\/p>\n\n\n\n<div class=\"wp-block-wk-block-youtube-video wp-block-wk-block--yt-video components-placeholder\"><div class=\"wk-block--yt-video-frame\"><div class=\"wk-block--yt-video-frame-request\" data-plyr-provider=\"youtube\" data-plyr-embed-id=\"q_y1-pXG5N8\"><div class=\"components-placeholder__instructions\">q_y1-pXG5N8<\/div><\/div><\/div><\/div>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h2 class=\"wp-block-heading index-title\">Features<\/h2>\n<\/div><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The extension works with downloadable products only.<\/li>\n\n\n\n<li>The admin can choose custom options for file mapping.<\/li>\n\n\n\n<li>There are four types of options available i.e. drop-down, radio button, check box, and multiple select. <\/li>\n\n\n\n<li>Customers can download the downloadable product as per the provided option. <\/li>\n<\/ul>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Module Installation<\/h3>\n<\/div><\/div>\n\n\n\n<p>The installation is quite simple just like the standard&nbsp;<a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 extensions<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#1 Download Module<\/h3>\n\n\n\n<p>Firstly, you need to log in to the Webkul Store, go to&nbsp;My Account&gt;My Purchased Products&nbsp;section, verify, and then download and extract the contents of this zip folder on the system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#2 Upload Folder<\/h3>\n\n\n\n<p>Once the module zip is extracted, follow path&nbsp;<strong>src&gt;app<\/strong>&nbsp;and then copy the&nbsp;<strong>app<\/strong>&nbsp;folder into the&nbsp;<strong>Adobe Commerce<\/strong>&nbsp;<strong>Cloud root<\/strong>&nbsp;directory on the server as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"451\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\" alt=\"image-22-1\" class=\"wp-image-416360\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1-300x113.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1-250x94.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1-768x289.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Unzip the respective extension zip and create Webkul(vendor) and filemapcustomopt(module) name folder inside your Magento\/app\/code\/ directory. <\/p>\n\n\n\n<p>And then move all module files into the Magento root directory Magento2\/app\/code\/Webkul\/filemapcustomopt\/ folder.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Run the Following Commands via the terminal<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">php bin\/magento setup:upgrade<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\">php bin\/magento setup:di:compile<\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\">php bin\/magento setup:static-content:deploy<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"multilingual-support\">Multilingual Support<\/h3>\n\n\n\n<p>Therefore, please navigate to Store&gt;Configuration&gt;General &gt;Locale Options for MultilinguaThis command is used to compile code like Factories, Proxies, Interceptors, etc.<\/p>\n\n\n\n<p>And puts them in generated or var\/generation directory.l support.&nbsp; Also, select your desired language from the&nbsp;<strong>Locale&nbsp;<\/strong>option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/first.webp\" alt=\"Magento-2 Custom options\" class=\"wp-image-498517\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/first.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/first-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/first-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/first-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Thus, in this way, a multi-lingual configuration can be done.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"language-translation\"><strong>Language Translation<\/strong><\/h3>\n\n\n\n<p>For module translation, navigate to the following path in your system&nbsp;<strong>src\/app\/code\/Webkul\/Filemapcustomopt\/i18n\/en_US.csv<\/strong>&nbsp;Open the file named&nbsp;<strong>en_US.CSV&nbsp;<\/strong>for editing as shown in the screenshot below.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"341\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1.png\" alt=\"screenshot_from_2023_12_18_16_17_22-1200x341-1\" class=\"wp-image-416361\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-300x85.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-250x71.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-768x218.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Then replace the words after the&nbsp;<strong>comma(,)&nbsp;<\/strong>on the right in the file with your translated words.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"933\" height=\"307\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/screenshot_from_2024_02_23_10_34_58.png\" alt=\"screenshot_from_2024_02_23_10_34_58\" class=\"wp-image-423934\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/screenshot_from_2024_02_23_10_34_58.png 933w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/screenshot_from_2024_02_23_10_34_58-300x99.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/screenshot_from_2024_02_23_10_34_58-250x82.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/screenshot_from_2024_02_23_10_34_58-768x253.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>After editing and translating the CSV file, save the file name according to your region language and country code such as \u2013<strong>&nbsp;de_DE.<\/strong>CSV.<\/p>\n\n\n\n<p>Followed by uploading the translated file to the same folder from which you obtained it. Now your module translation is complete.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1200\" height=\"341\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-1.png\" alt=\"screenshot_from_2023_12_18_16_17_22-1200x341-1-1\" class=\"wp-image-416362\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-1.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-1-300x85.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-1-250x71.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/screenshot_from_2023_12_18_16_17_22-1200x341-1-1-768x218.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Thus, in this way, language translation can be done.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Module Configuration<\/h3>\n<\/div><\/div>\n\n\n\n<p>Once the module is installed successfully, then configure the module from <strong>Stores &gt; Configurations &gt; Map file with custom option<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/map-1.webp\" alt=\"configuation\" class=\"wp-image-498468\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/map-1.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/map-1-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/map-1-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/map-1-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Custom Options Mapping<\/h3>\n<\/div><\/div>\n\n\n\n<p>The admin can map the custom options with downloadable product links. To map the option the admin needs to navigate to <strong>catalog &gt; Products<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/product-1.webp\" alt=\"Magento-custom-files\" class=\"wp-image-498487\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/product-1.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/product-1-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/product-1-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/product-1-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Now the admin can add any new product or edit any existing downloadable product to map the custom options. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/prod.webp\" alt=\"Magento-custom-option\" class=\"wp-image-498490\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/prod.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/prod-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/prod-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/prod-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Note &#8211; The admin has to enable the permission for <strong>Download according to the custom option<\/strong>.<\/p>\n\n\n\n<p> If set YES then the admin can map the custom option with a downloadable link and display it on the front end.<\/p>\n\n\n\n<p> If set NO then the default functionality of the downloadable product will work.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create Links<\/h3>\n\n\n\n<p>Now the admin will create the links for the downloadable product by entering the title name, and browsing file from the system, and allow the sharable permission if required.<\/p>\n\n\n\n<p> Now save the downloadable product for custom mapping.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/links.webp\" alt=\"Custom-option-file-\" class=\"wp-image-498499\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/links.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/links-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/links-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/links-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Once the product is saved now the admin can add the custom option in the customizable option section. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/custom.webp\" alt=\"Magento-2-custom-option-3\" class=\"wp-image-498501\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/custom.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/custom-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/custom-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/custom-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Add the following details to map the downloadable product link. <\/p>\n\n\n\n<p>Option Title &#8211; Add the title for the custom option. <\/p>\n\n\n\n<p>Option type &#8211; Choose the custom option type from four options i.e. drop-down, radio button, check box, and multiple select. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/options.webp\" alt=\"Magento-2-custom-option-file\" class=\"wp-image-498504\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/options.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/options-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/options-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/options-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>As per the selected option type, it will display on the front end. The admin can also check the links section where the downloadable links are mapped. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/last.webp\" alt=\"Magento-2 Custom options\" class=\"wp-image-498511\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/last.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/last-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/last-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/last-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Once the custom mapping is done the customer can check the downloadable products and download it as per mapped options.<\/p>\n\n\n\n<div class=\"wk-index-wrap\"><div class=\"block-wrap\">\n<h3 class=\"wp-block-heading index-title\">Frontend Workflow<\/h3>\n<\/div><\/div>\n\n\n\n<p>The customers can log in to their account and will open the product page with the desired downloadable product. <\/p>\n\n\n\n<p><strong>Multiple Select Custom Option Type <\/strong>&#8211; The customers can select multiple options while purchasing the product.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1120\" height=\"880\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Magento-2-custom-option-file-map-1.png\" alt=\"Magento-2-custom-option-file-map-1\" class=\"wp-image-424413\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Magento-2-custom-option-file-map-1.png 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Magento-2-custom-option-file-map-1-300x236.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Magento-2-custom-option-file-map-1-250x196.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Magento-2-custom-option-file-map-1-768x603.png 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p><strong>Dropdown Option Type selected &#8211; <\/strong>When an admin selects dropdown option type.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1278\" height=\"573\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02.png\" alt=\"Screenshot-from-2024-02-26-13-35-02\" class=\"wp-image-424414\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02.png 1278w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02-300x135.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02-1200x538.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02-250x112.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02-768x344.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/02\/Screenshot-from-2024-02-26-13-35-02-604x270.png 604w\" sizes=\"(max-width: 1278px) 100vw, 1278px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Similarly, the custom options will change for the Radio button and Checkbox option type, and the customer can choose the option and proceed with the checkout.<\/p>\n\n\n\n<p>That is all about the&nbsp;Magento 2 File Map With Custom Options Extension.&nbsp;If you have any queries regarding the plugin, please feel free to contact us at&nbsp;<a href=\"https:\/\/webkul.uvdesk.com\/en\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webkul Support System<\/a>.<\/p>\n\n\n\n<p>You can also check our complete&nbsp;<a href=\"https:\/\/store.webkul.com\/Magento-2.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 extensions<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Magento 2 File Map with custom option extension helps the admin to add the downloadable product file with some custom options to download. The admin can choose from fur option types like drop-down, radio button, check box, and multiple select. It will allow the customers to download the product as per the provided option and <a href=\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":396,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9121],"tags":[],"class_list":["post-419738","post","type-post","status-publish","format-standard","hentry","category-magento-2"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Guide for Magento 2 File Map With Custom Option<\/title>\n<meta name=\"description\" content=\"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Guide for Magento 2 File Map With Custom Option\" \/>\n<meta property=\"og:description\" content=\"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-28T05:46:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-08T13:07:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\" \/>\n<meta name=\"author\" content=\"Shailja Gupta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shailja Gupta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\"},\"author\":{\"name\":\"Shailja Gupta\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a8e167c820b3f455f751fe7d334741bc\"},\"headline\":\"Guide for Magento 2 File Map With Custom Option\",\"datePublished\":\"2024-02-28T05:46:03+00:00\",\"dateModified\":\"2025-07-08T13:07:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\"},\"wordCount\":837,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\",\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\",\"url\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\",\"name\":\"Guide for Magento 2 File Map With Custom Option\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\",\"datePublished\":\"2024-02-28T05:46:03+00:00\",\"dateModified\":\"2025-07-08T13:07:50+00:00\",\"description\":\"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png\",\"width\":1200,\"height\":451,\"caption\":\"image-22-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Guide for Magento 2 File Map With Custom Option\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a8e167c820b3f455f751fe7d334741bc\",\"name\":\"Shailja Gupta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0bcbe5b07d11b71c7571417f83fc28718f48fa375d24d88ab49e6c9bda729098?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0bcbe5b07d11b71c7571417f83fc28718f48fa375d24d88ab49e6c9bda729098?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Shailja Gupta\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/shailjagupta-bd465\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Guide for Magento 2 File Map With Custom Option","description":"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/","og_locale":"en_US","og_type":"article","og_title":"Guide for Magento 2 File Map With Custom Option","og_description":"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.","og_url":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2024-02-28T05:46:03+00:00","article_modified_time":"2025-07-08T13:07:50+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png","type":"","width":"","height":""}],"author":"Shailja Gupta","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Shailja Gupta","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/"},"author":{"name":"Shailja Gupta","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a8e167c820b3f455f751fe7d334741bc"},"headline":"Guide for Magento 2 File Map With Custom Option","datePublished":"2024-02-28T05:46:03+00:00","dateModified":"2025-07-08T13:07:50+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/"},"wordCount":837,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png","articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/","url":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/","name":"Guide for Magento 2 File Map With Custom Option","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png","datePublished":"2024-02-28T05:46:03+00:00","dateModified":"2025-07-08T13:07:50+00:00","description":"The Magento 2 file map with Custom option extension helps the admin to add custom files to the downloadable products.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2024\/01\/image-22-1.png","width":1200,"height":451,"caption":"image-22-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/magento2-file-map-with-custom-option-documentation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Guide for Magento 2 File Map With Custom Option"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a8e167c820b3f455f751fe7d334741bc","name":"Shailja Gupta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0bcbe5b07d11b71c7571417f83fc28718f48fa375d24d88ab49e6c9bda729098?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0bcbe5b07d11b71c7571417f83fc28718f48fa375d24d88ab49e6c9bda729098?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Shailja Gupta"},"url":"https:\/\/webkul.com\/blog\/author\/shailjagupta-bd465\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/419738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/396"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=419738"}],"version-history":[{"count":17,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/419738\/revisions"}],"predecessor-version":[{"id":498557,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/419738\/revisions\/498557"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=419738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=419738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=419738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}