Skip to content

vijayrami/Magelearn_RestrictPayment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magelearn_RestrictPayment

Disable specific payment methods on checkout page when cart have at least one product from specific category.

Screenshots

Cash on delivery method will display before added module

Checkout-1.png

After adding module cashondelivery method will not display

Checkout.png

Installation

Using Composer (Recommended)

  • Install the module composer by running composer require magelearn/module-restrictpayment
  • Enable the module by running php bin/magento module:enable Magelearn_RestrictPayment
  • apply database updates by running php bin/magento setup:upgrade
  • Flush the cache by running php bin/magento cache:flush

Manual File Transfer

  • Clone or unzip this repository to app/code/Magelearn/RestrictPayment
  • Enable the module by running php bin/magento module:enable Magelearn_RestrictPayment
  • Apply database updates by running php bin/magento setup:upgrade
  • Flush the cache by running php bin/magento cache:flush

Configuration

How to Configure

Settings Explanation

Compatibility

This module has been tested and validated to work on Magento versions 2.3 to 2.4.2.

Bugs & Issues

If you find a bug or issue please create a new issue here and include as much detail and context as possible including screenshots.

License

This module is licensed under the Open Software License V3.0 which you can refer to here.

About

Disable specific payment methods on checkout page when cart have at least one product from specific category.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages