---
title: Options and Settings Reference
description: "Every Payment Methods by Product & Country for WooCommerce setting with its option ID, default, and free or Pro status."
url: "https://wpfactory.com/docs/payment-gateways-options-reference/"
updated: "2026-09-27"
category: References
---

# Options and Settings Reference

This reference lists every setting in [Payment Methods by Product & Country for WooCommerce](https://wpfactory.com/item/payment-gateways-per-product-for-woocommerce/), with its option id, default and Free/Pro status, grouped by settings tab. All settings live at **WPFactory > Payment Gateways per Products** (also reachable at **WooCommerce > Settings > Payment Gateways per Products**).

### General tab (Advanced Options)

| Setting | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Fallback gateway (Enable) | `alg_wc_pgpp_advanced_fallback_gateway_enabled` | No | Pro |
| Choose fallback gateway | `alg_wc_pgpp_advanced_fallback_gateway` | (none) | Pro |
| Add filter (hook timing) | `alg_wc_pgpp_advanced_add_hook` | init | Free |

**Add filter** accepts `constructor` (In constructor), `init` (On "init" action), or `wp_loaded` (On "wp_loaded" action).

### Product Categories tab

| Setting | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable section | `alg_wc_pgpp_product_cat_section_enabled` | Yes | Free |
| Include (per gateway) | `alg_wc_pgpp_categories_include_<gateway_id>` | (none) | Free |
| Exclude (per gateway) | `alg_wc_pgpp_categories_exclude_<gateway_id>` | (none) | Free |

### Product Tags tab

| Setting | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable section | `alg_wc_pgpp_product_tag_section_enabled` | Yes | Free |
| Include (per gateway) | `alg_wc_pgpp_tags_include_<gateway_id>` | (none) | Free |
| Exclude (per gateway) | `alg_wc_pgpp_tags_exclude_<gateway_id>` | (none) | Free |

### Products tab (Pro)

| Setting | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable section | `alg_wc_pgpp_products_section_enabled` | No | Pro |
| Add variations | `alg_wc_pgpp_products_add_variations` | No | Pro |
| Include (per gateway) | `alg_wc_pgpp_products_include_<gateway_id>` | (none) | Pro |
| Exclude (per gateway) | `alg_wc_pgpp_products_exclude_<gateway_id>` | (none) | Pro |

### Countries tab (Pro)

| Setting | Option ID | Default | Free/Pro |
| --- | --- | --- | --- |
| Enable section | `alg_wc_pgpp_countries_remove_enabled` | No | Pro |
| Combine conditions from other sections | `alg_wc_pgpp_countries_combine_condition` | No | Pro |
| Number of restrictions | `alg_wc_pgpp_countries_restriction_number` | 1 | Pro |
| Choose countries (block 1) | `alg_wc_pgpp_countries_remove_countries` | (none) | Pro |
| Choose gateways (block 1) | `alg_wc_pgpp_countries_remove_include_gateway` | (none) | Pro |

Later blocks add a numeric suffix, for example `alg_wc_pgpp_countries_remove_countries_2` and `alg_wc_pgpp_countries_remove_include_gateway_2`.

### Per-section reset

Each tab also carries a **Reset settings** checkbox, stored as `wpfactory_wc_pgpp_<section>_reset`. Ticking it and saving clears that section's options.

**Note for developers:** option keys use the `alg_wc_pgpp_` prefix, while the plugin's action and filter hooks use `wpfactory_wc_pgpp_` (renamed in v2.0.0). See the developer hooks and filters reference.

### Need a hand?

Ask our team on the [Payment Gateways per Products support forum](https://wpfactory.com/support/item/payment-gateways-per-product-for-woocommerce/).

Related articles

- [Payment Methods by Product & Country: Developer Hooks and Filters Reference](https://wpfactory.com/docs/payment-gateways-developer-hooks-filters/)
