Restrict Cash On Delivery extension User Manual
Restrict Cash on Delivery payment method for specific locations based on zip codes in Magento 2 with import zip codes through CSV feature.
Table of Content 1. 2. 3. 4. 5. 6. 7.
Extension Installation Guide Configuration Cash On Delivery availability on product page Cash On Delivery unavailability on product page Zip Code Manager Deactivation of Extension in Case of Emergency FAQs
Restrict Cash On Delivery
© MageComp.com
1. Extension Installation Guide Go to My downloadable products. The file that you download normally is a zip file. Use FTP client (such as Filezilla, WinSCP, cuteFtp) to upload or copy all folders in the zip package to your Magneto site root folder. This will not overwrite any existing files, just add new files to the folder structure. Open Command line in folder root of Magento and run following command respectively: o php bin/magento setup:upgrade o php bin/magento setup:static-content:deploy o php bin/magento indexer:reindex o php bin/magento cache:flush Navigate to Stores/Configuration, if you can see the extension tab, it is installed properly. If you need professional help regarding Magento Extension Installation, Feel free to contact us any time. 2. Configuration Once you have successfully installed the extension, go to Stores Configuration to configure the extension for use. Here you can find setting to enable or disable the extension. Restrict Cash On Delivery: Enable or disable extension from here. Allow Availability Check on Product Page: Set YES to allow customers check COD availability from product page. Show Estimated Delivery Time on Frontend: Set YES to show estimated delivery time. Estimated Delivery Message: Enter estimated delivery message, use variables if required. COD Availability Message: Enter COD availability message to show when COD is available, use variable if required. COD Unavailability Message: Enter COD unavailability message to show when COD is unavailable, use variable if required. Import CSV: Browse to upload CSV with entered zip codes. For sample CSV file kindly look into your Extension folder at this path. Restrictcod\sample_pincodes.csv
Restrict Cash On Delivery
© MageComp.com
3. Cash On Delivery availability on product page Once you have configured the extension, go to product page and add zip code in the box. It will show success message if COD is available.
4. Cash On Delivery unavailability on product page If the zip code doesn’t match the codes available in CSV, it will show unavailability message. Restrict Cash On Delivery
© MageComp.com
If COD is available on the entered zip code, it will show Cash On Delivery payment method on checkout page. But if COD is unavailable, Cash On Delivery payment method will be hide from checkout page.
5. Zip Code Manager This is the place where all the imported zip codes with respective details are saved. You can edit or delete zip codes from here. Restrict Cash On Delivery
© MageComp.com
Clicking on edit will allow you to edit zip code information.
6. Deactivation of Extension in Case of Emergency Go to app etc config.php and find 'Magecomp_Restrictcod’=> 1, and replace 1 with 0. If something goes wrong, please contact us at https://www.magecomp.com/helpdesk or send us an email at helpdesk@magecomp.com 7. FAQs What if I get “Access denied” error after installation of the extension? Whenever you get Access denied error while clicking on the extension tab after installation, log out admin panel and re-login.
Thank You! Restrict Cash On Delivery
© MageComp.com
Take a look at our other feature rich extensions:
Delivery Date Extension for Magento 2 allows customers to choose preferable date for product delivery. Know More…
Restrict Cash On Delivery
Matrix Rates Extension for Magento 2 allows you customize shipping rates based on combination of product quantity, weight, price and destinations. Know More…
© MageComp.com