A custom cart drawer can open the pickup point picker from a button you add yourself. The app exposes one script call for this, so you do not need the standard cart panel.
Switch on the app embed named Wybór Paczkomatu in the theme editor, because the script call only exists while the embed is on.
The page with your button must be on your Shopify store domain.
The call works on every app plan. It fails once you reach your monthly order limit.
Add a button with your own label and styling to the drawer template, for example one with the id "paczkomat".
Add this script to your theme. After the customer picks a point, it takes them to checkout.
document.querySelector('#paczkomat').addEventListener('click', function () {
window.InPostPickup.open({ checkout: true })
.catch(function (error) { console.warn(error.reason); });
});If the page may call it too early, wait for the document event "inpost:pickup:ready" before you use window.InPostPickup.
The error "reason" tells you why. Common ones:
"app_disabled": the app is switched off in the app dashboard.
"order_limit_reached": your monthly order limit is used up.
"cart_not_eligible": the cart is empty or holds no shippable products.
"cart_excluded_by_rules": a pickup point visibility rule excludes the cart.
Check the result in a private window: Test pickup selection before going live.
If nothing shows at all: The pickup picker does not appear in my cart.
Stuck on any of this? Open the chat in the bottom right corner of the app and we will help you set it up.
Last verified on 2026-11-16 against inpost c68bdb9e (kb-ref: let-customers-pick-a-locker-from-a-custom).