{"id":129330,"date":"2020-10-06T20:15:31","date_gmt":"2020-10-06T20:15:31","guid":{"rendered":"https:\/\/de.wordpress.org\/plugins\/distancr\/"},"modified":"2022-03-10T09:25:44","modified_gmt":"2022-03-10T09:25:44","slug":"distancr","status":"closed","type":"plugin","link":"https:\/\/de.wordpress.org\/plugins\/distancr\/","author":15816426,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.8","stable_tag":"trunk","tested":"5.9.16","requires":"4.6","requires_php":"7.2","requires_plugins":"","header_name":"Distancr","header_author":"Patrick Posner","header_description":"The smart solution to modify prices, product catalog, shipping methods and payment gateways by geo distance.","assets_banners_color":"","last_updated":"2022-03-10 09:25:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/patrickposner.dev\/plugins\/distancr","header_author_uri":"https:\/\/patrickposner.dev","rating":5,"author_block_rating":0,"active_installs":10,"downloads":885,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":6},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2394815,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2394815,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2394815,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2394815,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2394815,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2394815,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2394815,"resolution":"5","location":"assets","locale":""}},"screenshots":{"1":"Distancr Pricing Rules","2":"Distancr Locations","3":"Distancr Options","4":"Distancr Testing"}},"plugin_section":[],"plugin_tags":[191653,31970,191654,4124,286],"plugin_category":[49],"plugin_contributors":[152544],"plugin_business_model":[],"class_list":["post-129330","plugin","type-plugin","status-closed","hentry","plugin_tags-geo-blacklist","plugin_tags-geo-block","plugin_tags-geo-based-prices","plugin_tags-geolocation","plugin_tags-woocommerce","plugin_category-maps-and-location","plugin_contributors-patrickposner","plugin_committers-patrickposner"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/distancr.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/distancr\/assets\/screenshot-1.png?rev=2394815","caption":"Distancr Pricing Rules"},{"src":"https:\/\/ps.w.org\/distancr\/assets\/screenshot-2.png?rev=2394815","caption":"Distancr Locations"},{"src":"https:\/\/ps.w.org\/distancr\/assets\/screenshot-3.png?rev=2394815","caption":"Distancr Options"},{"src":"https:\/\/ps.w.org\/distancr\/assets\/screenshot-4.png?rev=2394815","caption":"Distancr Testing"},{"src":"https:\/\/ps.w.org\/distancr\/assets\/screenshot-5.png?rev=2394815","caption":""}],"raw_content":"<!--section=description-->\n<p>Distancr gives you the ability to set different prices for your products based on their current location.<\/p>\n\n<p>This is really useful if you have an online store and a local shop and don't want to argue about different pricing strategies online and offline.<\/p>\n\n<p>It can also help to setup different prices for different regions within a country or to setup prices on a per country level.<\/p>\n\n<p>The integrated rule editor provides an flexible and easy way to setup 2 pricing rules for your store.<\/p>\n\n<p>The integrated location editor enables you to set multiple your location and configure them with your rules.<\/p>\n\n<h4>Features<\/h4>\n\n<p><strong>Pricing<\/strong><\/p>\n\n<p>The pricing rule editor let you configure 2 rules for your location.<\/p>\n\n<p>You can configure:<\/p>\n\n<ul>\n<li>priority<\/li>\n<li>location<\/li>\n<li>distance (by unit)<\/li>\n<li>compare (smaller\/greater)<\/li>\n<li>product categories to apply<\/li>\n<li>price by percent (increase\/decrease)<\/li>\n<li>price by fix value (increase\/decrease)<\/li>\n<li>price by fix amount<\/li>\n<li>decide which prices to modify (regular\/sale\/all prices)<\/li>\n<\/ul>\n\n<p><strong>Locations<\/strong><\/p>\n\n<p>Set your location with latitude and longitude or use Google Maps Autocomplete to find the right location.<\/p>\n\n<p>If you need an easy way to find latitude or longitude values for your location, take a look here: <a href=\"https:\/\/www.latlong.net\/\">latlong.net<\/a><\/p>\n\n<p><strong>Testing<\/strong><\/p>\n\n<p>The best testing tool for geolocation. Easily set your another location in the frontend and see how your prices modify in realtime.<\/p>\n\n<p>This tool is only available for logged-in administrators and with active testing mode (activated by default).<\/p>\n\n<p><strong>API<\/strong><\/p>\n\n<p>To use Distancr you need an API key from one of these three providers:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/ipstack.com\/\">ipstack.com<\/a><\/li>\n<li><a href=\"https:\/\/ipapi.com\/\">ipapi.com<\/a><\/li>\n<li><a href=\"https:\/\/www.maxmind.com\">maxmind.com<\/a><\/li>\n<\/ul>\n\n<p>In case of maxmind, you have to use the webservice.<\/p>\n\n<p>Additional instructions on how to setup the API providers with Distancr can be found here: <a href=\"https:\/\/patrickposner.dev\/docs\/distancr\/options\/\">patrickposner.dev\/docs\/distancr\/options\/<\/a><\/p>\n\n<h3>Distancr Pro<\/h3>\n\n<p>There is also an pro version of Distancr which includes the following features:<\/p>\n\n<p><strong>Rule Editor<\/strong><\/p>\n\n<ul>\n<li>setup an unlimited number of global pricing rules<\/li>\n<\/ul>\n\n<p><strong>Multiple Locations<\/strong><\/p>\n\n<ul>\n<li>setup an unlimited number of different locations<\/li>\n<\/ul>\n\n<p><strong>Blocklists<\/strong><\/p>\n\n<ul>\n<li>block payment gateways by geolocation \/ geoip<\/li>\n<li>hide products by geolocation \/ geoip<\/li>\n<li>block shipping methods by geolocation \/ geoip<\/li>\n<\/ul>\n\n<p><strong>Pricing Per Product \/ Pricing Per Variation<\/strong><\/p>\n\n<ul>\n<li>set pricing rules per product<\/li>\n<li>set pricing rules for each variation<\/li>\n<li>overwrite global pricing rules<\/li>\n<\/ul>\n\n<h3>Documentation<\/h3>\n\n<p>I regulary optimize the documentation and release extensive tutorials on how to use Distancr in a multitude of use-cases.<\/p>\n\n<p>Learn more on <a href=\"https:\/\/patrickposner.dev\/docs\/distancr\">patrickposner.dev\/docs<\/a><\/p>\n\n<h3>Support<\/h3>\n\n<p>The free support is exclusivly limited to the wordpress.org support form.\nAny kind of e-mail and priority support requires a valid pro license.<\/p>\n\n<h3>CODING STANDARDS MADE IN GERMANY<\/h3>\n\n<p>The plugin is coded with <strong>modern PHP<\/strong> and <strong>WordPress standards<\/strong> in mind. It\u00e2\u20ac\u2122s fully OOP coded.<\/p>\n\n<p>It\u00e2\u20ac\u2122s highly extendable for developers through several action and filter hooks.<\/p>\n\n<p>Distancr keeps your website performance in mind. Every script is <strong>loaded conditionally<\/strong> and all input and output data is secured.<\/p>\n\n<h3>MULTI-LANGUAGE<\/h3>\n\n<p>All major texts and information can be modified from the admin area of Distancr.<\/p>\n\n<p>The plugin is <strong>fully translatable<\/strong> in your language. At the moment there are only en_EN and de_DE, but you can easily add your preferred language as a .po\/.mo.<\/p>\n\n<p>It\u2019s also fully compatible with WPML and Polylang.<\/p>\n\n<!--section=installation-->\n<p>Distancr is simple to install:<\/p>\n\n<ol>\n<li>Download the .zip'<\/li>\n<li>Unzip<\/li>\n<li>Upload the directory to your '\/wp-content\/plugins' directory<\/li>\n<li>Go to the plugin management page and enable the Distancr Plugin<\/li>\n<li>Browse to WooCommerce-&gt;Settings &gt; Distancr<\/li>\n<li>Customise your settings and your good to go!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.8<\/h4>\n\n<ul>\n<li>fixed PHP notice for variations<\/li>\n<li>Freemius SDK updated<\/li>\n<li>Removed IP checkup for easier comparisons<\/li>\n<li>default value for priority<\/li>\n<\/ul>\n\n<h4>1.1.6 + 1.1.7<\/h4>\n\n<ul>\n<li>better TM Extra Product options handling<\/li>\n<li>preventing error if class not exists<\/li>\n<li>bugfix for blocklist<\/li>\n<li>removed comma to prevent error on some server configuration from apply_filters()<\/li>\n<li>WP 5.8 + WooCommerce 5.4 check<\/li>\n<\/ul>\n\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>prevent issues on some server configurations<\/li>\n<li>improved IP checkup<\/li>\n<li>improved performance<\/li>\n<li>improved TM Extra Product Options support<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>product price apply bugfix<\/li>\n<li>latest freemius sdk<\/li>\n<li>WooCommerce Extra Product options compatibility<\/li>\n<li>variation price calculation bugfix<\/li>\n<li>fixed sanitizing issue<\/li>\n<li>improved security with nonces for ajax<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>bugfix to delete all rules<\/li>\n<li>integrated frontend testing tool<\/li>\n<li>improved automatic blacklisting and API Usage<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>fixed product price comparison for reserved naming in linux<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>support for multiple shipping methods by method id<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>reducing API-Usage<\/li>\n<li>Cleaner code and less conditionals<\/li>\n<li>general location function in plugin main file.<\/li>\n<li>added block ip's option and blacklist<\/li>\n<li>added write log function and option<\/li>\n<li>updated translation<\/li>\n<li>continue for correct pricing rules<\/li>\n<li>easier debug mode<\/li>\n<li>DEBUG constant for locations when logged in as admin.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Set different prices per customer location in your WooCommerce store with Distancr.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/129330","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=129330"}],"author":[{"embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/patrickposner"}],"wp:attachment":[{"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=129330"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=129330"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=129330"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=129330"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=129330"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/de.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=129330"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}