| 开发者 | redaxis |
|---|---|
| 更新时间 | 2026年12月1日 03:50 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp ecijene status | diagnose | generate | data export|import | reference ....[ecijene_cijena]: the eCijene lines of one product (lowest price in 30 days, base price, unit price) without the price itself, for themes and page builders that print the price themselves. id (product ID, default the current product); prikaz="dodatna|bazna|najniza" (only the amount, for a variable product as a range or "od"); oblik="raspon|od" (variable product: range or only the lowest value, overrides the Display setting for this shortcode); linije="najniza,bazna,jedinicna" (only these lines, in this order); natpisi="da|ne" (with or without labels). In a template: ecijene_cijena(), ecijene_cijena( $product ) or ecijene_cijena( [ 'id' => 123, 'oblik' => 'od' ] ); the same arguments work with do_action( 'ecijene_cijena', ... ).[ecijene_cjenici]: the page of all price lists inside your theme (merchant with OIB or registration number, current price lists, table link, archives), the same content as /ecijene/. cjenik="sve|proizvodi|usluge|<short name of a sales point>"; dio="sve|vazeci|arhive"; zaglavlje="da|ne"; redaka="<number>" (rows per archive, with a link "Cijela arhiva" to the standalone page). Choose the page in eCijene > Settings, "Price list page", and the menu link "Cjenik proizvoda" and [ecijene_obavijest] point to it; file addresses do not change.[ecijene_pregled]: the current price lists as a table with search and the tabs Products and Services, the same as /ecijene/pregled/. cjenik="sve|proizvodi|usluge"; pretraga="da|ne".[ecijene_cjenik]: the product price list as a table. pretraga="da|ne".[ecijene_obavijest]: the customer notice with links to the price lists. tekst="da|ne".[ecijene_usluge]: the services as a table with the base price. kategorija (comma-separated), sifra="da|ne", naslov, grupiraj="da|ne", stupac.[ecijene_usluge_arhiva]: the archive of the services price list on a page of your theme.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.
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.
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.
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).
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.
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.
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.
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.
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.
eCijene shows a warning when one of the known plugins is active, because both would show prices. Keep only one of them active.
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.
Yes. History and base prices are kept per variation; ranges are shown before a variation is selected and exact values after.
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.
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.
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.
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.
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.
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).
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.
No. eCijene helps you meet the obligations; the merchant is responsible for the accuracy of the data and the interpretation of the regulations.