WC Regional Catalog
Multi-regional product catalog for WooCommerce with individual prices per city/region.
by Konstantin Sorokin · github.com/kostyasorokin/wc-regional-catalog
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/kostyasorokin/wc-regional-catalog/archive/refs/heads/main.zipWC Regional Catalog (for WooCommerce)
WooCommerce Regional Catalog is an enterprise-grade extension that enables multi-regional pricing, localized stock visibility, and SEO-first city-specific routing for WooCommerce stores.
Designed for scalability, it abandons heavy database meta-queries in favor of native taxonomy filtering (tax_query), making it incredibly fast even for catalogs with thousands of products.
🚀 Key Features
- SEO-First Regional Routing: Automatically generates physical-like URLs for regions (e.g.,
site.com/shop/kyiv/orsite.com/shop/kharkiv/orsite.com/shop/new-york/). Perfect for local SEO strategies and capturing low-hanging fruit in regional search queries. - Dynamic Pricing Engine: Set custom Regular and Sale prices per city/region without duplicating products. Prices are seamlessly updated in the catalog, cart, and checkout.
- Enterprise XML Feeds: Built-in, zero-configuration Google Merchant Center RSS 2.0 feed generator. Generates isolated feeds per region (e.g.,
/?wcrc_feed=1®ion=new-york) for hyper-targeted Google Shopping campaigns. - Strictly OOP & PSR-4: Built with modern PHP 8.3 standards, utilizing Composer for autoloading and maintaining a clean, modular architecture.
- Zero Frontend Bloat: No heavy JavaScript or unnecessary CSS injected into the frontend. Pure server-side rendering for maximum Core Web Vitals performance.
🛠 Installation
Since this plugin utilizes modern PHP practices and Composer, it should be installed via CLI.
- Install the Plugin Choose one of the following methods to get the plugin files:
Option A: Manual Upload (Recommended)
- Download the plugin as a
.zipfile. - Upload the extracted folder to the
/wp-content/plugins/directory.
Option B: Via Git (For Developers)
- Clone or download the repository into your WordPress plugins folder:
cd wp-content/plugins/ git clone https://github.com/kostyasorokin/wc-regional-catalog.git
- Activate the plugin through the 'Plugins' menu in WordPress.
- Go to Products -> Regions to add your target cities.
- (Optional) Set one city as the Default Region.
- Edit any product to set Regional Prices in the Product Data meta box.
- Place the
[wc_region_switcher]shortcode in your theme.
🔗 Features & Usage
Displaying the Switcher
There are two ways to display the region selector:
- Shortcode: Place
[wc_region_switcher]in any page, post, or widget. - PHP Helper: For theme developers, use the static helper in your template files:
<?php if (class_exists('\WCRC\App\Switcher')) \WCRC\App\Switcher::display(); ?>
Google Merchant Center Integration
Each region automatically gets its own XML product feed for highly targeted Google Shopping campaigns.
Feed URL Format:
site.com/?wcrc_feed=1®ion=city-slugsite.com/?wcrc_feed=1®ion=kharkivsite.com/?wcrc_feed=1®ion=london