Download

Download Nashenski Commerce.

One zip file you upload to WordPress. Free, no sign-up.

Bai Ganyo giving a thumbs up

Nashenski Commerce

Stable version

Version
0.21.12
Released
16 November 2026
Size
5.3 MB
Download nashenski-commerce-0.21.12.zip From WordPress.org

SHA-256: 8ef8ad628bea0fe61d6b4afe6c4113e6745bc9dbd03af94ce1889216f7439ce0

Requirements

  • WordPress6.5+
  • WooCommerce9.4+
  • PHP8.2+
  • EU withdrawal functionWooCommerce 11.1+
  • VIES checkPHP SOAP
  • LanguagesBG, EN

Licence

GPLv3 or later.

Installing

  1. Install the plugin

    In WordPress go to Plugins → Add New Plugin and search for “Nashenski Commerce”, or choose Upload Plugin and this zip. Activate it. WooCommerce must be active.

  2. Run the setup

    A short setup asks about your company, VAT (20%, 9% for some goods, or not registered), invoices, couriers and the checkout look. It adds the tax rates, the “Bulgaria” zone and the shipping methods for you. Moving from another plugin? Import first, from Help.

  3. Enter your courier login

    On each courier tab, enter your login and where you send from. A demo login only reaches the courier’s test system.

  4. Turn on the rest

    WooCommerce → Settings → Nashenski Commerce → Overview: customer checks, quick order and abandoned carts.

Updating. Updates come from WordPress.org like any other plugin’s, whether you installed it from WordPress.org or uploaded the zip from this page. Your settings and data stay.

Recent changes

0.21.12

Latest

New

  • Office and locker names follow the page language. On a page that is not in Bulgarian (WPML, Polylang or the site language) the checkout lists show Econt's and Speedy's own English names, BOX NOW's Latin locker names, and the rest in Latin letters by the Bulgarian Transliteration Act. The Speedy map opens in English there. The waybill does not change: it uses the office or locker number. Add-ons can turn this off with the nashenski_latin_place_names filter.

Changes

  • readme.txt: a shorter description and an FAQ for every feature.

0.21.11

Fixes

  • WooCommerce Subscriptions: a renewal or a new subscription no longer copies the document files, numbers and dates of the earlier order. A renewal used to delete the earlier order's English order document and invoice files when it made its own, and could repeat its invoice number.
  • Delivery prices: an Econt, Speedy or Pigeon Express reply without a price is an error, so the public price list applies or the option is not shown. Before, such a reply could show the delivery as free.
  • Abandoned cart reminders: links and web addresses typed into the name field are removed, and the email no longer turns shopper text into links. The quick order form uses the same rule.
  • Abandoned carts: a visitor with an empty cart no longer writes to the database on every page view.
  • Abandoned carts: an address that unsubscribed stays unsubscribed after its cart is deleted. The store keeps a code made from the email, not the email itself.
  • EU VAT: the checkout no longer asks an outside service (ipinfo.io) for the shopper's country. It uses only what WooCommerce knows on the site.
  • EU VAT: the VAT box shows on the order screen of stores with WooCommerce's order tables (HPOS), and the VAT number is in the WooCommerce REST API order data. When VIES is down for a country, the check waits 5 minutes before it asks again; a busy service or a wrong number is tried again at once.
  • Exports: the export builder and the import read orders in batches, so large stores no longer run out of time or memory.
  • Exports: the invoice archive and the NRA file show their error on the screen when the file cannot be made.
  • Order documents: an error of any kind while documents are made no longer stops the checkout or the status change.
  • Plain text emails show the tracking number as text with its link, not as HTML.
  • The company name on invoices is no longer transliterated.
  • Econt town search runs only when Econt is used at checkout, accepts only two letter country codes and waits 5 minutes after a failed call.
  • BOX NOW: a refused login is not tried again on every request for 5 minutes; saving the settings tries at once.
  • The REST API media list hides only the private documents, not every PDF, XML or TXT file, and robots.txt no longer blocks the plugin's CSS and JS.
  • Smaller fixes: the Connectix box after a failed label, the Reports box markup on the order screen, the EU VAT box markup, the nekorekten.com delete confirmation without inline script, the impossible price check script loaded only where it is used, the comment on the time of the monthly NRA email.

0.21.10

Changes

  • Security Audit: every function that reads a form, a link or an AJAX request checks its nonce first, on its own, and only then reads the fields; actions that change data also check the user's rights. This covers the checkout update, the checkout field rules, the Pigeon Express label payment, the order withdrawal form, the quick order, the abandoned carts screen and the export, report and price screens.
  • Security Audit: notices after an action (carts reminded or deleted, documents regenerated, import or setup done) show only when the link carries its nonce. The filter, page and edit links of the abandoned carts screen and the courier links in the settings carry one too; an old bookmark opens the default view.
  • Security Audit: CSS and scripts are escaped where they are printed. The quick order, withdrawal form and email settings scripts are now files in assets/js. The quick order button asks for a fresh security token on each click, so it also works on cached product pages.
  • Security Audit: the plugin no longer defines WordPress's FS_CHMOD_DIR and FS_CHMOD_FILE. Its own files get the permissions of their folder, as uploads do.
  • Security Audit: document and export download links carry a nonce besides their signature. A link on a page left open for more than a day needs a reload.
  • Security Audit: only standard file types in the plugin. Library licence files end in .txt, the NRA audit schema is dex-audit-schema.xml, and unused PDF library files (encoding maps, the PDF/A colour profile) are left out. The WordPress.org zip has no .pot file.
  • Security Audit: XML uploads are no longer allowed on the whole site. The plugin allows the type only while it saves its own NRA audit file.
  • Security Audit: deactivating or deleting the plugin clears every scheduled job, the daily export file cleanup and the 0.21.8 background step too. The jobs come back when the plugin is turned on again.
  • Security Audit: the courier choice cookie, the export settings and the delivery choice on the order screen are sanitized before and after they are decoded. The checkout form of "update order review" is taken from WooCommerce, not read from the request.
  • Security Audit: every file the plugin sends (an export, a stored document, a courier label) goes through one place, with its content type and "nosniff".
  • Security Audit: the settings, export builder and quick order scripts put texts on the page as text and build their rows and tables as elements, not as HTML strings. The Econt label preview opens only addresses on Econt's own hosts.
  • PDF documents: the logo is read from its file in the media library. A custom template that asks for Helvetica, Times, Courier or a generic font family now prints in the DejaVu font, which has Cyrillic letters; the unused built-in font metric files are left out of the plugin.
  • The libraries and fonts that come with the plugin, and the DejaVu font licence, are listed in assets/licenses/third-party-licenses.txt.
  • Abandoned carts: the cart table is read through the object cache, and every change clears it.
  • Security Audit: every request of the order screen label tools and of the checkout pickers checks its nonce itself, and the label tools also check the right to manage the store. A label request with a missing order or value answers with an error, with no PHP warning.
  • Security Audit: the quick order form is read from a public, read-only address of the REST API (nashenski/v1/quick-order/form) with a fresh security token in it. The request that only handed out a token is gone.
  • Security Audit: a courier login, key or secret is saved as typed, with any printable character. Only control characters and broken text are taken out.
  • Security Audit: list choices and rule values of the checkout fields are saved without HTML tags.
  • Security Audit: a label PDF from BOX NOW or Pigeon Express is sent only when the courier answers with a file. Courier requests that get no answer are handled as errors.
  • Security Audit: the label preview shows addresses on Econt's own hosts only.
  • The monthly exports (NRA file, Delta, invoice archive) send the chosen month as "period".
  • Deleting the plugin also deletes the options that only remember the state of a screen or notice. Settings, documents, numbering and import flags stay, as listed at the top of uninstall.php.
  • The suggested privacy policy text names every outside service: Econt, Speedy, BOX NOW, Pigeon Express, the office maps (Google Maps for Speedy), nekorekten.com, Connectix, NepoStop and VIES.
  • The hourly shipment check reads at most 500 open orders a run. The filter value -1 now means 500, not every order at once.
  • After the settings of a tab are saved, one action runs for every tab: nashenski_admin_settings_after_save_fields, with the tab class as its argument. The older names with the class in them still run.
  • New orders save the VAT number check under _nashenski_vat_number_is_validated and _nashenski_vat_number_is_valid. Older orders are read from the earlier names.
  • The quick order form and the block checkout price texts are styled from CSS files; scripts no longer add style elements to the page.
  • The withdrawal link in emails now carries the order number as nashenski_order. Links in emails sent before this version still open the form, without the order number filled in.
  • Old settings links (admin.php?page=nashenski&tab=...) open the Nashenski Commerce settings at the start.
  • Invoice settings: Documents > Invoices and documents has one checkbox, "Enable invoices", and one choice, "How to issue invoices". They replace "When to generate invoices?", "Invoice numbering" and the "Company invoice fields" checkbox.
  • Invoice settings: with "Enable invoices" on, the checkout shows "I want an invoice for a company" with the company fields, and the website makes the invoice of every order where it is ticked. Invoices are for companies only; "Always" is gone.
  • Invoice settings: "How to issue invoices" is "On request, not in the NRA audit file" (the default: orders with an invoice are left out of the file and the monthly audit email) or "On request, in the NRA audit file", which needs "Enable N-18" on.
  • Invoice settings: the website makes and numbers every invoice. The "Own invoicing program" choice is gone. "Make invoice" on the order screen still takes a number you type, and the next number continues after it.
  • Invoice settings: your old choices are carried over once. "Disable invoice generation" becomes off. Any other choice becomes on: in the NRA audit file with "Website invoices", out of it with "Own invoicing program". Documents and numbers already made do not change, and orders kept out of the NRA audit file stay out. A store that never saved "When to generate invoices?" keeps the company box it had: on while documents are on, unless "Company invoice fields" was off.
  • Invoice settings: check after the update. If invoices were disabled and only "Company invoice fields" was on, the company fields are off now; turn on "Enable invoices" to get them back. Stores on "Add only fields on checkout" now get an invoice for each order where the box is ticked.
  • Invoice settings: the imports from Bulgarisation for WooCommerce and from the mreja.net N-18 plugin set the two new settings from those plugins' invoice settings. The company fields keep their names and order data.
  • Invoice settings: the setup wizard asks "Only for companies" or "No invoices".

0.21.9

Changes

  • Changelog wording only. No code changes from 0.21.8.

0.21.8

New

  • Who pays the courier: Econt, Speedy and Pigeon Express methods in a shipping zone have "Customer pays the courier", the payment methods for which the customer pays the delivery to the courier on delivery. Then the price is shown for information only ("6,50 €, paid to the courier on delivery, not included in the total") in the checkout, the cart, the emails, My Account and the order screen; the delivery is not in the order total, on the documents or in the NRA audit file; and the waybill is paid by the receiver. With any other payment method the shop collects the delivery: it is in the total and on the documents, the sender pays the courier, and cash on delivery collects the whole order total. The total follows the payment method the customer picks, in the classic, block and page builder checkouts. Free shipping, deliveries abroad, and Speedy or Pigeon Express with a fixed price are always collected or paid by the shop. BOX NOW cannot charge the customer, so it has no list. The courier box on the order screen can still change the payer of one waybill.
  • Each order keeps who paid the courier as decided at checkout, so later setting changes do not change its documents. Credit notes follow their order.
  • Quick orders and orders made on the order screen follow the same rule: it is decided once the order has a shipping method and a payment method, and again when the payment method changes on the order screen, until the order has documents (at the latest when its first document is made). Checkout orders keep their checkout decision; when their payment method is changed on the order screen, a notice asks to check the delivery line and the waybill by hand. A waybill made on the order screen for an order whose customer pays the courier keeps its price as information, not in the total. In the label box, a waybill paid by the sender leaves such an order as it is (the shop pays the courier). A fixed price the shop collects in the cash on delivery amount makes it an order the shop collected once the courier accepts the waybill, while it has no documents, and a later waybill paid by the receiver puts it back; once it has documents, such a waybill is refused. Choosing the receiver as payer on an order the shop collected shows a warning. Documents decide before they read the order, also when the first one is made before the number.
  • Update: every Econt and Speedy method marked as a courier (the "Is ... courier?" setting, on by default) and every Pigeon Express method get cash on delivery in their list, whatever "Remove delivery from documents" was, so their cash on delivery orders keep the same money flow (Pigeon Express documents now leave that delivery out to match its waybills). Econt or Speedy methods marked as not a courier get an empty list: their cash on delivery waybills are now paid by the sender, with the delivery in the cash on delivery amount and on the documents. Abroad the shop always collects: Econt cash on delivery orders abroad, before paid by the receiver, are now paid by the sender. "Remove delivery from documents" is gone: when it was on, "Is ... courier?" is turned on for every shipping method in a zone or on an order, so orders made before the update keep their documents and NRA lines as they were.
  • New Econt, Speedy and Pigeon Express methods (also those added by the setup, the import from other plugins and the move from Bulgarisation) start with cash on delivery in "Customer pays the courier". A cart whose goods cost nothing (a free sample, a 100% coupon) is always collected by the shop, so it can be ordered.
  • Shipping methods of other plugins keep the old rule: "Is ... courier?" in Documents > Shipping on documents (now shown only for them) leaves their delivery out of documents and the NRA audit file for cash on delivery orders.
  • Econt packing list: a delivery the shop collects (in the cash on delivery amount) is a row of the list. The Speedy box leaves a delivery the customer pays the courier out of its default cash on delivery amount.

Changes

  • Shipping option cards (Cards and Side by side looks): the courier logo in a box of the same size for every courier, the delivery type as the main line and one short price line ("Price after address", "Free", or "3,52 € to the courier"); the courier name stays for screen readers. The longer text of the chosen option is shown once under the options, and screen readers read it when it changes. A fee paid to the courier shows in the store currency, also when the shopper switched currency. Side by side cards are at least 150px wide. The chosen card has an accent border, a light tint and a check mark instead of a solid fill, and the office or address panel is light grey. Focus rings and button texts use a darker accent for contrast. The plain look keeps its one-line labels.
  • Security Audit: the PDF library keeps its font cache, and the fonts a custom template installs, in uploads/nashenski-cache/fonts instead of the plugin folder. readme.txt lists the privacy and terms pages of every outside service (Google Maps for the Speedy map too). Requests are read only by the field names the plugin needs, each sanitized where it is read. The abandoned carts have a personal data export and erase (Tools > Export or Erase Personal Data; the erase also deletes their unused reminder coupons, and keeps used ones for the accounts), and the plugin suggests text for your privacy policy. The quick order form reads only its own fields. WooCommerce tested up to 11.3.
  • Security Audit: the cache of courier offices, cities and streets moves from wp-content/cache/nashenski to the uploads folder (uploads/nashenski-cache, each site of a network has its own). The old folder is removed on update, and both are removed when the plugin is deleted.
  • The import from another plugin no longer deactivates that plugin (a plugin must not change other plugins). Until you deactivate it, a notice on the Dashboard, the Plugins screen and the Nashenski settings asks you to, with a link to the Plugins screen (the network one for a network-activated plugin). The Help button is now "Import".
  • Nashenski Commerce also pauses while Bulgarisation for WooCommerce 5.x is active, as it did for 4.x: both would number the same documents.
  • The mreja.net Ordinance N-18 plugin is imported only while it is off (both would give out the same document numbers); while it is active, the Help page, the import notice and the import itself say to deactivate it first. Until its documents are imported, Nashenski Commerce makes no invoices or other documents and takes no numbers while a new number could clash with one of them (the plugin is active, or a counter has not passed its numbers); a store without its documents, or whose counters are already past them, is not paused and is offered the import. The import also works from its documents table alone. If it is turned on again after the import, it can reuse numbers Nashenski Commerce already gave out: documents and numbers pause, also after it is off again, until its import is run again from the Help page (noticed on admin pages, also when it was turned on and off from the command line). That run takes over its new numbers, continues the counters after its highest number (order documents and cancellations; invoices, credit and debit notes), and notes and lists each order whose number clashes, to correct. Shipping and everything else keep working. An error notice on the Dashboard, the Plugins screen, the orders list, the order screen and the Nashenski settings says so, with a link to Plugins while it is active (shop managers who cannot manage plugins are asked to get an administrator) and to the import while it is off; the setup, the PDF Files box and the document actions of an order give the reason; orders whose documents were skipped get a note; the orders list reports a bulk "Regenerate PDF's" that could not run; a dismissed import notice comes back when a new import is due.
  • The notices shown when the plugin cannot start (Bulgarisation active, old PHP or WordPress, no WooCommerce) appear only on the Dashboard, the Plugins screen and the WooCommerce screens, to users who manage plugins.
  • The notice after "Regenerate PDF's" on the orders list shows only on that screen, can be dismissed and reads "Documents of N orders were regenerated."
  • Cache and temporary files are written with WordPress's direct file access, so hosts set to FTP updates no longer break the update step or the courier cache.
  • Deleting the plugin removes the abandoned carts table and transients on every site of a network, before the cache folders.
  • The demos, docs and development files of the bundled libraries (FPDF tutorial, doc and makefont, the html5 entities script, PHPUnit and PHPStan files) are no longer shipped.
  • The original and the copy of a document are joined with FPDI directly. The PDF merger library (clegginabox/pdf-merger, which had no stable release) is no longer bundled.
  • The "Mathematically impossible prices" page explains the problem itself instead of linking to an outside article.
  • readme.txt: the description is in English only and shorter, and the changelog keeps the current version (all versions stay in this file).

Fixes

  • Pigeon Express: when a label with a fixed price is refused or fails, the order keeps its delivery price and totals as they were, and the label box shows a plain error.
  • Documents and the NRA audit file: a cash on delivery courier order left the delivery out while the order total still had it, also with BOX NOW, whose cash on delivery collects the whole total. Now the total, the documents and the waybill agree: the delivery is left out only when the customer paid it to the courier.
  • Documents and the NRA audit file: a courier delivery with no tax, on an order with no tax at all (for example goods at 0%), prints at 0% with its full price. Before, 20% was taken out of it (5.25 printed as 4.38 at 20%) and the lines added up to less than the order. Orders with other tax keep the old rule, and so do orders whose taxed goods a 100% coupon made free. Credit notes follow the order they refund.
  • Documents and the NRA audit file: when the shop's tax rate does not apply to shipping, Nashenski adds 20% VAT to courier deliveries, but documents and the NRA audit file printed that delivery at 0%. Now they print it at 20%.
  • Block checkout, Cards and Side by side looks: the price line of each shipping option ("Price after address", "3,59 € to the courier") was invisible. It now shows as in the classic checkout.

0.21.6

Changes

  • Security Audit: the quick order button style, the abandoned carts "select all" script and the changelog page style now load through WordPress (no inline style or script tags). The quick order form, the order delivery box, the export builder and the courier cookie sanitize every value they read.
  • Libraries updated: php-qrcode 6.0.1, vatin 3.1.0, Dompdf 3.1.6, Pimple 3.6.2. Development files of the libraries are no longer shipped.
  • Documents: the page count in the footer is placed without a float, which Dompdf 3.1 needs to keep the document on one page. A custom document template (filter nashenski_invoice_pdf_default_template) needs the same change: .page-count { position: absolute; right: 0px; top: 0px; }.
  • Documents print in Bulgarian even before a Bulgarian translation of the plugin is installed (the WordPress.org zip has none until WordPress.org ships the language pack).
  • Each release has a third zip, nashenski-commerce-wporg-X.Y.Z.zip, for WordPress.org: the same plugin without the bundled Bulgarian translation, which WordPress.org delivers as a language pack. The WooCommerce withdrawal texts in Bulgarian moved from languages/ to app/Front_End/.