Country Restriction

Restrict product shipping to specific countries — whitelist or blacklist, flexible and rule-based.

v1.0.0 JTL 5.2+ Rule-based

Everything at a Glance

Flexible country restrictions for products with shipping limitations.

Whitelist & Blacklist

Allow only specific countries or exclude specific countries — configurable per rule.

Rule-based Triggers

Restrictions by shipping class, characteristic, function attribute, category, or article number.

Checkout Validation

Server-side validation at checkout — orders with restricted products are blocked.

Frontend Notices

Color-coded notices on product and cart pages show shipping restrictions.

Localized Country Names

Country names are displayed in the customer's language (German/English).

Admin Interface

Rule management with activation toggle, sorting, and ISO country code input.

How It Works

Country-based shipping rules in three steps.

1. Create Rules

  • Define trigger type and value
  • Choose whitelist or blacklist
  • Enter ISO country codes (e.g. AT, DE, CH)

2. Automatic Checks

  • Notices on product and cart pages
  • Customers see allowed/excluded countries

3. Checkout Protection

  • Server-side validation at order placement
  • Orders with restricted products are blocked

Technical Details

Reliable, server-side validated, no external dependencies.

Requirements

  • JTL-Shop 5.2.0+
  • PHP 8.0+

Hooks

  • HOOK_SMARTY_OUTPUTFILTER
  • HOOK_BESTELLVORGANG_PAGE
  • HOOK_BESTELLABSCHLUSS

Validation

  • Frontend notices + server-side checks
  • Double protection at checkout

Control Shipping Countries Per Product

Flexible country restrictions for your JTL-Shop.

Get in Touch

Send a Message

Questions, feedback, or interested in the plugin? Write to us directly.