The 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 mode.
If you want to provide custom options to your Magento 2 frontend via templates, then you can use our Magento 2 Custom option template extension for the same.
Check a brief overview of the module –
Features
- The extension works with downloadable products only.
- The admin can choose custom options for file mapping.
- There are four types of options available i.e. drop-down, radio button, check box, and multiple select.
- Customers can download the downloadable product as per the provided option.
Module Installation
The installation is quite simple just like the standard Magento 2 extensions.
#1 Download Module
Firstly, you need to log in to the Webkul Store, go to My Account>My Purchased Products section, verify, and then download and extract the contents of this zip folder on the system.
#2 Upload Folder
Once the module zip is extracted, follow path src>app and then copy the app folder into the Adobe Commerce Cloud root directory on the server as shown below:
Unzip the respective extension zip and create Webkul(vendor) and filemapcustomopt(module) name folder inside your Magento/app/code/ directory and then move all module files into the Magento root directory Magento2/app/code/Webkul/filemapcustomopt/ folder.
Run the Following Commands via the terminal
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Multilingual Support
Therefore, please navigate to Store>Configuration>General >Locale Options for Multilingual support. Also, select your desired language from the Locale option.
Thus, in this way, a multi-lingual configuration can be done.
Language Translation
For module translation, navigate to the following path in your system src/app/code/Webkul/Filemapcustomopt/i18n/en_US.csv Open the file named en_US.CSV for editing as shown in the screenshot below.
Then replace the words after the comma(,) on the right in the file with your translated words.
After editing and translating the CSV file, save the file name according to your region language and country code such as – de_DE.CSV.
Followed by uploading the translated file to the same folder from which you obtained it. Now your module translation is complete.
Thus, in this way, language translation can be done.
Module Configuration
Once the module is installed successfully then configure the module from Stores > Configurations > Map file with custom option.
Custom Options Mapping
The admin can map the custom options with downloadable product links. To map the option the admin needs to navigate to catalog > Products.
Now the admin can add any new product or edit any existing downloadable product to map the custom options.
Note – The admin has to enable the permission for Download according to the custom option. If set YES then the admin can map the custom option with a downloadable link and display it on the front end. If set NO then the default functionality of the downloadable product will work.
Create Links
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. Now save the downloadable product for custom mapping.
Once the product is saved now the admin can add the custom option in the customizable option section.
Add the following details to map the downloadable product link.
Option Title – Add the title for the custom option.
Option type – Choose the custom option type from four options i.e. drop-down, radio button, check box, and multiple select.
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.
Once the custom mapping is done the customer can check the downloadable products and download it as per mapped options.
Frontend Workflow
The customers can log in to their account and will open the product page with the desired downloadable product.
Multiple Select Custom Option Type – The customers can select multiple options while purchasing the product.
Dropdown Option Type selected – When an admin selects dropdown option type.
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.
That is all about the Magento 2 File Map With Custom Options Extension. If you have any queries regarding the plugin, please feel free to contact us at Webkul Support System.
You can also check our complete Magento 2 extensions.
Current Product Version - 4.0.1
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
Be the first to comment.