Free WordPress Plugin

GunAmmo Deals Price Table

Embed live, API-powered price comparison tables for firearms and ammunition inside any WordPress post or page. 10 design presets, full affiliate support, click analytics, and works with every major page builder.

Get Your Free API Key

Enter your email and WordPress site domain. We'll send the API key to your inbox.

Just the domain — no https:// needed.

Key Features

Everything you need to display real-time pricing in your articles.

🎨

10 Design Presets

From minimal white to dark neon — pick a design that fits your site's look, or customize every color.

Live API Pricing

Prices are fetched directly from the GunAmmo Deals API and cached for performance. Always current.

💰

Affiliate Support

AvantLink p & pw parameter rewriting plus per-merchant UTM tracking rules for revenue attribution.

📊

Click Analytics

Every deal click is logged. View top terms, stores, and designs in the built-in admin dashboard with CSV export.

📱

Fully Responsive

Tables collapse to stacked cards on tablets and phones. Two breakpoints (980px and 480px) for optimal sizing.

🧩

All Page Builders

Native integrations for Gutenberg, Elementor, WPBakery, Beaver Builder, and classic widgets.

Installation

1

Download

Download the gunammo-deals-price-table.zip file.

2

Upload

In WordPress admin go to Plugins → Add New → Upload Plugin and select the zip file.

3

Activate

Click "Activate Plugin" after installation completes.

4

Configure

Navigate to Settings → GunAmmo Price Tables and enter your API key. Pick your default design and colors.

Shortcode Reference

Add a price table anywhere with the [gad_price_table] shortcode.

Quick Examples

Basic — by UPC

[gad_price_table id="020892229883"]

Search term with custom design

[gad_price_table term="9mm ammo" size="10" design="design-07"]

Full customization

[gad_price_table id="020892229883" title="Winchester 9mm 115gr" size="8" design="design-03" primary_color="#0ea5e9" accent_color="#eab308" button_text="Check Price"]

All Shortcode Attributes

AttributeExampleDescription
id020892229883Product UPC or lookup key. The primary way to identify what product to show prices for.
term9mm ammoAlternative to id — a text search term sent to the API.
size8Number of rows (offers) to display. Range 1–50, default 5.
titleWinchester 9mm PricesCustom heading above the table. Defaults to "Latest prices for [term]".
designdesign-07Design preset (design-01 through design-10).
primary_color#0ea5e9Override the primary accent color.
secondary_color#111827Override the secondary color.
accent_color#f59e0bOverride the badge and highlight color.
background_color#ffffffOverride the table background.
text_color#0f172aOverride the body text color.
title_font_size24pxOverride the title font size (px, rem, em).
body_font_size14pxOverride the body font size.
button_font_size13pxOverride the button font size.
button_textSee PriceCustom label for the deal button. Default: "View Deal".
show_search_morenoShow or hide the "Search more deals" footer link. Default: yes.
avantlink_value500001Per-table AvantLink publisher (pw) override.

10 Design Presets

Pick a preset that matches your site and override any color from the shortcode or admin settings.

01

Signal Grid

Subtle warm-gradient card with amber highlights.

design-01
02

Glass Panel

Frosted-glass backdrop blur effect.

design-02
03

Midnight Ledger

Dark navy background with cool typography.

design-03
04

Ammo Tag

Tactile hatched header with bold border accent.

design-04
05

Minimal Commerce

Flat, clean, no shadow — content-first layout.

design-05
06

Editorial Compare

Warm cream tones with serif titles.

design-06
07

Neon Pulse

Deep dark with electric cyan-blue gradient buttons.

design-07
08

Tactical Slate

Cool steel gradient with charcoal buttons.

design-08
09

Premium Card Stack

Light saffron base with warm amber box shadow.

design-09
10

Radar Board

Emerald-green dark mode with lime accents.

design-10

Plugin Settings

All settings are found under Settings → GunAmmo Price Tables in your WordPress admin.

General & Appearance

SettingDescription
API EndpointThe GunAmmo Deals API URL. Pre-configured — only change if directed by support.
API KeyYour authentication key for the API.
Default ResultsDefault number of price rows shown per table (1–50).
Default DesignWhich of the 10 design presets to use when none is specified in the shortcode.
Cache TTLHow long API responses are cached (seconds). Default 900 (15 min).
Primary ColorButtons and accent color. Default #a91101.
Secondary ColorDark UI elements. Default #111827.
Accent ColorBadges and highlights. Default #f59e0b.
Background ColorTable background. Default #ffffff.
Text ColorBody text. Default #0f172a.
Title Font SizeHeading text size. Default 28px.
Body Font SizeTable body text size. Default 15px.
Button Font SizeDeal button text size. Default 14px.
Button TextLabel for every deal button. Default: "View Deal".
Backlink TextFooter attribution text. Default: "Powered by gunammo.deals".
Backlink URLFooter attribution link destination.
Search More LabelText for the footer "search more" link.
Search More Base URLBase URL for the search link. The product term is appended automatically.

AvantLink Affiliate Settings

Configure these to automatically rewrite deal links so you earn affiliate commissions.

SettingDescription
Enable AvantLink RewritingToggle AvantLink affiliate URL rewriting on/off.
Domain MatchThe domain to match (e.g. avantlink.com). Only URLs containing this domain are rewritten.
P Param NameThe campaign parameter key. Default: p.
P Expected ValueThe default p value in API URLs that should be replaced.
P Replacement ValueYour own AvantLink campaign (p) value.
PW Param NameThe publisher website parameter key. Default: pw.
PW Expected ValueThe default pw value in API URLs that should be replaced.
PW Replacement ValueYour own AvantLink publisher website (pw) value.
Force ReplaceReplace parameters even if the expected value doesn't match.
Extra ParamsAdditional query parameters appended to AvantLink URLs (one per line, e.g. ctc=wp_plugin).

Merchant Tracking Rules

Add per-store UTM or conversion parameters. One rule per line in the format:

domain.com|utm_source=wordpress&utm_medium=affiliate&utm_campaign=my_campaign

Available Tokens

  • {term} — the search term or UPC
  • {store} — the store/retailer name
  • {design} — the active design preset ID
  • {page_host} — the WordPress site hostname

Page Builder Integrations

Works natively with every major WordPress page builder — no extra configuration needed.

Gutenberg (Block Editor)

Search for "GunAmmo Price Table" in the block inserter. All attributes appear as block controls in the sidebar.

Elementor

Find the "GunAmmo Price Table" widget in the Elementor panel. Drag it into your layout and configure from the widget controls.

WPBakery / Visual Composer

The element is registered under the "Content" category. Click "+" to add it and fill in the settings.

Beaver Builder

Look for the "GunAmmo Deals" group in the module panel. Drop the module into your layout.

Classic Widget

Go to Appearance → Widgets. Add the "GunAmmo Price Table" widget to any sidebar or widget area.

Raw Shortcode

Paste the [gad_price_table] shortcode into any post, page, or text widget. Works everywhere WordPress processes shortcodes.

Click Analytics Dashboard

Every deal button click is tracked server-side. The analytics dashboard is accessible from your WordPress admin under GunAmmo Price Tables → Analytics.

Total Clicks

All-time click count across all tables.

Top Search Terms

Which product searches generate the most engagement.

Top Stores

Which retailers your readers click on most.

Top Designs

Which design presets drive the most deal clicks.

Additional Features

  • Date filtering — filter analytics by start and end date.
  • CSV export — download filtered click data as a spreadsheet.
  • Recent clicks — view the last 20 clicks with full details (term, store, design, URL, referrer).

Frequently Asked Questions

Find answers to common questions about installing, configuring, and using the plugin.

Requirements

WordPress

5.8+

PHP

7.4+

Outbound HTTPS

Required

Plugin Version

1.0.1

Need Help?

If you run into issues or have feature requests, reach out and we will help you get set up.