A module to add new pick up shipping methods for OpenMage.
GPL-2.0 License
Stop russian war. 🇺🇦 Free Ukraine!
A module to add new pick up shipping methods for OpenMage.
Composer dependencies:
Included dependencies:
External services:
In 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.
In 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.
In System / Configuration / Customer / Address Templates, templates are managed everywhere automatically with adamlc/address-format, phone numbers are formatted with giggsey/libphonenumber-for-php.
Shipping 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 <default>
tag in config.xml).
You 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.
The 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).
The country of the customer shipping address is used on the map, and can't be changed on the map.
This module doesn't generate any labels.
Demo links may not work, don't panic, it's not a bug.
Name | Logo/Link | Info |
---|---|---|
Chrono Relais | online demo: 42100, Saint-Étienne, FRapi: account required | |
Colis Privé | online demo: 42100, Saint-Étienne, FRapi: account required | |
Mondial Relay | online demo: 42100, Saint-Étienne, FRapi: account required | |
DPD FR Relais | online demo: 38500, Voiron, FRapi: free | |
InPost IT | online demo: 00121, Roma, ITapi: free | |
InPost GB | online demo: KA1 2QA, Kilmarnock, GBapi: free | |
InPost PL | online demo: 22-100, Chełm, PLapi: free | |
Pocztex | online demo: 50-307, Wrocław, PLapi: free | |
Packeta/Zásilkovna | online demo: 547 01, Náchod, CZapi: account required | |
Boxberry | don't work with this country, it's an enemy of your freedomonline demo: 664003, Иркутск, RUapi: free (demo token included with default configuration) | |
5post | don't work with this country, it's an enemy of your freedomonline demo: 127299, Москва, RUapi: account required | |
PickPoint | don't work with this country, it's an enemy of your freedomonline demo: 140000, Люберцы, RUapi: account required | |
Shiptor | don't work with this country, it's an enemy of your freedomonline demo: 454000, Челябинск, RUapi: free | |
Store delivery | online demo: 07200, Aubenas, FRsource of data: a TSV file | |
Store locator | online demosource of data: a TSV file |
Do you want more? Contact us, perhaps we can work together to add new methods! For example: Colissimo, Relais Colis, Swiss Post, GLS, UPS...
For one step checkout modules, you must edit your shipping methods template, for example with:
<?php foreach ($shippingRateGroups as $code => $rates): ?>
[...]
<?php foreach ($rates as $rate): ?>
[...]
<?php if ($this->helper('shippingmax')->isSpecial($code)): ?>
<?php echo Mage::getBlockSingleton('shippingmax/selected')
->setTemplate('kyrena/shippingmax/selected.phtml')
->setData('code', $code)
->toHtml() ?>
<?php else: ?>
[...]
<input type="radio" name="shipping_method"
value="<?php echo $rate->getCode() ?>" ...
[...]
<?php endif ?>
[...]
<?php endforeach ?>
<?php endforeach ?>
To display delivery times, you must edit your template with:
<?php $shippingDate = $this->helper('shippingmax')->getShippingDate($rate->getCode()) ?>
<?php if (!empty($shippingDate)): ?>
<?php echo $shippingDate ?>
<?php endif ?>
If you like, take some of your time to improve the translations, go to https://bit.ly/2HyCCEc.
With composer:
composer remove owebia/magento1-module-advanced-shipping
composer require kyrena/openmage-shippingmax
Without composer:
<customer>...</customer>
block in our system.xml