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.
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
Download
Download the gunammo-deals-price-table.zip file.
Upload
In WordPress admin go to Plugins → Add New → Upload Plugin and select the zip file.
Activate
Click "Activate Plugin" after installation completes.
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
| Attribute | Example | Description |
|---|---|---|
| id | 020892229883 | Product UPC or lookup key. The primary way to identify what product to show prices for. |
| term | 9mm ammo | Alternative to id — a text search term sent to the API. |
| size | 8 | Number of rows (offers) to display. Range 1–50, default 5. |
| title | Winchester 9mm Prices | Custom heading above the table. Defaults to "Latest prices for [term]". |
| design | design-07 | Design preset (design-01 through design-10). |
| primary_color | #0ea5e9 | Override the primary accent color. |
| secondary_color | #111827 | Override the secondary color. |
| accent_color | #f59e0b | Override the badge and highlight color. |
| background_color | #ffffff | Override the table background. |
| text_color | #0f172a | Override the body text color. |
| title_font_size | 24px | Override the title font size (px, rem, em). |
| body_font_size | 14px | Override the body font size. |
| button_font_size | 13px | Override the button font size. |
| button_text | See Price | Custom label for the deal button. Default: "View Deal". |
| show_search_more | no | Show or hide the "Search more deals" footer link. Default: yes. |
| avantlink_value | 500001 | Per-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.
Signal Grid
Subtle warm-gradient card with amber highlights.
design-01Glass Panel
Frosted-glass backdrop blur effect.
design-02Midnight Ledger
Dark navy background with cool typography.
design-03Ammo Tag
Tactile hatched header with bold border accent.
design-04Minimal Commerce
Flat, clean, no shadow — content-first layout.
design-05Editorial Compare
Warm cream tones with serif titles.
design-06Neon Pulse
Deep dark with electric cyan-blue gradient buttons.
design-07Tactical Slate
Cool steel gradient with charcoal buttons.
design-08Premium Card Stack
Light saffron base with warm amber box shadow.
design-09Radar Board
Emerald-green dark mode with lime accents.
design-10Plugin Settings
All settings are found under Settings → GunAmmo Price Tables in your WordPress admin.
General & Appearance
| Setting | Description |
|---|---|
| API Endpoint | The GunAmmo Deals API URL. Pre-configured — only change if directed by support. |
| API Key | Your authentication key for the API. |
| Default Results | Default number of price rows shown per table (1–50). |
| Default Design | Which of the 10 design presets to use when none is specified in the shortcode. |
| Cache TTL | How long API responses are cached (seconds). Default 900 (15 min). |
| Primary Color | Buttons and accent color. Default #a91101. |
| Secondary Color | Dark UI elements. Default #111827. |
| Accent Color | Badges and highlights. Default #f59e0b. |
| Background Color | Table background. Default #ffffff. |
| Text Color | Body text. Default #0f172a. |
| Title Font Size | Heading text size. Default 28px. |
| Body Font Size | Table body text size. Default 15px. |
| Button Font Size | Deal button text size. Default 14px. |
| Button Text | Label for every deal button. Default: "View Deal". |
| Backlink Text | Footer attribution text. Default: "Powered by gunammo.deals". |
| Backlink URL | Footer attribution link destination. |
| Search More Label | Text for the footer "search more" link. |
| Search More Base URL | Base 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.
| Setting | Description |
|---|---|
| Enable AvantLink Rewriting | Toggle AvantLink affiliate URL rewriting on/off. |
| Domain Match | The domain to match (e.g. avantlink.com). Only URLs containing this domain are rewritten. |
| P Param Name | The campaign parameter key. Default: p. |
| P Expected Value | The default p value in API URLs that should be replaced. |
| P Replacement Value | Your own AvantLink campaign (p) value. |
| PW Param Name | The publisher website parameter key. Default: pw. |
| PW Expected Value | The default pw value in API URLs that should be replaced. |
| PW Replacement Value | Your own AvantLink publisher website (pw) value. |
| Force Replace | Replace parameters even if the expected value doesn't match. |
| Extra Params | Additional 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_campaignAvailable 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.