eCijene: bazna (sidrena) cijena i cjenik za WooCommerce

By redaxis

★ 5.0/5 (1 ratings)10+ active installationsVersion 2.8.1

Bazna (sidrena) cijena, cjenik in CSV/XML and the 30-day lowest price for WooCommerce, shops with a POS and services, per the ordinances NN 132/2026.

Description

eCijene shows the base price (“bazna cijena”, popularly “sidrena cijena”) next to every price in your WooCommerce shop and publishes your price list (“cjenik”) in CSV and XML, as required in Croatia from 17 November 2026 by the ordinances under the Consumer Protection Act (NN 132/2026). A price change is published a few minutes after it is saved, well before the deadline of 11:00 on the day of the change.

What became popularly known as “sidrene cijene” (anchor prices) are called base prices (“bazne cijene”) in the ordinances. History: the temporary Government decisions NN 101/2026 and NN 110/2026 (“dodatna cijena”, daily price list by 8:00) were postponed to 17 November 2026 and are replaced on that date by the ordinances. eCijene follows the ordinances from 17 November 2026 automatically; the legal basis can also be set by hand. It is made for Croatian merchants and ships with a complete Croatian translation.

Base price (bazna cijena)

  • Shown next to the price with its date: the price on 10.9.2026, on 2.5.2025 for goods in the categories with that date (food, beverages, cosmetics, cleaning products, toiletries, household products), or the price when first listed for products added later.
  • During a sale three prices are shown: the sale price, the lowest price in the last 30 days and the base price.
  • The setup wizard copies the current prices as base prices only after you confirm that they are the prices on the reference date. Different prices are corrected on the product, in Quick Edit, in the Items table or by CSV import.
  • Exempt categories for products whose price is set by special regulations or other legal acts: no base price and not in the price list.

Lowest price in the last 30 days

  • Every price change is recorded. During a sale the lowest price from the 30 days before the sale started is shown, including gradual reductions and reductions not marked as a sale (Consumer Protection Act, Art. 19, EU Omnibus Directive).
  • Warning in the Items table when a sale price is not lower than the lowest price in the last 30 days.
  • Unit price from the net quantity and unit (kg, g, l, ml, m, m2, kom).

Price list (cjenik)

  • CSV and XML with the file name of the ordinance (OIB, type of sales point, address, code, ROBA or USLUGE, file number, time as YYYYMMDD_HHMM, or ZA_SVA_PRODAJNA_MJESTA for one list for all sales points; in the static file “_” inside a part is written as “-“, so the name always splits into exactly these parts) and the prescribed columns in the order of the ordinance: name, SKU, brand, net quantity, unit, retail price, special form of sale, unit price, barcode, EAN barcode, base price. Optional extra columns follow them (base price date and lowest price in 30 days by default; special form of sale name, URL and ID on request).
  • Published a few minutes after a price change (product save, Quick Edit, import, base price change) and checked every day at the time you choose (default 05:30, site time zone Europe/Zagreb); a new file with a new number only when the content changed.
  • Public archive at /ecijene/ with the same stable address for the current list (/ecijene/webshop.csv): superseded files stay online for at least 15 days after they are replaced (default 45), with a searchable table view and a machine-readable file list (index.json).
  • Optional live endpoints: current data of one item as JSON at /ecijene/api/<šifra>.json and the current price list generated on request.
  • “CSV only” mode for servers or firewalls that block XML (the ordinance allows CSV alone).
  • Per product: “Exclude from the price list” or “Always include”, on the product and in Quick Edit; hidden products are left out automatically.
  • Alert in the administration and by e-mail when today’s check has not run by the alert time (default 07:30).
  • Log of every publication, check and error; cache purge for common cache plugins after a new price list.

Shops, branches and other sales points (POS or ERP export)

  • Any number of sales points next to the webshop, each with its own type, address, code, file numbers, archive, stable address, import profiles and corrections. Two sales points with the same type, address and code are refused (the file name would be the same).
  • Upload the price list export of your POS or business program as it is: CSV in UTF-8 or Windows-1250, with or without a header row, or XLSX. You assign its columns once on a screen with sample values; the assignment is remembered per file shape. A built-in profile recognizes POS price lists made under the Government decisions (11 columns, no header).
  • eCijene converts the file to the columns of the ordinance, applies your corrections per šifra (2.5.2025 group, unit KG/M, brand), names the file, publishes it at a stable address (e.g. …/uploads/ecijene-prodavaonica/prodavaonica.csv) and keeps replaced files in an archive page with index.json in the same folder.
  • 2.5.2025 group per sales point: all items 10.9.2026, all items 2.5.2025 (with your recorded confirmation that the base prices in the export are the prices on 2.5.2025), by the categories of your export (assigned once and saved with the profile; you choose the group of unassigned categories before the first publication) or by name rules of a preset (“Papirnica / uredski i školski pribor”). Proposals are listed “for confirmation”; corrections per šifra always win.
  • Lowest price in the last 30 days for sales: from a column of your export, or computed from your uploads: when there was an upload on each of the 30 days before the sale started, or, with your recorded statement that you upload the export at every price change, from all uploads since the first one. Otherwise the field stays empty and the item is listed for confirmation; no value is guessed.
  • Undo: the previous price list is published again as a new file; the archive keeps both, as the ordinance requires.
  • Works without WooCommerce (a shop without a webshop) and without server access: everything happens in the WordPress administration, no FTP or cron job needed. A user role that may only upload the price list.

Services (works without WooCommerce)

  • Services price list for restaurants, cafés, accommodation, salons, workshops and other service providers: entered in a table, imported from CSV or recognized from an existing page on your site (a menu or a price table).
  • Published as CSV and XML on every change, with an archive and the base price column.
  • Shortcode for a table or a menu grouped by category, with the base price next to every price.

Setup and everyday work

  • Setup wizard that asks where you sell (webshop, physical shop or branches, services), enables only the obligations you need, publishes the first price list and links to the setup of the other price lists.
  • Overview with open tasks, an Items table for direct entry with validation (barcode check digit, dates, amounts), CSV export and import with column mapping, preview, confirmation and undo.
  • Display settings with live preview (labels, position, size, colors with a contrast check) and shortcodes [ecijene_cijena], [ecijene_cjenik], [ecijene_obavijest], [ecijene_usluge].
  • Cloudflare and firewall check with the exact rules to add when automated programs cannot download the price list.
  • Variable products, WPML multilingual shops (translations share history and base prices, labels per language).
  • WooCommerce High-Performance Order Storage (HPOS) and the Cart and Checkout blocks: compatible, tested with orders on WooCommerce 11.1.
  • Warning when another lowest price or anchor price plugin is active, to avoid duplicate prices.
  • WP-CLI: wp ecijene status | diagnose | generate | data export|import | reference ....

Why it is reliable

  • Every base price has a recorded source (setup copy, manual entry, import, first listing) with the user and the time. Confirmations in the setup wizard are recorded the same way.
  • eCijene never invents or estimates historical prices and never reads backups or old orders. What it cannot prove, it does not show (no struck-through price without 30 days of history or a confirmed start).
  • Every import is previewed before it is saved and can be undone.
  • The price, history and price list rules are plain PHP covered by unit tests; integration scenarios run on PHP 7.4 and 8.x.
  • No external services: nothing is sent to third parties (see External services).

eCijene is not legal advice. The merchant is responsible for the accuracy of the data and the interpretation of the regulations.

External services

eCijene does not send data to third parties. It makes these HTTP requests:

  • To your own site: the setup wizard and the diagnostics check that the price list addresses answer and are not blocked (e.g. by Cloudflare), and the scheduler can call its own generation URL. Nothing leaves your site except these requests to its own public address.
  • To a page address you enter yourself in Services > Import and export (“Import from an existing website”), to read the prices on that page. Only public addresses are allowed (local and private addresses are refused).

Installation

  1. Install and activate the plugin (Plugins > Add New).
  2. The setup wizard opens after activation. Choose the obligations, check the product data and confirm the base prices.
  3. The price list is created automatically on the first visit after the generation time; a real cron job is optional (the “Price list schedule” step shows how).
  4. If the site is behind Cloudflare, the wizard checks whether automated programs can download the price list and shows the rules to add if they cannot.

FAQ

What is the base price (bazna cijena) and which date applies?

The base price is the retail price on a reference date, shown next to the current price with that date. Under the Pravilnik o isticanju bazne cijene proizvoda (NN 132/2026) it is the price on 10.9.2026; for food, beverages, cosmetics, cleaning products, toiletries and household products the price on 2.5.2025; for products first offered later (after 2.5.2025 in those categories, after 10.9.2026 for the rest) the price on the day first offered, with that date. eCijene records the first-listing price automatically.

What if the product was on sale on 10.9.2026?

Then the base price is not the sale price but the regular price before the sale. For the 2.5.2025 date the ordinance refers to the lowest price in the 30 days before that sale. You enter or confirm these values; eCijene does not calculate them for you.

Do I have to change invoices, the cart or the checkout?

No. The Ministry has stated that the base price does not have to be shown on invoices. eCijene adds nothing to the cart, the checkout, orders or invoices.

When must the price list be updated?

Under the Pravilnik o načinu objave cjenika proizvoda (NN 132/2026), a changed price list must be published by 11:00 on the day of the change. eCijene publishes a new file a few minutes after a price is saved and also checks every day at the generation time (default 05:30); a new file only when the content changed, so a day without changes correctly has no new file. Make price changes early enough that the file is online by 11:00. Superseded files stay online for at least 15 days after they are replaced (default 45).

My server or firewall blocks XML files.

The ordinance allows the price list as .csv or .xml (NN 132/2026, Pravilnik o načinu objave cjenika proizvoda, Article 6), so CSV alone is enough. Choose “CSV only” under eCijene > Settings > Published formats: no XML is generated or linked any more and the stable XML copies are removed. “Check availability” on the Price list tab shows which addresses answer to programs; make the final check with an external tool.

Can I exclude products from the price list?

Yes. Set “Exclude from the price list” on the product or in Quick Edit. Products whose price is set by special regulations or other legal acts go into exempt categories: they get no base price and are not in the price list.

I installed eCijene after 10.9.2026. Where do the base prices come from?

From you. The setup wizard copies the current prices only after you confirm that they are the prices on the reference date. Prices that were different are corrected on the product, in the Items table or by CSV import. eCijene never reads backups or old orders, and every value records who set it and when.

Where is the price list?

By default at /ecijene/ (archive), /ecijene/webshop.csv and /ecijene/webshop.xml (latest price list) and /ecijene/index.json (file list, with all sales points). The address can be changed in the setup wizard. The same files are also in the uploads folder, which the web server serves without WordPress. Each sales point has its folder …/uploads/ecijene-/ with the current list (.csv), the archive page and index.json.

Cloudflare or a firewall blocks the price list.

The price list must be downloadable by automated programs. The setup wizard and the Price list tab test this and show the exact Cloudflare rules (skip rule for /ecijene/ and the upload folders; on the free plan Bot Fight Mode must be off). Security plugins that block user agents such as python or wget need the same exception.

I already use another Omnibus, lowest price or anchor price plugin.

eCijene shows a warning when one of the known plugins is active, because both would show prices. Keep only one of them active.

Does it work with HPOS and the Cart and Checkout blocks?

Yes. eCijene declares compatibility with High-Performance Order Storage and the Cart and Checkout blocks and was tested with orders placed through the Checkout block on WooCommerce 11.1 with HPOS enabled. It adds nothing to the cart, the checkout, orders or order e-mails.

Does it work with variable products?

Yes. History and base prices are kept per variation; ranges are shown before a variation is selected and exact values after.

Does it work without WooCommerce?

Yes. Without WooCommerce the services price list, the price lists of sales points from your POS or business program and the customer notice are active (e.g. a shop without a webshop, restaurants, cafés, accommodation, salons, workshops). The product features (base price next to products, lowest price on product pages, the webshop price list) need WooCommerce.

We have a shop with a POS. Can eCijene publish its price list?

Yes. Add the shop under Sales points, choose how the 2.5.2025 group is decided, and upload the price list export of your POS after every price change (by 11:00 on the day of the change). The first upload needs a base price for every item (a column of the export or a correction file); items that appear later get the price on the day they were first offered. The content of the file is your responsibility; eCijene checks the format, names, publishes and archives it.

How is the lowest price in 30 days found for a shop?

From the column of your export, if your program has it. Otherwise eCijene computes it from your uploads; it knows only the prices it has seen. If you state in the settings of the sales point that you upload the export at every price change (recorded with your user and the time), all uploads since the first one count, because the price did not change between two uploads. Without that statement there must be an upload on each of the 30 days before the sale started. Otherwise the field stays empty and the item is listed for confirmation.

Do I need FTP, SSH or a cron job?

No. Everything is done in the WordPress administration. Price lists are published as static files in the uploads folder. For the daily check of the webshop list, WP-Cron is enough; an external cron URL is optional.

My theme or page builder prints the price itself.

Turn off “Show automatically next to every price” (eCijene > Display) and place the [ecijene_cijena] shortcode or the ecijene_cijena() template function right next to the price.

Which languages are supported?

The interface is in English with a bundled Croatian translation. In WPML shops the labels can be set per language. Polylang and TranslatePress are not supported yet.

Is this legal advice?

No. eCijene helps you meet the obligations; the merchant is responsible for the accuracy of the data and the interpretation of the regulations.

Screenshots

Changelog

2.8.1

  • After every sales point publication the stable copy (.csv) is compared with the dated file and written again if it differs.
  • Once after the update the stable copies of all sales points and of the webshop list are made equal to the last publication, without a new publication.
  • “Check availability” compares what each stable address answers with the last publication, byte for byte, and names a cache in front of the server (e.g. Cloudflare) when it serves an older copy.
  • A further sales point of 2.7 is taken over as sales point 1 also when the sales points register already existed without it.

2.8.0

  • Several sales points with a price list from a POS or ERP export, each with its own type, address, code, numbers, archive, stable address, profiles and corrections; choose the sales point before the upload. The existing further sales point becomes sales point 1 with the same URLs, numbers, import profile and corrections.
  • Sales points work without WooCommerce (own menu items under eCijene); archive page and index.json in the folder of each sales point; links in the footer and [ecijene_obavijest] for all of them.
  • 2.5.2025 group per sales point: all 10.9.2026, all 2.5.2025 (only with a recorded confirmation), by category (assigned once, saved with the profile; the group of unassigned categories must be chosen before the first publication) or by name rules of a preset.
  • Lowest price in 30 days for sales points: from a mapped column, or from the upload history (every one of the 30 days, or all uploads since the first with the recorded statement “Izvoz učitavam pri svakoj promjeni cijena”); otherwise listed for confirmation.
  • Undo of the last sales point publication (published again as a new file).
  • A base price from the first offer is kept for later uploads that have no base price column.
  • File names: in the static file “” inside a part is written as “-” (ZA_SVA_PRODAJNA_MJESTA unchanged); the default type of sales point is “Internet trgovina”. Existing settings are not changed; a one-time notice lists types written with ““.
  • Setup wizard: new step “Where do you sell?”. Neutral examples in help texts.

2.7.2

  • Fix: “Upload price list” was the first item under eCijene with a broken link (and the main eCijene item took that link); it is now the last item, opens admin.php?page=ecijene-cjenik-prodajnog-mjesta for administrators and shop managers, and the main item opens Products again. The upload-only user keeps a top-level item of their own.

2.7.1

  • Page caches (W3 Total Cache, WP Rocket, WP Super Cache, LiteSpeed, WP Fastest Cache, SiteGround, Breeze, WP-Optimize, Cache Enabler) are emptied after every price list publication and once after a plugin update, so the links to the current dated file are not served stale.
  • Overview under the ordinances: “base price”, price list published on change, brand as a recommendation (“ako je primjenjivo”), and a new task and filter “sale without the lowest price in the last 30 days (enter it by hand)”.
  • The overview task “today’s price list” takes the daily check into account under the ordinances (a day without a price change is not an error).

2.7.0

  • Sales points: upload the price list export of any POS or business program as it is. eCijene detects the encoding (UTF-8 with or without BOM, Windows-1250), the separator (; , tab), a header row, decimal comma or point and empty fields written as NUL bytes; rows with fewer columns are skipped and listed. XLSX is read when the PHP zip extension is available.
  • Column mapping screen with three sample values per column; the mapping is saved as a named profile and applied to the next file of the same shape. Built-in profile “Blagajna, cjenik po odlukama Vlade (11 stupaca, bez zaglavlja)”.
  • Value rules: brand “0” or “-” is empty, special form of sale da/ne, 1/0, D/N, dates as YYYY-MM-DD, D.M.YYYY. or Excel numbers, EAN barcode from a valid EAN-8/13 barcode, units unified (KOM, KG, M, L, PAK).
  • Corrections per šifra (2.5.2025 group yes/no with the price on 2.5.2025, KG/M yes/no or the correct unit, brand), imported from CSV or XLSX (e.g. the review workbook); they win over the file on every upload. Without an answer, name-based 2.5.2025 proposals and KG rows to check are published with a default rule and listed “For confirmation” (downloadable, re-importable). New items without a base price get their first price and date.
  • Preview before publication (rows read, skipped, errors, changed prices, new items, items for confirmation, file name) and a report after it; an unchanged list is not republished.
  • Role “eCijene: učitavanje cjenika” (capability ecijene_upload_pricelist): the user sees only the upload page; shop managers have the capability too.

2.6.3

  • Admin: other plugins’ notices are no longer shown inside the eCijene screens with eCijene’s buttons and rounded boxes; WordPress places them above the eCijene header. eCijene’s own notices carry an “eCijene” label.
  • Import preview: a row with only the lowest price in the last 30 days is shown as “lowest price in the last 30 days”, not as a base price change.
  • The static files in the uploads folder are the primary public addresses of the current price list (archive page, index.json, admin lists); /ecijene/.csv stays as a second address. “Check availability” also tests the current dated file and says which address to use when the /ecijene/ address does not answer a program.
  • The price list links added to a menu and the [ecijene_obavijest] shortcode also link the current dated CSV file (name with the parts of the ordinance), for checkers that cannot read the archive page.
  • Texts under the ordinances: “base price” and “price list published on change” in the admin header and the import messages.
  • Services: the type of sales point of the services price list is its own setting and is never taken from the product price list; without it or without the OIB the services list is not published under the ordinances. File numbers of the services price list are no longer zero-padded (like the product price lists).

2.6.2

  • New tab “Sales points”: a further sales point (e.g. the physical shop) whose price list is a ready-made file. Upload a CSV (optionally XML) in the format of the Pravilnik o načinu objave cjenika proizvoda (NN 132/2026): UTF-8, “;”, the prescribed columns in their order, optional extra columns after them; every row is checked (amounts, special form of sale, EAN, dates).
  • The file is published with the next file number of that sales point and the file name of Article 6 (OIB, type of sales point, address, code, ROBA, number, time), at a stable address (/ecijene/.csv and uploads/ecijene-/.csv) that is overwritten on each upload; replaced files stay in the same folder for at least 15 days (default 45) and are listed on the public archive page and in index.json (“prodajna_mjesta”).
  • No item table, history or lowest-price calculation for this sales point: the content of the file is the merchant’s.
  • Setting “Published formats”: CSV and XML, or CSV only (for servers that block XML for programs). In CSV only mode no XML is generated or linked for the product list, the services list and further sales points, stable XML copies are removed, and the archives list only files that exist.
  • Price list tab: “Check availability” requests every public price list address from the own server with the user agents of programs and shows the HTTP status.
  • The bundled Croatian translation is loaded also when a language pack from translate.wordpress.org exists, so texts new in a release (including the customer notice) are not shown in English until the pack catches up.

2.6.1

  • Final ordinances published in Narodne novine 132/2026 (Pravilnik o isticanju bazne cijene proizvoda, Pravilnik o načinu objave cjenika proizvoda), in force from 17.11.2026.
  • Price list schema 3: prescribed columns first in the order of Article 3 (EAN barcode added after barcode; services start with the service name), optional extra columns after them with a setting (base price date and lowest price in 30 days on by default; special form of sale name, URL and ID off).
  • File name under Article 6: OIB or registration number, type of sales point (default Internet_trgovina), address, code, ROBA or USLUGE, file number and time YYYYMMDD_HHMM; option ZA_SVA_PRODAJNA_MJESTA. New settings with an OIB check digit test; a warning while the OIB is missing.
  • A changed price list is published a few minutes after a price, product or base price change (deadline 11:00 on the day of the change), in addition to the daily check. “Generate again” checks the list and publishes it when something changed.
  • Archived price lists: at least 15 days after replacement (default storage stays 45 days). Stable addresses (/ecijene/webshop.csv) and existing archives are unchanged.
  • Texts: deadlines, exemptions (“posebnim propisima ili drugim pravnim aktima”, vending machines), the Government decisions described as never applied.
  • Setup wizard: the disclaimer is shown once in the first step; the price list address field validates in current browsers.
  • Import (since 2.6.0, not listed then): column aliases, “spada_u_skupinu”, “id” next to “sifra”.

2.6.0

  • Legal basis setting: Government decisions NN 101/2026 and NN 110/2026 until 16.11.2026, ordinances under the Consumer Protection Act (Art. 7(11) and (12)) from 17.11.2026; automatic by default.
  • Under the ordinances: price list schema 2 (columns in the order of the ordinance, net quantity added, availability removed, “bazna_cijena”), published only when the content changed and kept online for 30 days after it was superseded; the 2.5.2025 date follows the product category for every merchant; exempt categories (no base price, not in the price list); updated public texts and deadlines.
  • Services price list: column “bazna_cijena” under the ordinances; the daily check republishes the list once when the legal basis changes.

2.5.5

  • Regression check of 2.5.4: plain sanitize_text_field() for table input, only HTML built by eCijene is passed through wp_kses() (third-party price markup is left intact).

2.5.4

  • Shortcodes and output filters return HTML escaped with wp_kses(); JSON from the admin tables is sanitised before decoding and field by field after it; no inline event handlers.

2.5.3

  • Hardening for the WordPress.org review: direct-access guard in every PHP file, input sanitised when read, assembled HTML passed through wp_kses before output, database tables created with dbDelta(), nonces on the refresh and recheck links, all JavaScript in files.

2.5.2

  • WordPress.org review: own nonce for product fields and Quick Edit, public page styles and scripts as enqueued files, uploads through wp_handle_upload, WP-CLI exports to standard output, the old eCijene Usluge add-on is no longer deactivated automatically, notices only on the Dashboard, Plugins and eCijene screens.

2.5.1

  • New administration design: rounded cards, fields and buttons, setup wizard with step cards.

2.5.0

  • English source strings with a bundled Croatian translation (preparation for WordPress.org).
  • Stricter input sanitization on the product edit screen and in settings.
  • Services import: a new service with a date but no additional price gets its price with that date; only an empty date means first listing with today’s date.
  • Block themes: the additional price line is styled inside the WooCommerce product price block.

2.4.0

  • Services: import a menu or price list from an existing web page (address or HTML), with preview and confirmation.
  • Menu grouped by category: [ecijene_usluge grupiraj=”da”].
  • Suggestions for object types and units for restaurants and accommodation.

2.3.0 to 2.3.4

  • Import history with undo, label position above or below the price, cache plugin purge, first price list published by the wizard, optional JSON API per SKU.
  • Items table: separate editable date column, date picker and validation of every field while typing; date picker on the product page.

2.2.0

  • New administration: Overview with tasks, Items table for direct entry, Display tab with live preview, Quick Edit, excluding an item from the price list, shortcodes [ecijene_cijena] and [ecijene_cjenik], warning when another lowest price or anchor price plugin is active.

2.1.0

  • Multilingual shops (WPML with WooCommerce Multilingual): translations share price history and additional prices, each item appears once in the price list, labels per language.

2.0.0

  • Services price list (formerly the separate eCijene Usluge add-on) is part of eCijene and works without WooCommerce; own eCijene menu; price list links in a chosen menu.

1.0.0 to 1.5.3

  • CSV export and import of all price list data with column mapping and preview, brands from product tags, customer notice shortcode, custom price list address, Cloudflare check, runs on PHP 7.4 to 8.5.

0.3.0

  • Daily price list with archive, schedule and warnings.