WooCommerce

WooCommerce Integration

Easy · 3 minutes setup · Download Plugin

Installation Guide

Install our official WordPress plugin for the easiest setup — automatic product detection, admin settings panel, category exclusions, and shortcode support.

Download Plugin

gunupdate-woocommerce.zip — v1.0.0

Download .zip

1 Install Plugin

Go to WordPress Admin → Plugins → Add New → Upload Plugin. Select the downloaded gunupdate-woocommerce.zip and click Install Now. Then click Activate.

2 Configure Settings

Go to WooCommerce → GunUpdate Widget. Enter your API key, choose widget mode, position, and theme. Click Save Settings.

3 Test Connection

Click the Test API Connection button on the settings page. If successful, visit any product page to see the widget.

Shortcode

If you set position to "Manual", use the shortcode in your product templates:

[gunupdate]
[gunupdate mode="builder"]
[gunupdate mode="configurator"]

Category Exclusion

In the settings panel, check categories where the widget should NOT appear (e.g., "Apparel", "Gift Cards"). The widget will only show on product pages in unchecked categories.

Custom Styling

Add custom CSS in the settings panel to match your theme:

#gunupdate-widget {
    margin-top: 20px;
    border-radius: 12px;
}
#gunupdate-widget .gu-btn-primary {
    background: #your-brand-color;
}

Widget Modes

compatibility

"Does this fit my gun?" — customer uploads photo or selects model, gets yes/no answer + compatible products from your store.

builder

Interactive gun builder — clickable hotspot zones on a gun silhouette. Customers explore accessory categories visually.

configurator

Full experience — build + compatibility check + smart recommendations. Best for stores with 50+ gun accessories.

Data Attributes Reference

Attribute Required Description
data-storeYesYour API key
data-product-idYesProduct ID on your platform
data-product-nameNoProduct name for better matching
data-product-skuNoSKU for precise matching
data-modeNocompatibility | builder | configurator
data-themeNolight | dark | auto
data-platformNoPlatform identifier for analytics
data-langNoLanguage code (default: en)

Requirements

  • • WordPress 5.8+
  • • WooCommerce 6.0+
  • • PHP 7.4+
  • • GunUpdate API key

Need an API key?

Free plan — 100 checks/month. No card required.

Get Free API Key

Need Help?

Our team can help with installation.

support@gunupdate.com