fbpx

Payment Gateways per Product or Category For WooCommerce plugin

2 min read

Overview #

You can configure payment gateways by products and product categories using this option. You can set to display or hide specific gateways by a product and/or a product category, i.e., a gateway will be displayed only if a product from that category is present in the customer’s cart or if the chosen product is present in the customer’s cart.

Enabling Payment Gateways per Product or Category #

To enable and use the Gateways per Product or Category plugin, you should first download and install Booster for WooCommerce.

  1. Navigate to Booster > Plugins > Payment Gateways.
  2. Select Enable for the Gateways per Product or Category plugin and click the Save Changes button.

The WooCommerce Gateways per Product or Category plugin will be enabled for your site.

Configuring Gateways per Product or Category in a Woo Store #

General Options #

Select Enable for the Use Variations option in the General Options tab if you want to configure different settings for different variable products.

Payment Gateways #

In the Gateways section, enter/select the required values for the fields.

Refer to the table below for field descriptions:

Note: The sub-sections in the Payment Gateways section – Direct bank transfer, Check payments, Cash on delivery, PayPal, etc. – all have the same set of fields.

Field Description
Product Categories – Include If at least one product belonging to any of the categories specified in this field is in the customer’s cart, only then the gateway should be displayed.
Product Categories – Exclude If any one product belonging to the categories specified in this field is in the cart, then the gateway should be hidden.
Product – Include If at least one product specified in this field is in the customer’s cart, only then the gateway should be displayed.
Product – Exclude If any one product specified in this field is in the cart, then the gateway should be hidden.

Once you edit and save changes, the payment gateways will be configured per product and/or category.

Output #

A sample checkout page where the payment gateways Direct bank transfer and Cash on delivery are enabled for the Product Category – Cake and Product – Chocolate Cake:

Powered by BetterDocs