eCijene

Popis

eCijene helps online shops and service providers in Croatia meet the price display and publication rules in force from 17 November 2026 (postponed from 1 October 2026 by NN 110/2026; the reference date 10 September 2026 is unchanged). It is made for Croatian merchants; the plugin ships with a complete Croatian translation.

Products (WooCommerce)

  • Lowest price in the last 30 days during a sale (Consumer Protection Act, Art. 19, based on the EU Omnibus Directive). Every price change is recorded; during a sale the lowest price from the 30 days before the sale is shown, including gradual reductions and reductions not marked as a sale.
  • Additional price, popularly „sidrena cijena“ (Decision NN 101/2026, the „dodatna cijena“): next to every price, the price on the reference date (10.9.2026, or 2.5.2025 for goods covered by the 2025 decision) is shown with its date. Every value has a recorded source (setup copy, manual entry, import) with user and time.
  • Daily price list (Decision NN 101/2026): every day by 8:00 a machine-readable price list in CSV and XML with the file name pattern from the Ministry’s instructions, plus a public archive of at least 30 days and a searchable table view.

Services (works without WooCommerce)

  • Services price list with additional prices, entered in a table, imported from CSV or recognized from an existing page on your site (a restaurant menu or a price table), published as CSV and XML on every change, with an archive.
  • Shortcode for a table or a menu grouped by category, with the additional price next to every price.

Made for everyday work

  • Setup wizard that enables only the obligations you need and publishes the first price list.
  • Overview page 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), shortcodes [ecijene_cijena], [ecijene_cjenik], [ecijene_obavijest], [ecijene_usluge].
  • Variable products, WPML multilingual shops (translations share history and additional prices), cache plugin purge, Cloudflare check with the exact rules to allow the price list.
  • WP-CLI: wp ecijene status | diagnose | generate | data export|import | reference ....

eCijene does not determine historical prices for you: initial additional prices are copied from current prices only after the merchant confirms them, and corrections are made on the product, in the Items table or by import. It never reads backups or old orders.

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).

Obrázky

Inštalácia

  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 additional 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.

Časté otázky

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). The address can be changed in the setup wizard.

Does it work with variable products?

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

Does it work without WooCommerce?

Yes, then only the services price list and the customer notice are active (restaurants, cafés, accommodation, salons, workshops and other service providers).

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.

Recenzie

Pre tento plugin nie sú žiadne recenzie.

Prispievatelia a vývojári

“eCijene” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

Preložiť „eCijene“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

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.