{"id":15068594,"url":"https://github.com/kyrena/openmage-shippingmax","last_synced_at":"2025-04-10T17:36:43.667Z","repository":{"id":57010303,"uuid":"350287822","full_name":"kyrena/openmage-shippingmax","owner":"kyrena","description":"A module to add new pick up shipping methods for OpenMage.","archived":false,"fork":false,"pushed_at":"2023-06-16T16:47:00.000Z","size":1051,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T15:11:21.916Z","etag":null,"topics":["es5","i18n","magento","magento-module","open-source","openmage","openmage-module","php7","php8","vanilla-js"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyrena.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T09:44:32.000Z","updated_at":"2023-04-05T06:44:51.000Z","dependencies_parsed_at":"2024-09-29T14:00:42.381Z","dependency_job_id":"5a877a9c-7940-4a03-9b14-0a791ff05c5b","html_url":"https://github.com/kyrena/openmage-shippingmax","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"bbce2bfca8eb3bcdc208747f6c9b5cab0edffafa"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyrena%2Fopenmage-shippingmax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyrena%2Fopenmage-shippingmax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyrena%2Fopenmage-shippingmax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyrena%2Fopenmage-shippingmax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyrena","download_url":"https://codeload.github.com/kyrena/openmage-shippingmax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248262044,"owners_count":21074236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es5","i18n","magento","magento-module","open-source","openmage","openmage-module","php7","php8","vanilla-js"],"created_at":"2024-09-25T01:38:27.230Z","updated_at":"2025-04-10T17:36:43.649Z","avatar_url":"https://github.com/kyrena.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Stop russian war. **🇺🇦 Free Ukraine!**\n\n# shippingmax\n\nA module to add new pick up shipping methods for [OpenMage](https://github.com/OpenMage/magento-lts).\n\nComposer dependencies:\n* [adamlc/address-format](https://github.com/adamlc/address-format)\n* [giggsey/libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php)\n* [azuyalabs/yasumi](https://github.com/azuyalabs/yasumi)\n\nIncluded dependencies:\n* [owebia/shipping](https://github.com/owebia/magento1-module-advanced-shipping) (2.6.10-lite, without jquery/editor/phpparser/doc)\n* [leaflet](https://leafletjs.com/) (1.9.4)\n\nExternal services:\n* [Nominatim](https://nominatim.org/): addresses geocoding (results are stored in database)\n* [DaData](https://dadata.ru/api/clean/address/): addresses geocoding (results are stored in database, only for RU and KZ), account required\n\n## New configuration options\n\nIn **System / Configuration / Delivery times**, you can configure _delivery times_ by country of delivery. You are seeing a `*` in section head? This is because all times are not yet configured.\n\nIn **System / Configuration / Shipping Methods / General**, you can _hide and clear configuration_ for a custom selection of unused shipping methods. You are seeing a `*` in section head? This is a mark to inform you that the shipping method is available for the default country of the current store view.\n\nIn **System / Configuration / Customer / Address Templates**, templates are managed everywhere automatically with _adamlc/address-format_, phone numbers are formatted with _giggsey/libphonenumber-for-php_.\n\n## New shipping methods (pick up)\n\nShipping methods are available for a selection of countries, depending on order weight and amount. All details are displayed in shipping methods configuration (you can also read content of `\u003cdefault\u003e` tag in *config.xml*).\n\n![Screenshot](images/config.png?raw=true)\n\nYou will love debugging URLs for pick up shipping methods. You opened a link and you see the map while the shipping method is disabled but have a title? It's not a bug, it's a feature.\n\nThe lists of pick up points are retrieved regularly from internet (via a cron job) and saved in `var/shippingmax/*.dat`. When cron jobs are disabled, lists are retrieved on demand (when a customer open the map, if the cache file doesn't exist or if the cache file has expired).\n\nThe country of the customer shipping address is used on the map, and can't be changed on the map.\n\nThis module doesn't generate any labels.\n\nDemo links may not work, don't panic, it's not a bug.\n\n| Name | Logo/Link | Info |\n| ---- | ---- | ---- |\n| **Chrono Relais** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-chronopost.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.chronopost.fr/fr/livraison/nos-offres/chrono-relais) | [online demo](https://cellu.blue/ef1sOP): 42100, Saint-Étienne, FR\u003cbr\u003eapi: account required |\n| **Colis Privé** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-colisprive.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.colisprive.fr/) | [online demo](https://cellu.blue/YSqL52): 42100, Saint-Étienne, FR\u003cbr\u003eapi: account required |\n| **Mondial Relay** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-mondialrelay.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.mondialrelay.fr/) | [online demo](https://cellu.blue/oNmaIV): 42100, Saint-Étienne, FR\u003cbr\u003eapi: account required |\n| **DPD FR Relais** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-dpd.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.dpd.fr/recherche-relais) | [online demo](https://cellu.blue/rlp2Ls): 38500, Voiron, FR\u003cbr\u003eapi: free |\n| **InPost IT** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-inpost.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://inpost.it/) | [online demo](https://cellu.blue/4K64Oc): 00121, Roma, IT\u003cbr\u003eapi: free |\n| **InPost GB** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-inpost.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.inpost.co.uk/) | [online demo](https://cellu.blue/ZQym8w): KA1 2QA, Kilmarnock, GB\u003cbr\u003eapi: free |\n| **InPost PL** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-inpost.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://inpost.pl/) | [online demo](https://cellu.blue/ZCWFMn): 22-100, Chełm, PL\u003cbr\u003eapi: free |\n| **Pocztex** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-pocztex.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.pocztex.pl/) | [online demo](https://cellu.blue/dPLFLI): 50-307, Wrocław, PL\u003cbr\u003eapi: free |\n| **Packeta/Zásilkovna** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-packeta.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://www.zasilkovna.cz/) | [online demo](https://cellu.blue/ub68fx): 547 01, Náchod, CZ\u003cbr\u003eapi: account required |\n| **Boxberry** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-boxberry.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://boxberry.ru/) | don't work with this country, it's an enemy of your freedom\u003cbr\u003e[online demo](https://cellu.blue/bsIhKh): 664003, Иркутск, RU\u003cbr\u003eapi: free (demo token included with default configuration) |\n| **5post** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-fivepost.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://fivepost.ru/) | don't work with this country, it's an enemy of your freedom\u003cbr\u003e[online demo](https://cellu.blue/6Y0hnT): 127299, Москва, RU\u003cbr\u003eapi: account required |\n| **PickPoint** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-pickpoint.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://pickpoint.ru/) | don't work with this country, it's an enemy of your freedom\u003cbr\u003e[online demo](https://cellu.blue/OMXVxH): 140000, Люберцы, RU\u003cbr\u003eapi: account required |\n| **Shiptor** | [\u003cimg src=\"src/skin/frontend/base/default/images/kyrena/shippingmax/ic-logo-shiptor.svg?raw=true\" alt=\"\" width=\"150\" height=\"50\"/\u003e](https://shiptor.ru/) | don't work with this country, it's an enemy of your freedom\u003cbr\u003e[online demo](https://cellu.blue/3RhP6s): 454000, Челябинск, RU\u003cbr\u003eapi: free |\n| **Store delivery** | | [online demo](https://cellu.blue/OmRX8p): 07200, Aubenas, FR\u003cbr\u003esource of data: a TSV file |\n| **Store locator** | | [online demo](https://cellu.blue/h9dhKJ)\u003cbr\u003esource of data: a TSV file |\n\nDo you want more? Contact us, perhaps we can work together to add new methods! For example: Colissimo, Relais Colis, Swiss Post, GLS, UPS...\n\n## Customization\n\nFor one step checkout modules, you must edit your shipping methods template, for example with:\n```php\n\u003c?php foreach ($shippingRateGroups as $code =\u003e $rates): ?\u003e\n\t[...]\n\t\u003c?php foreach ($rates as $rate): ?\u003e\n\t\t[...]\n\t\t\u003c?php if ($this-\u003ehelper('shippingmax')-\u003eisSpecial($code)): ?\u003e\n\t\t\t\u003c?php echo Mage::getBlockSingleton('shippingmax/selected')\n\t\t\t\t-\u003esetTemplate('kyrena/shippingmax/selected.phtml')\n\t\t\t\t-\u003esetData('code', $code)\n\t\t\t\t-\u003etoHtml() ?\u003e\n\t\t\u003c?php else: ?\u003e\n\t\t\t[...]\n\t\t\t\u003cinput type=\"radio\" name=\"shipping_method\"\n\t\t\t\tvalue=\"\u003c?php echo $rate-\u003egetCode() ?\u003e\" ...\n\t\t\t[...]\n\t\t\u003c?php endif ?\u003e\n\t\t[...]\n\t\u003c?php endforeach ?\u003e\n\u003c?php endforeach ?\u003e\n```\n\nTo display delivery times, you must edit your template with:\n```php\n\u003c?php $shippingDate = $this-\u003ehelper('shippingmax')-\u003egetShippingDate($rate-\u003egetCode()) ?\u003e\n\u003c?php if (!empty($shippingDate)): ?\u003e\n\t\u003c?php echo $shippingDate ?\u003e\n\u003c?php endif ?\u003e\n```\n\n## Copyright and Credits\n\n- Current version: 3.3.1 (16/06/2023)\n- Compatibility: OpenMage 19.x / 20.x / 21.x, PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2\n- Client compatibility: Firefox 36+, Chrome 32+, Opera 19+, Edge 16+, Safari 9+\n- Translations: English (en), French (fr-FR/fr-CA), German (de), Italian (it), Portuguese (pt-PT/pt-BR), Spanish (es) / Chinese (zh), Czech (cs), Dutch (nl), Greek (el), Hungarian (hu), Japanese (ja), Polish (pl), Romanian (ro), Russian (ru), Slovak (sk), Turkish (tr), Ukrainian (uk)\n- License: GNU GPL 2+\n\nIf you like, take some of your time to improve the translations, go to https://bit.ly/2HyCCEc.\n\n## Installation\n\nWith composer:\n- `composer remove owebia/magento1-module-advanced-shipping`\n- search and remove all owebia/shipping files and directories\n- `composer require kyrena/openmage-shippingmax`\n- clear cache\n\nWithout composer:\n- search and remove all owebia/shipping files and directories\n- download latest [release](https://github.com/kyrena/openmage-shippingmax/releases) and extract _src/*_ directories\n- here _adamlc/address-format_, _giggsey/libphonenumber-for-php_ and _azuyalabs/yasumi_ are not required and not used, so I suggest you remove `\u003ccustomer\u003e...\u003c/customer\u003e` block in our _system.xml_\n- clear cache\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyrena%2Fopenmage-shippingmax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyrena%2Fopenmage-shippingmax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyrena%2Fopenmage-shippingmax/lists"}