No results found

Try a different search query

Popular searches:

Add to Cart

Cart

You have no purchases yet

Browse Marketplace
Original Subtotal:
Product discounts:
Quantity Discount:
Total:
View Cart
Shipping

Nova Poshta OpenCart: branches, parcel lockers and waybills without manual work

How to connect Nova Poshta in OpenCart 3.0 and 4.1: choosing a branch or parcel locker at checkout, API key, shipping cost, waybills from admin, and cash on delivery.

10 min read

Nova PoshtaThe most popular carrier in Ukraine. The integration usually pulls cities and branches through an API. More in the glossary → is connected to OpenCart through a separate shipping module: neither the standard 3.0 nor the 4.1 package includes an integration with Ukrainian carriers. The module uses the Nova Poshta API to show the customer a list of cities, branches and parcel lockers, calculates the cost, and lets you create TTNs directly from an order. Below you will find what to set up, what to look for when choosing a module, and where errors most often occur.

Does OpenCart have Nova Poshta "out of the box"?

No. Among the standard shipping methods in OpenCart 4.1 there is only a flat rate, free shipping, a per-item cost, store pickup and weight-based shipping. In 3.0 there are also modules for foreign carriers, which are not needed in Ukraine. You can find them in "Extensions → Extensions", type "Shipping".

At the start, some store owners manage without a module: they enable the flat rate, rename it to "Nova Poshta" in the language fileA PHP file with interface texts, separate for each language. More in the glossary →, and the customer writes the branch number in the address field. This works for the first few orders, but problems appear very quickly:

  • customers write "Kyiv, 5", "branch No. 5" or "near the metro", and the manager spends time clarifying;
  • the shipping cost on the site does not match the real one, because the Nova Poshta rate depends on weight, dimensions and declared value;
  • TTNs have to be entered manually in the carrier's account, copying the full name, phone number and cash-on-delivery amount;
  • the TTN number does not get into the order automatically, and customers call to ask "where is my parcel".

Therefore, once you have a few orders a day, it is worth installing a full-featured module. To see how Nova Poshta compares with other carriers, read the article about delivery services in Ukraine.

Розширення → Доставка: модуль Нової пошти встановлюють і вмикають тут
Extensions → Shipping: the Nova Poshta module is installed and enabled here · OpenCart 4.1.0.4

What should a Nova Poshta module be able to do?

There are many modules, and they differ mainly in what happens after the order is placed. Make a list of what you need before buying:

FeatureWhyWho needs it most
Selecting a city and branch from a directoryThe customer does not make mistakes in the address, the manager does not need to clarifyEveryone
Parcel lockers as a separate optionSome customers deliberately choose a parcel lockerStores selling small items
Courier door-to-door deliveryLarge items and customers for whom a branch is inconvenientStores selling appliances, furniture
Cost calculation by rateThe price on the site matches the real oneIf the customer pays for shipping on the site
Creating a TTN from an orderNo manual data entryFrom a few shipments a day
Bulk TTN creation and registryDozens of shipments at onceStores with high volume
Status synchronizationThe order status changes when the parcel is receivedThose working with cash on delivery
Several senders or accountsDifferent warehouses, sole proprietors or legal entitiesStores with several locations

Also check which OpenCart version the module is made for. A module for 3.0 will not install on 4.1, and vice versa. Also find out whether it is compatible with your checkout: if your site uses a third-party checkout module, the branch selection fields must integrate into it. A comparison of specific solutions is available in the blog: shipping modules for OpenCart: Nova Poshta, Ukrposhta, Rozetka.

If you specifically need an automated shipping flow with bulk TTNs and several accounts, look at the module Доставка Нова Пошта/Nova Poshta Delivery. For a simpler scenario with branch selection and cost calculation, "Nova Poshta API" will do.

How do you prepare the Nova Poshta account and the store?

The module works through the Nova Poshta API, so you first need access to it.

  1. Register a business account with Nova Poshta for the sole proprietor or legal entity on whose behalf you send parcels. If you plan to use cash on deliveryPayment upon receipt. It increases the risk of parcel refusals. More in the glossary → with fund transfers to an account, sign the relevant agreement, because the terms for individuals and businesses differ.
  2. In the account's security settings, create an API key. Menu item names in the account change from time to time, so look for the section with API keys.
  3. Enter the key in the module settings in OpenCart. Most modules immediately pull the sender data from it: counterparty, contact person, phone number.
  4. Specify the city and branch of dispatch, or the address of the warehouse from which the courier collects parcels.
  5. Set default values: who pays for shipping, cargo type, description ("Home goods", "Clothing"), declared value (usually equal to the order amount).

Next, fill in the products. The cost calculation and TTNs are based on weight and dimensions, which in OpenCart are set on the "Data" tab of the product form: "Weight", "Dimensions (L × W × H)", and the weight and length units. If these fields are empty, the module will either substitute default values or calculate the shipping incorrectly. For bulky but light products, Nova Poshta calculates volumetric weight, so the dimensions often determine the price.

Форма товару, вкладка «Дані»: вага й габарити, з яких модуль рахує доставку
Product form, Data tab: the weight and dimensions from which the module calculates shipping · OpenCart 4.1.0.4

Branch, parcel locker or door-to-door: how do you set up the options?

Customers are used to seeing several Nova Poshta options, and it is better to show them separately rather than as one item with a dropdown list of everything.

Branch

The main option. The customer selects a city, then a branch from a list with its number and address. A good module filters branches by parcel weight, because cargo and postal branches have different limits.

Parcel locker

Parcel lockers have limits on cell dimensions and weight, and the terms for payment on receipt at a locker differ from those at a branch. Check current terms on the Nova Poshta website. The module should hide parcel lockers if the item in the cart is too large, otherwise the parcel cannot be sent and you will have to call the customer.

Door-to-door delivery

It requires a street, building and apartment, and it is best to select the street from a directory, as with the city. Door-to-door delivery costs more, so show it at a separate price.

In the standard OpenCart checkout, the shipping address consists of the fields "City", "Address 1", "Address 2", region and postcode. Nova Poshta modules store the branch there differently: some write it into "Address 1", others keep it in separate order fields. This determines what the manager sees in the order and what goes into the export for accounting, so check this on a test order before launch. Do not force customers picking a parcel locker or branch to fill in the postcode and second address: extra required fields noticeably reduce checkout conversion.

How do you create TTNs and notify the customer?

A TTN (waybill, or "express waybill") is the shipment number by which the customer tracks the parcel. It is most convenient to create it from the order page in "Sales → Orders": the module takes the full name, phone number, branch and order amount, and the manager checks the weight, number of packages and cash-on-delivery amount.

After the TTN is created, its number should appear in the order and reach the customer. A reliable way is to add an entry to the order history with a comment containing the number and the "Notify Customer" checkbox ticked. Then OpenCart sends the customer an email about the status change with the comment. Most modules do this automatically when creating a TTN. The article about addOrderHistory explains how OpenCart processes a status change and who receives emails.

Продажі → Замовлення: звідси менеджер відкриває замовлення і створює ТТН
Sales → Orders: this is where the manager opens an order and creates a TTN · OpenCart 4.1.0.4

A few tips that save time on shipments:

  • create an order statusA stage of processing: "Pending," "Shipped," "Complete." Custom statuses are added in the dictionary. More in the glossary → "Shipped" and change it together with creating the TTN, not separately;
  • if the module can synchronize statuses, set up changes to "Received" and "Returned" so you can see stuck cash-on-delivery payments;
  • for bulk shipments, generate a registry and print labels in batches, not one waybill at a time;
  • after editing, check that the cash-on-delivery amount matches the order total: if the manager added a product after the TTN was created, the amounts will diverge.

Bulk TTNs and working with several Nova Poshta accounts are covered in detail in the review bulk TTNs and several Nova Poshta accounts.

How do you set up cash on delivery?

Cash on delivery is the most common payment methodAn extension such as card or cash payment. More in the glossary → for Nova Poshta shipping. OpenCart has a standard payment method "Cash On Delivery" in "Extensions → Extensions" with the type "Payment". It appears only for orders that require shipping, and it can be restricted by geo zone.

There is a difference between the branches. In OpenCart 3.0, the settings of this method include a minimum order amount from which it becomes available. In OpenCart 4.1 there is no such field, so you can limit cash on delivery by amount only through a module.

Keep in mind that the standard payment method knows nothing about Nova Poshta: it only records that the customer will pay on receipt. The cash-on-delivery amount and who pays the fund transfer fee are set by the shipping module when creating the TTN. The cash-on-delivery commission and "payment control" terms depend on your agreement with Nova Poshta, so check them in your account and clearly tell the customer on the shipping page who pays for it. For how to combine cash on delivery with online payment, see the article about payment methods for an online store in Ukraine.

What problems occur most often?

  • Slow checkout. If the module requests the list of branches from the API every time the page opens, checkout slows down or fails when the Nova Poshta API does not respond. Good modules store the directories of cities and branches in the store's database and update them on a schedule.
  • Outdated branches. Branches close, move and change numbers. Without regular directory updates, customers choose a branch that no longer exists.
  • Identical city names. Ukraine has many settlements with the same name. The module must show the region and district, otherwise the parcel will go to the wrong place.
  • Language of names. The Nova Poshta directory has names in Ukrainian and Russian. On a Ukrainian-language storefront, city and branch names should be in Ukrainian, and for the store's other language versions the module should be able to switch languages.
  • Empty weight and dimensions. Shipping is calculated using default values, and the store regularly pays the difference.
  • Changed API key. After the key is reissued in the account, the old one stops working, and TTN creation breaks for all orders.

Summary

  • Standard OpenCart does not include Nova Poshta; you need a module for your version: 3.0 or 4.1.
  • To work, you need a business account, an API key and sender details. Keep the key as safe as a password.
  • Fill in the weight and dimensions of products, otherwise shipping costs and TTNs will be inaccurate.
  • Show branch, parcel locker and door-to-door delivery as separate options, and hide parcel lockers for large parcels.
  • Create TTNs from the order and pass the number to the customer through the order history with a notification.
  • Cash on delivery is configured in two parts: the OpenCart payment method, and the amount and commission in the TTN.

After setup, place several test orders for different delivery options and create TTNs for them. Other articles on logistics are collected in the section delivery.

FAQ

Can I offer free Nova Poshta shipping above a certain amount?
Yes, most modules have a free shipping threshold. Keep in mind that for the carrier shipping is not free: the store pays for it, so the payer on the waybill should be the sender.
Do I need a separate module for Ukrposhta if Nova Poshta is already installed?
Yes, these are different APIs and different modules. Some all-in-one solutions support several carriers, but most often each service is connected with its own module.
What should I do if the buyer wants to change the branch after placing the order?
If the waybill has not been created yet, change the address in the order. If it has already been created, make the change through the Nova Poshta account, or delete the waybill and create a new one, then notify the buyer of the new number.
Can I ship from several warehouses?
Yes, if the module supports several senders or shipping addresses. Then each order gets the warehouse it will ship from, and the waybill is created under the right sender.
Was this article helpful?
Thanks for your feedback!

Related articles

Didn't find the answer?

Ask the community: OpenCart developers answer on the forum.

Ask on the forum
We use cookies

We use cookies and similar technologies to improve your experience, analyse traffic, and show personalised ads. Read our Cookie Policy for details.