Skip to content

Upgrading to 2.0 ​

2.0.0 is a major release. Most sites update without changes, but read this page before you update: it lists what you have to check in your templates and settings. All changes are in the changelog.

You can update directly from any 1.x version, follow the update instructions. Make a backup of the files and the database first, and test the update on a copy of your site when you can.

Requirements ​

2.0.0 requires ExpressionEngine 7.3+, PHP 8.2+ and Reinos Store 4.0.0 or later. The install and the update check the Store version: update Reinos Store first, otherwise the update of Store Pickup is skipped with a message. cURL is no longer required. For ExpressionEngine 6 and lower use the legacy package in the download (legacy/ee_reinos_store_pickup-v1.3.0.zip).

Check your templates ​

Pickup orders are pending ​

A checkout without payment for a pickup location and the pay at pickup option place an unpaid order with the Manual gateway, with the status of its Status of a new order setting (Pending by default). With Store Email, use a template on Pending and not paid for these orders. See How does it work.

Shipping carrier ​

The shipping carrier of a pickup order is the label of the location instead of the Gateway Label, so orders, emails and invoices show which location was chosen. The Gateway Label is only used in the gateway list. Check the templates and emails that show the shipping method of a pickup order. See How does it work.

Check your settings ​

Allow checkout without payment is off by default for a new location: turn it on when the location must offer pay at pickup. See CP Overview.

After the update ​

  • The control panel pages moved: the settings page is at addons/settings/reinos_store_pickup (was .../settings), adding a location at .../location (was .../locations/0) and editing a location at .../location/<id> (was .../locations/<id>). Update your bookmarks.

For developers ​

  • The tables are created by migrations, and the hooks are registered by ExpressionEngine. The update step of 1.2.0 is a migration as well.
  • The unused {reinos_store_pickup_action_url} global variable and the action and hooks behind it are removed, just like the unused reinos_store_save_cart_details hook.
  • A picked up pickup order counts as shipped through the reinos_store_is_shipped hook of the Store.