跳到内容

Aplitap Sidrena Cijena i Cjenik

v2.8.0

aplitap · 2026年9月22日 上架

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

正在使用
100+
评分
5.0 / 5
累计下载
1,410
最近更新
2026年11月20日
3 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

贡献者

截图

Base price settings with live preview
Base price settings with live preview
Price list settings and publishing status
Price list settings and publishing status
Base price review, CSV import and backups
Base price review, CSV import and backups

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums