跳到内容

Meridian Digital Cjenik i Sidrena Cijena

v0.1.0

Leonard Martinis (Meridian Digital) · 2026年10月14日 上架

Helps Croatian WooCommerce shops publish the daily price list (cjenik) as CSV/XML and show the anchor price (sidrena cijena) and lowest 30-day price.

正在使用
10 以下
评分
暂无
累计下载
219
最近更新
2026年10月15日
需要 WordPress 6.8+已测试到 7.1.5PHP 8.1+

截图

The setup asks for your outlet and where product data comes from, then publishes the first price list.
The setup asks for your outlet and where product data comes from, then publishes the first price list.
The status page shows today's file, the next run and the public URLs.
The status page shows today's file, the next run and the public URLs.
The publication log lists every file with its storage number, time, row count and checksum.
The publication log lists every file with its storage number, time, row count and checksum.
A product page shows the anchor price and, during a sale, the lowest price in the last 30 days.
A product page shows the anchor price and, during a sale, the lowest price in the last 30 days.
Anchor prices lists items without a confirmed anchor price and imports them from CSV.
Anchor prices lists items without a confirmed anchor price and imports them from CSV.
The public archive lists every price list published in the retention period.
The public archive lists every price list published in the retention period.

From 1 October 2026, Croatian traders who sell online publish a machine-readable price list every day by 08:00 and keep each file online for 30 days (NN 101/2026). Next to the current price they show the anchor price (sidrena cijena, the “dodatna cijena” of the decision) and, during a sale (akcija, rasprodaja, popust), the lowest price in the last 30 days (najniža cijena).

This plugin helps your WooCommerce shop publish that price list every morning as CSV or XML, and shows both prices on your product pages. It needs no account and no daily work.

Features

  • Publishes the price list every day at a time you choose (default 05:00, Europe/Zagreb time), including weekends and holidays.
  • Names each file with the outlet type, address, code, storage number, date and time.
  • Keeps a public archive page, a “latest file” URL that never changes, and every file for at least 31 days.
  • Records a publication log with the time, row count and SHA-256 checksum of every file.
  • Keeps a price history of every product and variation, from the day you activate the plugin.
  • Takes anchor prices from that history, from the product screen, or from a CSV import (including the HOK template).
  • Shows the anchor price and the lowest 30-day price on product pages, shop pages, product blocks and variation selection.
  • Emails you and shows an admin notice when today’s file is missing, and checks that visitors can download the files.
  • Offers WP-CLI commands and instructions for a system cron job, so publishing doesn’t depend on site traffic.
  • Works with WooCommerce order storage (HPOS) and the cart and checkout blocks.

Why it’s reliable

  • Deadlines follow Europe/Zagreb time, including summer-time changes, whatever your site timezone.
  • Prices include VAT at the Croatian rate of each tax class, even when a scheduled task runs without a customer.
  • Prices come from the regular price, sale price and sale dates, so a late WooCommerce sale job can’t publish a stale price.
  • A watchdog retries every 15 minutes until today’s file exists, and a file is only visible once it is completely written.

Important

This plugin helps you publish your price list and show the anchor price and the lowest 30-day price. No plugin can guarantee legal compliance; you remain responsible for your data and for checking the current rules.

Privacy and external services

The plugin sends no data to any external service and needs no account or licence. The only HTTP requests it makes go to your own site: the self-check downloads your price-list URLs without logging in, to confirm that visitors can reach them. Alert emails go through your site’s own mailer.

Source code

The source code, tests and build scripts are public at github.com/Meridian-doo/cjenik-i-sidrena-cijena. The PHP isn’t compiled or minified; npm run build in that repository produces this plugin’s zip.

The admin screens use the Inter and IBM Plex Mono fonts, bundled in assets/fonts under the SIL Open Font License 1.1 and loaded from your own site.

Plums

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

导航

说明

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

© 2026 Plums