Content of the page

How to hide payment gateway on checkout


Content of the article

Sometimes it is necessary hide payment gate on the checkout page in multiple mode dependently of the current currency.

From version 2.2.7/1.1.7 use options in tab "Payments Rules" of the plugin settings page:


From version 2.1.4/1.1.4 additional css class implemented in tag <body>. Example: currency-usd,  where usd there is the current currency. So it is very easy from now to hide any gates on checkout by your logic just using CSS.


Way with code-> in your site current wp theme functions.php file add next PHP script:


More examples:

  • _

 

Faster WordPress Hosting