Introduction to GT Extensions for FluentCart

  • JNext lesson
  • FSearch lessons
  • EscClear search

GT Extensions for FluentCart is a modular add-on plugin that extends Fluent Cart with eight purpose-built customization modules. Each module addresses a specific store need that Fluent Cart doesn’t handle out of the box.

GT Extensions for FluentCart adds eight purpose-built modules to a Fluent Cart store: cart text, quantity rules, pricing display, multi-currency checkout, external products, and social proof. Each module is independent, toggleable, and small, which is the entire philosophy: extend the cart without a megaplugin.

What GT Extensions Does

The plugin adds these capabilities to your Fluent Cart store:

  • Free Price Text: Replace $0.00 prices with custom text like “FREE”
  • Multi-Currency Checkout: Run one settlement currency per cart with price books, exchange rates, and currency-aware gateway routing
  • External Product: Keep products in your catalog while sending purchase clicks to an external website
  • Sold Count Display: Show “X sold” badges for social proof
  • Stock Urgency Labels: Display “Only X left!” warnings on low-stock products
  • Min/Max Quantity: Enforce minimum and maximum purchase quantities
  • Hide Price Until Login: Gate prices behind WordPress login
  • Custom Add to Cart Text: Change button text per product (“Subscribe”, “Pre-Order”, etc.)

How It Works

Module map of GT Extensions for FluentCart showing eight independent modules grouped by job, price display, buttons and quantity, social proof, and checkout systems, with the three storage locations: the gtfc_settings option, the wp_gtfc_currency_prices price book table, and the _gtfc_external_product post meta

Every module is independent. You enable only the ones you need. Disabled modules don’t load any code, add any database queries, or affect performance.

Module settings are stored in a single WordPress option (gtfc_settings). The Multi-Currency Checkout module adds one custom table (wp_gtfc_currency_prices) for its per-variation price book, and External Product stores its per-product configuration in the _gtfc_external_product post meta. Everything else hooks into Fluent Cart’s filter and action system to modify behavior without changing core files.

Architecture Overview

The plugin follows a modular, hook-based architecture:

  • Main class (GTExtensionsFluentCart), Singleton that checks dependencies and loads enabled modules
  • Modules (includes/Modules/), Each module is a self-contained PHP class with its own hooks, settings, and frontend output
  • Admin (includes/Admin/), License management, the update system, and the multi-currency settings renderer
  • Assets (assets/), Admin CSS/JS for the settings page plus frontend CSS/JS for the multi-currency selector and external product buttons

When WordPress loads, the plugin checks that Fluent Cart is active, reads which modules are enabled from the database, and initializes only those modules. Each module registers its own WordPress hooks during initialization.

Requirements

  • WordPress 6.0 or higher
  • PHP 7.4 or higher
  • Fluent Cart plugin (free or Pro version)
  • Fluent Cart 1.5.5 or higher for the External Product and Multi-Currency Checkout modules

Namespace and Prefixes

  • PHP namespace: GTExtensionsFluentCart
  • Function prefix: gtfc_
  • Option keys: gtfc_settings, gtfc_license
  • Text domain: gt-extensions-fluentcart
  • REST namespace: gt-extensions-fluentcart/v1
  • Constants: GTFC_VERSION, GTFC_PLUGIN_PATH, GTFC_PLUGIN_URL, GTFC_PLUGIN_FILE

Credits

GT Extensions for FluentCart is built by Gaurav Tiwari and released under the GPL v2 license.

Quick answers to common questions:

What are the eight modules in GT Extensions?

Custom Add to Cart Text, Min/Max Quantity, Free Price Text, Hide Price Until Login, Multi-Currency Checkout, External Product, Sold Count Display, and Stock Urgency Labels. Each has its own lesson in this course and its own enable toggle.

Does GT Extensions slow down my store?

No; disabled modules load no code, and enabled ones hook only the specific Fluent Cart filters they need. The plugin is a thin layer over Fluent Cart’s own extension points rather than a parallel system.