Skip to content
Sign in
Aplitap Sidrena Cijena i Cjenik icon

Aplitap Sidrena Cijena i Cjenik

Base price ("bazna cijena") and a machine-readable price list ("cjenik") for Croatian websites, following the regulations in force …

Not scanned yet WordPress plugin 100 installs

Install in

No install steps yet

Follow the steps on the source page.

From 17 November 2026 Croatian merchants and service providers with a website must, among other things:

  • display the base price (“bazna cijena”) – the retail price that applied on a prescribed reference day – next to the current price (Pravilnik o isticanju bazne cijene proizvoda, NN 132/2026),
  • publish a machine-readable price list of goods and/or services as CSV or XML, with a prescribed column order and file name, updated by 11:00 on the day of any change, at the same URL, with replaced versions kept for 15 days (Pravilnik o načinu objave cjenika proizvoda, NN 132/2026),
  • when announcing a price reduction, refer to the lowest price in the 30 days before the reduction (Zakon o zaštiti potrošača, as amended by NN 59/2026).

The earlier Decision NN 101/2026 (“sidrena cijena”) is no longer the legal basis. Version 2.8.0 moves the plugin to the new framework while keeping all data entered in 2.7.x.

Base price (“Bazna cijena”)

  • Legal category per product: A – food, drinks, cosmetics, cleaning products, toiletries and household products (reference day 02.05.2025.) or B – other goods and services (reference day 10.09.2026.). Global default, per-product choice, bulk edit and CSV import. The category is never guessed from WooCommerce category names.
  • “Date first offered” field – products first offered after the legal date use that day as their reference day (the WordPress creation date is only a flagged fallback).
  • The amount is kept separate from the date, never changes automatically with the regular or sale price, and 0 is a valid amount.
  • Record whether the product was discounted on the reference day (Art. 3 (2)-(5)).
  • Shown as a separate, non-struck-through line next to the current price – also when it equals the current price – on product pages, shop/category pages, related products, blocks, cart and checkout. Variations show their own amount and date; a price range with differing dates is shown without a single (wrong) date.
  • Per-product exemptions (Art. 4) with a reason, separately for the display and for the price list.
  • Review screen: missing base prices, unconfirmed categories/dates, legacy values that need checking, CSV export/import with preview and validation, automatic backups and one-click restore.
  • The old “copy regular price to all products” button was replaced by a controlled manual tool (only empty values by default, explicit acknowledgement, backup, flagged as unverified).

Important: the plugin cannot confirm historical prices that were never recorded in the shop. Amounts entered manually, imported or copied must match the real price on the reference day.

Lowest price in the last 30 days

  • From 2.8.0 the plugin records every change of the applied price (regular, sale, scheduled sales) in its own history table.
  • For products on sale it shows “Najniža cijena u 30 dana prije sniženja”, handling continuous/successive reductions as one sale and perishable goods (price immediately before the reduction).
  • Nothing is shown until the history covers the full 30 days – the plugin never invents a past price. Display is skipped automatically if another lowest-price plugin is active.

Price list (“Cjenik”)

  • Goods columns in the order of Art. 3 (2): naziv_robe; sifra_robe; marka_robe; neto_kolicina; jedinica_mjere; maloprodajna_cijena; posebni_oblik_prodaje; cijena_za_jedinicu_mjere; barkod; ean_barkod; bazna_cijena. Services: naziv_usluge; maloprodajna_cijena; posebni_oblik_prodaje; bazna_cijena.
  • Net quantity and unit are separate; the unit price is calculated (e.g. 750 ml -> price per litre). Barcode and EAN are separate (WooCommerce GTIN field preferred, checksum validated). Sale information comes from the actual WooCommerce sale state. Prices include VAT when the shop enters prices without tax.
  • CSV in UTF-8 with “;” separator, proper quoting and formula-injection protection, no metadata rows before the header; valid XML with the same data and order.
  • File name per Art. 6 (3)-(4): OIB (legal person) or registration number (natural person), type, address and label of the sales point (or ZA_SVA_PRODAJNA_MJESTA), ROBA/USLUGE, storage number and GGGGMMDD_SSMM timestamp.
  • Stable public URL (/cjenik/roba.csv, /cjenik/usluge.xml, per location /cjenik/roba-ID.csv) always serving the current file under its legal file name; machine-readable index at /cjenik/index.json.
  • Published automatically about a minute after a relevant change (WooCommerce events, REST API and imports included) via Action Scheduler/WP-Cron, plus a daily check, an external cron URL and a WP-CLI command (wp aplitap-cjenik publish). Locking, atomic writes, retries with e-mail notification, and a status panel.
  • A new archive version is created only when the content actually changes; replaced versions stay public for at least 15 days after replacement (default 30).
  • Manual goods and services without WooCommerce, CSV import, multiple sales locations, shortcodes [aplitap_cjenik], [aplitap_cjenik_usluge], [aplitap_cjenik_arhiva].

Note: the regulations do not prescribe column header names or an XML schema – the names used are an interpretation. This plugin is a technical aid, not legal advice.

Requirements

  • WordPress 6.0+, PHP 7.4+
  • WooCommerce for the base price display and for automatic products in the price list. Without WooCommerce, the price list works via manual entry or CSV import.

Written by Joobi from the project's own listing. See the source page

bazna cijenacjenikcjenik csvnajniža cijena 30 danasidrena cijena
20 Nov 2026
Version 2.8.0 released. Not scanned yet.

2.8.0

  • Legal basis moved from Decision NN 101/2026 to Pravilnik o isticanju bazne cijene proizvoda and Pravilnik o načinu objave cjenika proizvoda (NN 132/2026, in force from 17.11.2026). “Sidrena cijena” is now “Bazna cijena” in all user-facing text; meta keys and options are unchanged
  • New: legal category (A = 02.05.2025., B = 10.09.2026.), date first offered, discount on reference day, source of the amount, per-product exemptions with reason (display and price list separately), perishable-goods flag, bulk edit
  • New: review screen, CSV export/import with preview and validation, automatic backups and restore; the old bulk “copy regular price” button replaced by a controlled tool that by default only fills empty values
  • New: price history and lowest price in the 30 days before a reduction (continuous reductions, perishable goods), shown only when the history is complete
  • Price list: column order per Art. 3, net quantity, calculated unit price, separate barcode and EAN (WooCommerce GTIN, checksum), sale information from the real sale state, VAT-inclusive prices, “;” separator enforced, metadata rows removed from the CSV, availability column removed from the files, formula-injection protection, streaming XML
  • File name per Art. 6 (OIB / registration number, sales point or ZA_SVA_PRODAJNA_MJESTA, ROBA/USLUGE, storage number, GGGGMMDD_SSMM); new merchant identification settings and location type/label fields
  • Publishing: stable URL /cjenik/roba.csv, index.json, event-driven queue (Action Scheduler/WP-Cron) instead of synchronous generation on every product save, locking, atomic writes, new archive version only on real changes, retries with notification, status panel, external cron URL, WP-CLI command, robots.txt allow rules
  • Archive retention counted from replacement; minimum lowered to the legal 15 days (existing settings, default 30, kept)
  • Products hidden from the catalog are now included in the price list; exclusion requires a legal exemption reason (old “exclude” settings are kept and flagged)
  • Batched catalog processing instead of loading all products at once
  • Fixed: variation field always showed 10.09.2026.; feedback e-mail reported version 1.0.0; possible duplicate base price line in some themes/blocks
  • Migration from 2.7.x is repeatable and non-destructive (backup before changes, no amounts modified)

2.7.10

  • Fixed the reference price not showing on Cart/Checkout when the site uses WooCommerce’s newer block-based Cart/Checkout (the Cart and Checkout blocks) rather than the classic shortcode pages – the previous fix (2.7.3) only worked on the classic pages, since the block-based cart reads product data through a completely different mechanism (the Store API) that never called our old hook. It now shows next to the product name, in the same place variation details like size/color normally appear, and works on both the classic and block-based cart/checkout

2.7.9

  • Fixed selecting “Ostalo (upišite)” for Jedinica mjere in Quick Edit not revealing the free-text field – the change handler was bound directly to the dropdown, which could lose its listener when WordPress repositioned the field; now bound as a delegated handler so it works reliably regardless of when/how the row gets rebuilt

2.7.8

  • Fixed the “Upišite jedinicu mjere” field in Quick Edit always showing, even when “Ostalo” wasn’t selected – WooCommerce’s own Quick Edit styling was overriding the CSS class we used to hide it, so it looked active (and made it seem like typing there “did nothing”) when the dropdown was actually still set to a normal unit like “kom”

2.7.7

  • Quick Edit on the products list now groups all Sidrena cijena i Cjenik fields together in one labeled block, matching the box on the product edit screen – and added the two fields that were missing from Quick Edit: “Vrijedi na dan” (reference date) and “Jedinica mjere” (with the same “Ostalo” free-text option), plus “Akcija” (special sale form name)

2.7.6

  • The “Sidrena cijena (…)” field label in the “Sidrena cijena i Cjenik” box now shows the actual date that applies to that specific product, instead of always showing the fixed 10.09.2026 law date
  • Added a “Šifra proizvoda (SKU)” field to the “Sidrena cijena i Cjenik” box, mirroring the SKU field from the Inventory tab – editing it in either place updates both
  • “Naziv posebnog oblika prodaje” field relabeled to “Naziv posebnog oblika prodaje (Akcija)” so it’s clearer what it’s for
  • “Jedinica mjere” now has an “Ostalo (upišite)” option that reveals a free-text field, for units not on the built-in list

2.7.5

  • Added an optional “Sidrena cijena vrijedi na dan” date field (in the “Sidrena cijena i Cjenik” box) to manually set the date shown in the reference price label, for cases where the automatic date (the legal date, or the product’s creation date) isn’t what you want. Leave it empty and nothing changes – the automatic date is still used

2.7.4

  • All product fields related to the reference price and price list (reference price, barcode, unit of measure, special sale form name, price list visibility override) are now grouped together in a single “Sidrena cijena i Cjenik” box in the sidebar of the product edit screen, instead of being spread across the Pricing and Inventory tabs
  • Added the barcode field to Quick Edit on the products list, next to the existing reference price field

2.7.3

  • The reference price label now shows the actual date it applies to instead of always saying 10.09.2026: for a product created after that date, it shows that product’s own creation date instead (e.g. a product created 27.09.2026 now says “Sidrena cijena na dan 27.09.2026.” instead of the fixed law date, since the reference price for a product that didn’t exist on 10.09.2026 is naturally the price on the day it was created)
  • The reference price now also appears on the Cart and Checkout pages, not just the product/shop pages – previously it was missing there because WooCommerce builds those two pages’ prices in a different way that bypassed our display code entirely

2.7.2

  • Fixed Quick Edit on the products list: editing the reference price for one product, then Quick-Editing another without a full page reload, could duplicate the reference price field many times over and silently fail to save the new value. WooCommerce re-adds the field on every Quick Edit click without removing the previous copy once it had been repositioned – now only the newest copy is kept each time

2.7.1

  • Fixed missing barcodes for product variations in the price list. Our own barcode field only ever existed on the main product, not on each variation, so a variation without its own value now falls back to WooCommerce’s own built-in “GTIN, UPC, EAN or ISBN” field, which does support per-variation values and is what most stores actually use
  • A variation without its own “Jedinica mjere” (unit of measure) now inherits the main product’s setting, instead of always defaulting to “kom”
  • Added “par” (pair) as a unit of measure option, for products commonly sold in pairs (speakers, shoes, gloves, etc.)

2.7.0

  • Added separate “Generiraj cjenik proizvoda” / “Generiraj cjenik usluga” switches in Postavke – useful for sites that only ever have one of the two (e.g. a services-only site with no WooCommerce and no products), so it stops generating and publicly listing an always-empty price list for the other. Both stay on by default, so nothing changes unless you turn one off

2.6.4

  • Fixed the “list is getting long” warning on the manual services table appearing far too late (it used the wrong field count, so it only warned at ~245 rows when PHP’s default max_input_vars limit actually starts silently dropping data around row ~199-200)
  • Added a clear error message when an entire form submission (e.g. a large CSV upload) is silently discarded because it exceeds the server’s post_max_size limit – previously this failed with no feedback at all, looking like nothing happened
  • CSV import now also recognizes column headers like “Naziv usluge”/”Naziv proizvoda” (as shown elsewhere in the plugin), not just the exact word “naziv”, so a CSV built by copying those headers isn’t silently rejected

2.6.3

  • Fixed a critical error (“Uncaught ValueError”) when importing a CSV on PHP 8, on servers whose mbstring build doesn’t recognize the “Windows-1250” encoding name – the encoding auto-detection now only uses names the server actually supports, and CSV import no longer takes down the whole admin page on an unexpected encoding-related error

2.6.2

  • The CSV files now start with the same generation metadata the XML root element already carries (generation date/time, sales outlet name, address, storage number) as key;value rows, before the column header row

2.6.1

  • Fixed all price list timestamps (the archived filename timestamp, the “Generirano”/”Generiran” dates shown in admin, and the XML generation-date attribute) to always use Croatian (Europe/Zagreb) time, instead of partly using UTC (the filename timestamp) or the site’s WordPress timezone setting (which many hosts leave at UTC by default)
  • Fixed the daily automatic generation time to actually fire at the configured Croatian time – previously, on a server/WordPress install using UTC, “07:30” in the settings could actually run at 08:30 or 09:30 real Zagreb time depending on daylight saving, risking the legal “by 8:00” deadline. The schedule now also self-corrects if a daylight-saving transition shifts it

2.6.0

  • Added support for multiple business locations (“Poslovnice”) – a new tab on the Cjenik page lets you define physical locations (name, address, storage number), and each manually entered product/service row (products and services tabs) can optionally be assigned to one. Rows assigned to a location generate their own separate CSV/XML with that location’s own address in the filename (Article VI), alongside the existing shared price list
  • If you don’t add any locations, nothing changes – this is fully opt-in and the existing single shared price list keeps working exactly as before

2.5.1

  • Added proper translation support (Domain Path + a languages/ folder) so the plugin’s text can be translated with Loco Translate or any other .po/.mo tool
  • Moved the “Generiraj cjenik sada” button away from the right edge on the Cjenik page, so it doesn’t sit flush against the browser edge on wide screens

2.5.0

  • The “Ručni unos usluga” manual entry table now only shows the 4 fields Article IV actually requires (Naziv, Cijena, Naziv akcije, Sidrena cijena), instead of the full product field set (Šifra/Brend/Jed. mjere/Barkod/Dostupno) that was never used for services – the “Ručni unos proizvoda” table is unchanged

2.4.3

  • Fixed the reference price line showing twice on a variable product’s selected-variation price, whenever that variation’s price differs from the “from” price shown before selection. Both the general price filter and the variation-specific filter were independently appending the line in that case

2.4.2

  • Fixed the reference price not showing at all on a variable product’s shop/archive card (the price range shown before a variation is selected) – it only ever showed on the single product page after a variation was chosen. The plugin now shows a min–max reference price range on the card too, built from whichever variations have one set, the same way WooCommerce itself shows the regular price range

2.4.1

  • The [aplitap_cjenik_usluge] shortcode table now also shows Šifra, Brend, Jed. mjere, Cijena/jed., Barkod and Dostupnost for manually entered services (in addition to the 4 legally required fields), matching what [aplitap_cjenik] already shows for products – the CSV/XML export for services is unaffected and still contains only the 4 fields Article IV requires
  • Confirmed the full-width fix from 2.3.2 already covers [aplitap_cjenik_usluge] and [aplitap_cjenik_arhiva] too (they share the same wrapper); if it still looks narrow, re-save/republish the page after updating

2.4.0

  • Products and services price list files now live in separate, clearer folders/URLs – wp-content/uploads/cjenik-proizvodi/ and wp-content/uploads/cjenik-usluga/ – instead of one shared “cjenik” folder with a “-usluge” suffix in the filename
  • The “Arhiva” tab (and the [aplitap_cjenik_arhiva] shortcode) now shows a “Vrsta” (Type) column, since products and services archives can otherwise share the same filename in their own folder
  • Note: existing links to the old wp-content/uploads/cjenik/ URLs will stop working after this update – update any bookmarks or embedded links to the new URLs shown on the price list tabs

2.3.3

  • The [aplitap_cjenik] shortcode table now shows all the fields the Decision requires for products (added Brend, Cijena/jed., Naziv akcije and Barkod) instead of a trimmed 6-column view – it now matches the CSV/XML content

2.3.2

  • Fixed the [aplitap_cjenik] / [aplitap_cjenik_usluge] / [aplitap_cjenik_arhiva] shortcode tables not stretching to the full width of their container on some themes/page builders (the wrapper only had a max-width, not an actual width, so flex/grid layouts could shrink it to fit its content instead)

2.3.1

  • Added a delete button next to each archived file on the “Arhiva” tab, to remove an individual version without waiting for the retention period

2.3.0

  • Split the “Cjenik” admin page into three tabs – “Proizvodi”, “Usluge” and “Arhiva” – instead of one long page, so each price list is easier to manage on its own
  • The manual entry table (CSV import + row-by-row list, for products/services without WooCommerce) is now two separate tables, one on the “Proizvodi” tab and one on the “Usluge” tab, each saving straight into its matching price list – no more per-row “Type” picker
  • “Generiraj cjenik sada” is now a standalone button next to the tabs, so you can regenerate the price list from any tab

2.2.0

  • The manual entry table (for sites without WooCommerce, or for items that aren’t WC products) now has a “Tip” (Type) column – mark each row as “Proizvod” or “Usluga” and it’s routed into the matching price list with the right fields, instead of everything being treated as a service with a reduced field set
  • CSV import now also accepts a “tip” column (“proizvod”/”usluga”); rows without it default to “usluga” (unchanged behaviour)

2.1.2

  • Fixed the reference price (“sidrena cijena”) not showing at all on variable products (size/colour variations) – only simple products were displaying it. WooCommerce leaves the variation’s price_html empty by default (themes render the price from raw numbers via JS instead), and the plugin was mistakenly skipping variations for exactly that reason.

2.1.1

  • Added a [aplitap_cjenik_arhiva] shortcode to publicly list the archived price list versions (date + download link for each), and a matching copyable shortcode field on the admin Arhiva screen

2.1.0

  • Legal correction: “special sale” is now the actual promotion NAME (e.g. “Black Friday”), for both products and services, as literally required by Article III/IV of the Decision – not just a yes/no flag
  • Services now get their own, separate price list (CSV/XML/shortcode) instead of being merged into the product price list, matching the different, smaller field set the Decision requires for services
  • Added bulk actions to the manual services table: select-all + “Ukloni odabrano”, and a one-click “Obriši sve usluge” to clear the whole list
  • Fixed CSV import corrupting many rows on files with non-UTF-8 encoding or old-style (Mac) line endings; the importer now normalizes both, and rejects the file with a clear error instead of silently creating garbled rows if the delimiter doesn’t match
  • Added a warning when the manual services table is large enough to risk exceeding the server’s max_input_vars limit on save

2.0.0

  • Redesigned the admin screens with a card-based layout, refined tabs, buttons and status badges
  • Added an “Arhiva” (archive) section on the Cjenik page listing every generated CSV/XML version with a download link (matches the legally required 30+ day retention)
  • Added a one-time “Prebaci redovnu cijenu u sidrenu za sve proizvode” button to bulk-copy each product’s regular price into its reference price – disables itself after first use
  • Fixed the CSV/XML preview links to bust browser cache after regeneration
  • Fixed archive cleanup silently skipping old files when a custom “document name” was set (it only matched the default “cjenik_” filename prefix)

1.5.0

  • Split the admin menu into “Postavke” (configuration) and “Cjenik” (current file, generation, services, data preview) – separates settings from day-to-day price list management
  • The price list (“Cjenik”) no longer requires WooCommerce – add services/items manually in a table, or bulk-import them from a CSV file
  • The manual services table now has separate unit/retail price, a sale flag, a brand column, and a free-text unit of measure field
  • Renamed “Oznaka prodajnog mjesta / objekta” to “Naziv dokumenta cjenika” – it now shows a live example of the auto-generated filename, and lets you set the exact file/URL name if filled in
  • Added copyable CSV/XML URL fields on the Cjenik page
  • Added a manual “Address” field for the price list filename when WooCommerce isn’t active
  • Admin menu no longer requires the WooCommerce-spe
22 Sep 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)