Linux 软件免费装
Banner图

eCijene: bazna (sidrena) cijena i cjenik za WooCommerce

开发者 redaxis
更新时间 2026年12月1日 03:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce croatia sidrena cijena bazna cijena cjenik

下载

2.8.2 2.9.0 2.10.0 2.10.1 2.11.0 2.11.1 2.9.1 2.9.2 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.6.0 2.5.5 2.7.2 2.8.0 2.8.1

详情介绍:

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) Lowest price in the last 30 days Price list (cjenik) Shops, branches and other sales points (POS or ERP export) Services (works without WooCommerce) Setup and everyday work Shortcodes Unknown values of a parameter are ignored and the default applies. Parameter names and values are Croatian. Why it is reliable eCijene is not legal advice. The merchant is responsible for the accuracy of the data and the interpretation of the regulations.

安装:

  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.

屏幕截图:

  • Items table: base price ("bazna cijena", the "Additional price" column) with its date, barcode, brand and net quantity entered directly, with validation.
  • Product page in a Croatian shop (Twenty Twenty-Five theme): price with the base price and its date.
  • Display settings: labels, labels in other languages, size and colors with a contrast check.
  • Setup wizard: only the obligations you need, step by step.
  • Services price list: CSV import and import from an existing web page.
  • Sales point upload: the columns of a POS or ERP export assigned once, with sample values, and the 2.5.2025 group by category.

升级注意事项:

2.11.1 New setting "Type of merchant": a craft or another natural person is shown with "matični broj" instead of "OIB" on the public price list pages. Existing installations get the type from the number already entered. File names do not change. 2.11.0 New shortcodes [ecijene_cjenici] and [ecijene_pregled] show the price list pages inside your theme, with an optional "Price list page" for the menu link and the notice. New parameters for [ecijene_cijena]. Existing shortcodes, pages and file addresses do not change. 2.10.1 New display option for variable products whose variations differ: the base price and the lowest price as a range (default, unchanged) or only the lowest value ("from …"), for themes that show the price as "from". 2.10.0 The page /ecijene/ now starts with all current price lists (products, services, sales points) and then their archives, with the merchant name and OIB. New optional setting "Merchant name". All file addresses stay the same. 2.9.2 With themes that move the variation price next to the main price, the base price lines are no longer repeated below the variation selector. The table view of the price lists also shows the services price list, and all public price list pages have the same width. 2.9.1 The archive page can no longer be replaced by a blocked request kept in a page cache; eCijene checks it every 15 minutes, purges a wrong cached copy, and writes a static copy of the archive and index.json next to the price list files. 2.9.0 New optional setting: virtual products that are not downloaded can go to the services price list. Off by default; nothing changes until you switch it on. 2.8.2 Variable products whose variations all have the same values no longer show the base price lines twice. A variation can have its own price list setting. 2.8.1 The stable copy of each price list is checked against the last publication (after every publication, once after the update, and in "Check availability", which also detects an older copy served by a cache such as Cloudflare). 2.8.0 Several sales points (also without WooCommerce), 2.5.2025 group per sales point, lowest price in 30 days for sales points, undo. The existing further sales point keeps its URLs, numbers, profile and corrections. 2.7.2 Fix: the menu item "Upload price list" under eCijene opened a missing page. 2.7.1 Page caches are emptied after every price list publication (and once now, after the update); overview texts under the ordinances; sales without a 30-day lowest price are listed. 2.7.0 Sales points: upload any POS or ERP price list export with a column mapping step, corrections per šifra, and a role for a user who only uploads the price list. 2.6.3 Fixes after the first production days: admin styling no longer applies to other plugins' notices, static file addresses are the primary public addresses, services need their own type of sales point. 2.6.2 Sales points tab (ready-made price list of e.g. the shop), "CSV only" setting, availability check. Includes 2.6.1 (final ordinances, OIB in file names). 2.6.1 Final ordinances NN 132/2026: price list schema 3 (EAN barcode, prescribed column order), file name with the OIB, publication within minutes of a price change. Enter the OIB after updating (setup wizard, Price list data). 2.6.0 Ordinances under the Consumer Protection Act from 17.11.2026: base price, price list schema 2 (net quantity, no availability), publication on change. Switches automatically on 17.11.2026; check the 2.5.2025 categories in the setup wizard. 2.5.5 Security hardening; no data changes. 2.5.4 Security hardening; no data changes. 2.5.3 Security hardening; no data changes. 2.5.2 Review fixes; WP-CLI exports now write to standard output. 2.5.1 New administration design; no data changes. 2.5.0 English source strings with a bundled Croatian translation; no data changes.

常见问题:

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/ (page of all price lists with the archives), /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. To show the same page inside your theme, put [ecijene_cjenici] on a page and choose it in eCijene > Settings, "Price list page". 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.

I sell services as virtual products in WooCommerce. Which price list are they in?

By default in the product price list, as before. Under eCijene > Settings > Virtual products (or in the setup wizard, step "Where do you sell?") you can choose "Virtual products (not downloadable) go to the services price list". Then simple products and variations marked "Virtual" and not "Downloadable" leave the product price list and are published in the services price list (name of the service, retail price and special form of sale, base price) next to the services you enter there. Exclusion from the price list and hidden products work as for goods; downloadable products stay goods. The services price list must be set up first (address, OIB and type of sales point); until then nothing moves. The services table shortcode shows only the services entered in eCijene.

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. Its parameters choose the lines, their order, the labels and the form for variable products (see Shortcodes).

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.

更新日志:

2.11.1 2.11.0 2.10.1 2.10.0 2.9.2 2.9.1 2.9.0 2.8.2 2.8.1 2.8.0 2.7.2 2.7.1 2.7.0 2.6.3 2.6.2 2.6.1 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 2.5.1 2.5.0 2.4.0 2.3.0 to 2.3.4 2.2.0 2.1.0 2.0.0 1.0.0 to 1.5.3 0.3.0