Skip to main content
The Site Store Pro plugin system supports display plugins (rendered via shortcodes into CMS pages and product descriptions) and shipping plugins (invoked programmatically to return real-time carrier rates). Plugins are managed at /admin/plugins — no Artisan commands are needed to activate or configure them.

Overview


Admin Panel (/admin/plugins)

Plugin List

Each plugin row displays:
  • Name and description
  • Type badge: display (indigo), shipping (amber), email (emerald)
  • Shortcode (for display plugins)
  • Version
  • Active toggle — saves immediately with no page reload
  • Settings button — opens the slide-in settings panel

Settings Panel

The settings panel slides in from the right and contains three tabs:
A data-driven form generated from the plugin’s plugin_options rows. Fields are rendered based on field_type (input, textarea, select, toggle, etc.). Changes are saved immediately on form submission.

Shortcode Syntax

Display plugins are embedded in any CMS page or product description using the shortcode format:
  • The slug immediately follows plugin:
  • Parameters are space-separated key=value pairs
  • No quotes needed around values unless they contain spaces

Accessing Plugin Settings in Code

Use the Plugin model to read and write settings programmatically:

Using PluginManager

The PluginManager singleton is available via the service container and handles both rendering display plugins and aggregating shipping rates:
The getShippingRates() call queries every active shipping plugin and merges the results into a single array, sorted low-to-high by rate.

Plugin Deployment Checklist

Run the following commands after a fresh installation or when adding new plugins:
Re-running the seeder is safe — all records use updateOrCreate, so existing settings are not overwritten.

Credential Storage

Carrier API credentials (FedEx, UPS, USPS) are stored in the plugin_settings table via the Admin Panel — not in .env.
This design means:
  • No environment variable changes are needed when adding or rotating carrier credentials
  • Different environments (staging, production) can maintain separate credentials in their own databases
  • Credentials can be updated at runtime without a deployment

Display Plugins

Slideshow, Featured Items, Cross-Sell List, Events Calendar, and Live Search.

Shipping Plugins

Real-time rates from FedEx REST API, UPS REST API, and USPS REST API v3.

Custom Plugins

Build and drop in your own display or shipping plugins.