⌘ K

Search

Search portal content

Dreamfox MediaDreamfox Media
⌘ K

Search

Search portal content

Dreamfox MediaDreamfox Media
    • Automatic Installation
    • Using with my Wordpress theme
    • Can I use this plugin with my existing Wordpress theme?
    • The plugin is not working
    • How to work with payment gateways per category
    • Payment Options Not Visible in Sidebar
    • Where can DFM Gateway plugin for WooCommerce be used for?
    • Where can I set different payments methods?
    • Automatic Installation free DFM Payment plugin for WooCommerce
    • Manual Installation Method 1 DFM Payment Gateway plugin for WooCommerce
    • Manual Installation Method 2 DFM Payment Gateway plugin for WooCommerce
    • How to Use the Tag Option
  1. Home
  2. WooCommerce Plugins
  3. Payment gateway per product

How to Use the Tag Option

Payment gateway per product

How to Use the Tag Option

How to Use the Tag Option

Tag options

Overview

The Tag option in the Payment Gateway per Product plugin allows you to control which payment methods are available during checkout based on product tags.

This gives you a powerful and flexible way to manage payment gateways across multiple products — without needing complex rules or custom code.


Why Use Tags for Payment Gateways?

Using tags helps you:

  • Apply payment rules to multiple products at once

  • Quickly manage large product catalogs

  • Create targeted checkout experiences

  • Simplify store management

For example, you can assign a specific payment gateway to all products tagged as “Digital”, “Subscription”, or “High Risk”.


How It Works

Once enabled, the plugin checks the tags assigned to the product and determines which payment gateways should be available at checkout.

  • If a product has a matching tag configuration → the selected payment gateways will be shown

  • If no match is found → the default WooCommerce payment gateways will be used


How to Enable the Tag Option

  1. Go to your WordPress Dashboard

  2. Navigate to: WooCommerce → Settings → Payment Gateways (or plugin settings)

  3. Locate the Tag option

  4. Enable the option by checking the “Enable” checkbox

  5. Save your settings


Configuring Payment Gateways by Tag

After enabling the Tag option:

  1. Open the payment gateway you want to configure

  2. Find the Tag settings section

  3. Choose whether to:

    • Include tags → only products with these tags will use this gateway

    • Exclude tags → products with these tags will NOT use this gateway

  4. Select one or multiple tags

  5. Save your configuration


Example Use Case

Let’s say you only want to allow PayPal for digital products:

  • Assign the tag “Digital” to your products

  • Configure PayPal to include the “Digital” tag

✅ Result: Only PayPal will be available at checkout for those products.


Default Behavior (Important)

If no payment gateway matches the selected tag configuration:

👉 The plugin will automatically fall back to your default WooCommerce payment gateways

This ensures that your checkout process always remains functional and uninterrupted.


Best Practices

  • Use clear and consistent tag names

  • Avoid overlapping include/exclude rules across multiple gateways

  • Test your checkout after making changes

  • Combine tag rules with product or category rules for advanced setups

​

​

Manual Installation Method 2 DFM Payment Gateway plugin for WooCommerce
How to Install and Activate the Plugin

Step-by-step guide to installing Payment Gateway Per Product for WooCommerce on your WordPress site.

Powered by initdesk
On this page
  • How to Use the Tag Option
  • How to Use the Tag Option
  • Tag options
  • Overview
  • Why Use Tags for Payment Gateways?
  • How It Works
  • How to Enable the Tag Option
  • Configuring Payment Gateways by Tag
  • Example Use Case
  • Default Behavior (Important)
  • Best Practices