Using the Magento 2 Marketplace Payment Method Restriction extension, the admin can assign the payment methods to products and the sellers. Moreover Sometimes the admin wants to restrict a few of the payment methods for some products and sellers. But So, instead of completely disabling the payment methods for the store, restrict the payment methods that the admin doesn’t wish to use for particular products and sellers. And The marketplace sellers also can assign Payment Method Restriction to their products. During the checkout process, the customer can view the assigned payment methods to place an order. Magento 2 Marketplace Payment Method Restriction module is an add-on of Multi-Vendor Marketplace Module. To use this module you must have installed Magento 2 Multi Vendor Module first. Features
After the successful installation, you have to run these commands in the Magento 2 root directory. First command – php bin/magento setup:upgrade Second command – php bin/magento setup:di:compile Third Command – php bin/magento setup:static-content:deploy After running the commands, you have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below. Multi-Lingual ConfigurationFor Multilingual support, please navigate to Store>Configuration>General >Locale Options. And select your desired language from the Locale option. Language TranslationMoreover, For module translation, navigate to the following path in your system app/code/Webkul/MpProductPaymentRestriction/i18n/en_US.csv. Open the file named en_US.CSV for editing as shown in the below screenshot. And Then replace the words after the comma(,) on the right in the file with your translated words. But After editing and translating the CSV file, you need to save the translated 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 where you have obtained it. Now your module translation is complete. Module ConfigurationBut After the module installation, the admin can configure the module settings by navigating to the Stores -> Settings -> Configuration -> Webkul -> Marketplace Product Payment Restriction as shown below. Here, the admin will:
Originally Published - https://webkul.com/
0 Comments
Leave a Reply. |