GMT Pricing Parity
Display country-specific EDD discounts to visitors.
by Chris Ferdinandi · github.com/cferdinandi/gmt-pricing-parity · website
★ 9stars
1forks
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/cferdinandi/gmt-pricing-parity/archive/refs/heads/master.zipDeclares an update source (https://github.com/cferdinandi/gmt-pricing-parity/), so updates arrive through the plugin's own updater.
From the readme
GMT Pricing Parity
Localize base prices for different countries. Automatically adjusts the price of items in-cart and displays a message.
Display a message about the localized pricing with the short code [pricingparity]. Pass in a string with the variables below to customize.
Template variables
- {{country}} - the country name
- {{iso}} - the country ISO code
- {{amount}} - the discount amount
Working with the API
You can also get data back using the WP Rest API.
Live Data
Test GeoIP
License
The code is available under the GPLv3 License. This product includes GeoLite2 data created by MaxMind, available from
https://www.maxmind.com.