1. What this module does

Let customers pick up online orders in your stores and pay there if they like. PrestaShop keeps a list of your stores, but a customer cannot choose one for an order. This module adds a free Store pickup carrier: when customers select it at checkout, they see your stores with their address, phone and opening hours and choose where they will collect the order. They cannot continue without choosing a store.

The chosen store is copied to the order and shown in the order page of your Back Office, on the order confirmation page, in the customer's order history, in the order confirmation e-mail and on the PDF invoice and delivery slip. When the order is ready, you set the status Ready for pickup and the customer gets an e-mail with the store's address and opening hours. If you like, customers can also choose Pay at pickup and pay in the store.

Works with PrestaShop 1.7.8, 8.x and 9.x (PHP 7.2.5 or newer), with the Classic and Hummingbird themes and with multistore.

2. Installation

  1. Download the module from My account → Order history at addonspresta.com.
  2. In your Back Office, open Modules → Module Manager and click Upload a module.
  3. Drop the ap_storepickup_v1.0.0.zip file and wait for the confirmation.
  4. Click Configure on the module card.

If you have shell access, you can also unpack the zip into modules/ and run php bin/console prestashop:module install ap_storepickup from the shop folder.

The installation creates:

  • the carrier Store pickup — active, free, in every zone and for every customer group of your shop;
  • the order statuses Ready for pickup (sends an e-mail to the customer) and Awaiting payment at pickup;
  • the payment method Pay at pickup, switched on and offered only with the pickup carrier.

The carrier appears at checkout straight away, so set up your stores first. To get ready:

  1. Your stores. Open Shop Parameters → Contact → Stores. Check that each store you want to offer is enabled and has its name, address, phone and opening hours (one line per day of the week, for example "9:00–19:00"; leave a day empty when the store is closed). Add the missing ones with Add new store. In a multistore, also tick the shops the store belongs to.
  2. The carrier. Open Shipping → Carriers and edit Store pickup. There you can change its name, the delivery text customers see under it, the logo and its position in the list. Keep only the zones where customers can come to your stores (for example your own country) and the customer groups that may use it. Pickup is free; to charge a fee, switch off free shipping and set ranges and prices like for any carrier.
  3. Payment methods. Open Payment → Preferences. The module appears there as Store Pickup (Click & Collect): it is ticked for every currency, active country and customer group, and under Carrier restrictions for the pickup carrier only — keep it that way. Your other payment methods are ticked for the new carrier too, so customers may also pay online for a pickup order; untick the pickup carrier for the ones you do not want.
  4. The module. Open Modules → Module Manager → Store Pickup (Click & Collect) → Configure, check the Status panel and adjust the settings (section 4).
  5. A test order. Open your shop, put a product in the cart, go through the checkout with the Store pickup carrier, choose a store and pay with Pay at pickup.

3. How it works

What the customer sees at checkout

PrestaShop's checkout still asks for the customer's address, as for any order; it stays the address of the order. At the delivery step, when the customer selects Store pickup, the list of stores appears under the carrier:

  • the heading "Choose your pickup store", then one choice per store with its name, address and phone;
  • Opening hours, a fold-out with the hours of each day from Monday to Sunday ("Closed" for a day without hours), when Show opening hours is on;
  • your Pickup instructions below the list.

A store is already selected when the customer has chosen one before for this cart, else the store of the customer's last pickup order, else the only store when you offer just one. The choice is saved as soon as the customer clicks a store or Continue. The customer cannot leave the delivery step without a store:

  • "Choose the store where you will pick up your order." — no store chosen;
  • "The store you chose is no longer available for pickup. Choose another one." — you disabled the store or removed it from the stores offered after the customer chose it.

The same check runs again when the customer comes back to the payment step later. When no store is offered at all, the customer sees "No store is available for pickup at the moment." and cannot continue with this carrier.

Pay at pickup

When Payment at pickup is on, the payment step offers Pay at pickup with your Payment note and the name of the chosen store. It appears only when the customer has selected the pickup carrier and chosen a store, and only when Payment → Preferences allows the module for the customer's currency, country and group. After the order, the customer reads "Your order is reserved. Pay … when you collect it." with the amount, the store and the order reference. The order is created in the status Awaiting payment at pickup, and PrestaShop sends the usual order confirmation e-mail.

Where the store appears

The store is copied to the order when the order is placed: its name, address, phone, e-mail and opening hours. A later change or deletion of the store in Shop Parameters → Contact → Stores does not change past orders. It appears:

  • in the Back Office, on the order page: a Store pickup card next to the order details, with the store, its address, phone, e-mail and opening hours, and a reminder to set Ready for pickup when the order is ready;
  • on the order confirmation page and in the customer's order history: "Pickup store", the address, phone, opening hours (when Show opening hours is on) and your pickup instructions;
  • in the order confirmation e-mail, after the carrier name, for example "Store pickup – Main store, 1 Market Street, 75001 Paris, France";
  • on the PDF invoice and the delivery slip: a line "Pickup store: name, address".

The customer's address is not replaced: the order keeps it, and the store is shown next to it.

The order workflow

Change the status of a pickup order in Orders → Orders, on the order page, like for any other order:

  1. Pay at pickup: the order arrives in Awaiting payment at pickup. It is not counted as a sale yet. Paid online with another payment method: it arrives in that method's status, for example Payment accepted.
  2. When the order is ready in the store, set Ready for pickup. The customer gets the e-mail "Ready for pickup" with the order reference, the store's address, its opening hours (when Show opening hours is on) and your pickup instructions. From now on the order counts as a sale.
  3. When the customer collects the order and pays in the store, set Payment accepted. PrestaShop then records the payment of the remaining amount under the module's name, which the invoice shows as the payment method. Then, or instead, set Delivered, which also records the payment when it was not recorded yet.

The two statuses of the module are deliberately not "paid": a paid status makes PrestaShop record a payment, which must happen only when the customer has really paid. The statuses belong to the module and cannot be deleted from Shop Parameters → Order Settings → Statuses; you can rename them there and change their colour.

E-mails

The Ready for pickup e-mail comes with the module and is sent in the customer's language; its subject is the status name. For other e-mails about an order, the module provides variables you can add to their templates, for example {ap_storepickup_store} (store name and address on one line). The full list is in the README.md file of the module.

Personal data, connections, failures

The module stores the store chosen for each cart and the copy of the store kept with each order — no personal data of its own. It sets no cookie, keeps nothing in the visitor's browser, shows no map, makes no outgoing connection (no licence check, no statistics, nothing to addonspresta.com or any other server) and has no cron job.

If the module fails on a page, that page shows nothing of the module, and one line at most per hour is written to Advanced Parameters → Logs, starting with "Store Pickup:".

4. Features and settings

Open Modules → Module Manager → Store Pickup (Click & Collect) → Configure. The Help box at the top links this manual and the module page at addonspresta.com in the language of your Back Office, gives our support address and shows the installed version. Below it are the Status panel and the Settings.

Status

A checklist of what the module needs, for the shop selected in the Back Office header:

  • Carrier — the name of the pickup carrier and whether it is "active" or "inactive: customers do not see it", with a link to Shipping → Carriers to change its price, zones, groups, logo and delivery text.
  • Order statuses — the names of the two statuses, or "deleted".
  • Stores — "Stores offered for pickup: 2", with a link to Shop Parameters → Contact → Stores. Without any store: "No store is offered for pickup: customers cannot complete the checkout with the pickup carrier."
  • Payment at pickup — "on: follows the currency, country and group restrictions of Payment > Preferences", or "off".

When the carrier or a status has been deleted ("The pickup carrier was deleted."), the button Create the carrier and the order statuses again recreates what is missing, as at installation: a free carrier in every zone and for every customer group, statuses with their default names ("The carrier and the order statuses are in place."). Your settings are kept. The carrier and the statuses belong to every shop, so only an employee who manages all shops can use the button.

Settings

Saved for the shop or shop group selected in the Back Office header with Save; "Settings saved." confirms it.

Offer all active stores

On after the installation. "New stores you add later are offered too." Every enabled store of the shop is offered, in the order in which the stores were created.

Stores offered for pickup

The enabled stores of the shop, with their city. Tick the stores customers may choose; used only when Offer all active stores is off, and then at least one store must be ticked. A store disabled later in Shop Parameters → Contact → Stores is no longer offered, even when it is ticked. Without any enabled store the form says: "There is no active store yet. Add your stores under Shop Parameters > Contact > Stores."

Show opening hours

On after the installation. Shows the opening hours of the store at checkout, on the order confirmation page, in the order history and in the Ready for pickup e-mail. The Back Office order card always shows them.

Pickup instructions

A text per language, shown under the store list, on the order confirmation page, in the order history and in the Ready for pickup e-mail. Plain text (tags are removed), up to 500 characters, line breaks kept. The default text is "We will e-mail you when your order is ready for pickup. Bring your order reference with you." Write what customers need to know, for example where the pickup counter is or which document to bring.

Payment at pickup

On after the installation. Offers the payment method Pay at pickup with the pickup carrier only. Switch it off when every order must be paid online.

Payment note

A text per language, shown with the payment method, for example which means of payment the store accepts. Plain text, up to 255 characters. The default text is "Pay in cash or by card when you collect your order."

A text left empty in a language uses the text of the shop's default language.

Saving

When something is wrong, nothing is saved and the reasons are listed above the form:

  • "Choose at least one store, or offer all active stores."
  • "The pickup instructions can have up to 500 characters."
  • "The payment note can have up to 255 characters."

5. Multistore

Settings are saved for the shop or shop group selected in the Back Office header; values saved with All shops apply to every shop that has no value of its own. In the All shops or a group context only an employee who manages every shop of that context can save ("Select one of your shops in the header to change the settings: in the All shops or group context they also apply to shops you do not manage."). In the All shops context the store list of the form shows the stores of every shop.

Each storefront offers only the stores associated with its own shop in Shop Parameters → Contact → Stores, with the settings of that shop. The carrier and the two order statuses are shared by all shops. Deleting a shop deletes the store choices of its carts and orders. One licence covers every shop of the installation.

6. Uninstall

Module Manager → Store Pickup (Click & Collect) → Uninstall removes the Store pickup carrier and the two order statuses from your lists (past orders keep them), deletes the settings and deletes the stores chosen for carts and copied to orders, in every shop. They cannot be restored: past orders no longer show a pickup store anywhere, also not in the Back Office or on PDFs. Reset does the same and then installs the module again with a new carrier, new statuses and the default settings. Your stores, carts and orders themselves are not touched.

Disable keeps the settings and the stores of orders. When the module is disabled in every shop, it also switches the Store pickup carrier off, so customers do not see it without the store list; enabling the module switches the carrier on again. A carrier you switched off yourself in Shipping → Carriers stays off.

7. FAQ and troubleshooting

The Store pickup carrier does not appear at checkout. Check in Shipping → Carriers that the carrier is enabled, that the zone of the customer's address is among its zones (and is active in International → Locations → Zones) and that the customer's group is ticked. Zones and groups created after the installation are not added to the carrier by themselves. The weight, size or price limits of the carrier also apply. A cart of virtual products only has no delivery step. From version 1.0.1 the module also works in the one-page checkout built into PrestaShop 9.2; other one-page checkout modules that replace PrestaShop's checkout are not supported.

The carrier is there, but no store is listed. The customer sees "No store is available for pickup at the moment." when no store is offered: check that your stores are enabled and belong to this shop in Shop Parameters → Contact → Stores, and, when Offer all active stores is off, that at least one of them is ticked. The Status panel shows how many stores are offered. A module of your own may also remove stores for some carts. If the list does not appear at all under the carrier, check that the module is enabled, and clear the cache in Advanced Parameters → Performance after changing the theme.

Pay at pickup is not offered. It is offered only when Payment at pickup is on for this shop, the customer has selected the pickup carrier and chosen a store, and Payment → Preferences allows the module for the customer's currency, country and group, with the pickup carrier ticked under Carrier restrictions. When the customer gets "Payment at pickup is not available for this order.", one of these conditions changed during the payment.

The Ready for pickup e-mail is not sent. Check in Shop Parameters → Order Settings → Statuses that Ready for pickup still sends an e-mail, and that your shop sends e-mails (Advanced Parameters → E-mail, where you can send a test e-mail). Errors of the mail server are listed in Advanced Parameters → Logs. The e-mail is sent when you change the status of the order, not when the order is placed.

Can I change the look of the store list or the text of the e-mail? Yes, through your theme, so the next update does not overwrite your changes. Copy the templates you want to change from modules/ap_storepickup/views/templates/hook/ to themes/<your theme>/modules/ap_storepickup/views/templates/hook/ (the store list is checkout.tpl, the confirmation and order history order.tpl, the PDF line pdf.tpl). Copy the e-mail from modules/ap_storepickup/mails/<language>/ap_storepickup_ready.html and .txt to themes/<your theme>/modules/ap_storepickup/mails/<language>/. Short texts of the module are changed in International → Translations → Installed modules translations; the carrier name in Shipping → Carriers and the status names in Shop Parameters → Order Settings → Statuses.

An order page says "No pickup store is saved for this order." The order has the pickup carrier but no store: it was placed with an express checkout button or a direct payment link that skips the delivery step, or the chosen store was disabled while the customer was paying. Contact the customer to agree on a store.

Can a customer change the store after ordering? Not in version 1.0: the store is copied when the order is placed. Agree on another store with the customer and note it in the order, for example as a private note.

"The page has expired. Reload it and save again." The page was open for a long time, or you logged in again in another tab. Reload the page and save again.

A text of the module is still in English in my shop or Back Office. Open International → Translations → Installed modules translations, select the module and your language, and check the translation. The carrier name and the status names are created in your languages at installation; change them where PrestaShop keeps them (see above).

8. Updates and support

Updates are free for life: download new versions from My account → Order history at addonspresta.com and upload them like a new module. Your settings, the carrier, the statuses and the stores of past orders are kept.

Support is included for 12 months from your order: write to mail@addonspresta.com or use the contact form at addonspresta.com (Monday to Friday, 10:00–16:00; we usually answer within 2 business days). Please include your PrestaShop version, the module version and the steps that lead to the problem.

Back to User manuals

Loading...
Back to top