Configuration
For the delivery method to work, it must be properly configured in the DJ-Catalog2 component settings.
For this purpose, open the DJ-Catalog2, choose Deliveries and Payments and select Delivery methods.
To create a new method, click "New."
We fill out the required fields in the "Edit" tab:
- Name (the defined name will appear later in the list when choosing a delivery method)
- Plugin - choose DJ-Catalog2 DELIVERY - Inpost from the list
and fill in the remaining fields at your discretion.
now go to the settings tab, where are two options to set:
- Environment - We choose whether there is a production page or a sandbox
- Auth key - enter the authorization key (you should have it from the inpost. pl website)
The key is required if waybills are created in the back of the page after receiving the order.
After saving, the delivery method will be visible on the front page when finalizing the product's purchase from the cart.
Selecting the InPost method will open the map, together with the parcel locker's search field. Using this solution, you can find and select the parcel locker to which the parcel will go.
Additionally, you can use the "List" tab, and a list of available parcel lockers will appear instead of the map.
After finalizing the order, the confirmation of the order will come to the defined e-mail inbox, including the code of the selected parcel locker:
Important information will also appear for the site administrator. Namely, the order will appear at the back of the page in the "order" list.
After opening the order in the "Delivery and Payments" section, in addition to the details of the delivery method, the (Create Shipment) button will be available to generate a waybill.
The waybill is proof of the contract of carriage. It must be generated to enable sending a parcel to the selected parcel locker.
After clicking the button, the parcel locker's code will appear, and you will be able to generate the waybill.
After completing the fields and saving, you can download the waybill in PDF format.