---
title: Assign Payment Gateways by Product Tag
description: Show or hide each WooCommerce payment gateway based on the product tags in the cart.
url: "https://wpfactory.com/docs/managing-gateways-tags/"
updated: "2026-09-27"
category: How to
tags:
  - "Payment Methods by Product & Country for WooCommerce"
---

# Assign Payment Gateways by Product Tag

To show or hide payment gateways by product tag in [Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/), go to WPFactory > Payment Gateways per Products > Product Tags, confirm Enable section is ticked, add tags to each gateway's Include or Exclude field, and save. This is a free feature.

![Per Product Tags tab showing Include and Exclude fields for each gateway](https://wpfactory.com/wp-content/uploads/article3-1-1024x466.png)

### Open the Product Tags tab

1. Go to **WPFactory > Payment Gateways per Products** (also reachable at **WooCommerce > Settings > Payment Gateways per Products**).
2. Open the **Product Tags** tab.
3. Confirm **Enable/Disable > Enable section** is ticked (on by default).

### Set Include and Exclude per gateway

Each gateway has an **Include** and an **Exclude** field. Both are select boxes populated with your store's product tags, so you choose tags from the list rather than typing them:

- **Include:** the gateway shows only when the cart contains a product carrying one of the selected tags.
- **Exclude:** the gateway is hidden when the cart contains a product carrying one of the selected tags.

**Important:** Do not add the same tag to both Include and Exclude for one gateway. The two rules cancel each other out and the gateway is left unchanged.

### Example

- Offer **Cash on Delivery** only for products tagged *furniture*: add that tag to Cash on Delivery's **Include** field.
- Keep **Check Payments** off products tagged *high-value*: add that tag to Check Payments' **Exclude** field.

Click **Save changes**. Each gateway can be configured independently.

### Get more control

Tag rules are free. [Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/) Pro adds rules for individual products, variations and billing countries, plus a fallback gateway. [See what Pro unlocks](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/).

Related articles

- [Assign Payment Gateways to Individual Products](https://wpfactory.com/docs/assigning-gateways-products/)
- [Assign Payment Gateways by Product Category](https://wpfactory.com/docs/gateways-product-categories/)
- [Configuring Payment Gateways per Products: Settings Overview](https://wpfactory.com/docs/configuring-payment-gateways/)
- [Payment Gateways Not Showing for Assigned Products or Categories](https://wpfactory.com/docs/payment-gateways-not-showing/)
- [How to Set Payment Gateways per Product in WooCommerce: Installation](https://wpfactory.com/docs/payment-gateways-products/)

 

[![Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/wp-content/uploads/Payment-Methods-by-Product-Country-for-WooCommerce.webp)](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/)
