Appearance
Changelog
2.0.0 (unreleased)
- public release
- Updated: requires ExpressionEngine 7.3+ and PHP 8.2+, the add-on can no longer be installed on older versions (Breaking change)
- Updated: the add-on uses the ExpressionEngine 7 add-on installer and migrations
- Updated: requires Store 4.0.0 or later, checked on install, on update and in the CP (Breaking change)
- Updated: the webhook has a new URL (
.../reinos-store-my-parcel-webhook) and is registered in your MyParcel account when you save the settings; after updating, save the settings once, the old URL no longer works (Breaking change) - Updated: removed the undocumented
{reinos_store_my_parcel_action_url}global variable - Updated: removed unused code and legacy leftovers
- Updated: the control panel pages use the ExpressionEngine 7 control panel routes. Changed URLs: the Parcels overview is now the add-on's start page (
.../reinos_store_my_parcel/parcelsno longer exists), a parcel is.../parcel/<order_id>(was.../parcel/<parcel_id>/<order_id>) and a rule is.../rule/<rule_id>(was.../rules/<rule_id>) - Added: a Package Type setting per rule, used by the automatic export (was always Package) and as the default when you create a parcel by hand
- Added: a Weight unit setting (kg, g or lbs); the weight is sent to MyParcel in grams
- Added: filters (severity, date, keyword), bulk delete and a CSV export on the log page in the CP
- Added: filters on the Parcels page (parcel status, date, keyword) and the Rules page (country, carrier) in the CP
- Updated: the Parcels page in the CP has the same layout as the order overview of Store, with a clickable row and an actions menu per row
- Updated: the parcel page and the MyParcel panel in the Store order view have the same layout as the order page of Store
- Added: a View parcel or Create parcel link in the actions menu of the Store order view (Store 4.0.0 and later)
- Bugfix: where the webhook never updated a parcel: MyParcel calls the URL in lowercase (an
?ACT=URL doesn't work then) and sends the shipment as JSON - Bugfix: where a parcel with a street name longer than 20 characters couldn't be saved (or the street was cut off), while the shipment was already created in MyParcel
- Bugfix: where the settings page could change any Store setting, and always overwrote the log setting of Store with the MyParcel log setting
- Bugfix: where
{order:shipping_status}in templates and emails returned the html of the CP badge instead of e.g. "Myparcel - delivered" - Bugfix: where the Store order view showed the old shipping status and address after the sync with MyParcel, until the next view
- Bugfix: where an error of the MyParcel SDK during the automatic export could stop the payment processing of Store, and an export without an API key gave an error instead of a message
- Bugfix: where the error of a failed export on the parcel page was not escaped
- Bugfix: where creating a parcel by hand replaced the MyParcel shipping method (rule) of the order with
myparcel__0 - Bugfix: where every export and sync replaced the shipping address of the order with the address in MyParcel; it is now only copied when the address changed in MyParcel
- Updated: per carrier only the rule with the highest weight threshold the cart reaches is offered (all rules up to the cart weight were offered, so a customer could pick a cheaper rule for a lower weight), and a cart without weight only gets the rules with a threshold of 0; the description of the weight threshold in the CP said it was a maximum
- Bugfix: where the weight was sent to MyParcel as a whole number in the unit of the Store (2.5 kg became 2 g), and every sync changed the weight of the parcel
- Bugfix: where the customer name on the Parcels page was not escaped
- Bugfix: where the customer data on the parcel page was not escaped
- Bugfix: where the print links on the parcel page gave a 404
- Bugfix: where a failed sync with MyParcel was never shown on the parcel page
- Updated: a parcel whose shipment is not found in MyParcel is no longer deleted when you view the order (a changed API key or another MyParcel account per MSM site removed every viewed parcel); the order view shows a warning and the parcel page has a Delete local parcel button
- Bugfix: where syncing a parcel with MyParcel always failed (
No such property: 'weight'), so the status, barcode and address of a parcel were never updated by the sync - Bugfix: where the paging of the Parcels and Rules pages used the wrong total
- Bugfix: where Delete all logs also deleted the logs of the other sites
