Introduction

  • JNext lesson
  • FSearch lessons
  • EscClear search

GT Extensions for FluentCart is a modular add-on plugin that extends Fluent Cart with seven 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 seven purpose-built modules to a Fluent Cart store: cart text, quantity rules, pricing display, currencies, 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 Variations: Set different currencies per product variation
  • 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

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.

All settings are stored in a single WordPress option (gtfc_settings). There are no custom database tables. The plugin 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 and update system
  • Assets (assets/), Admin CSS/JS for the settings page and module widgets

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)

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 seven modules in GT Extensions?

Custom Add to Cart Text, Min/Max Quantity, Free Price Text, Hide Price Until Login, Multi-Currency Variations, 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.