MJDD Sidrena Cijena
MJDD Sidrena Cijena

MJDD Sidrena Cijena

5/5 (8 ratings) 700 active installs Updated Sep 29, 2026
Sidrena cijena on a WooCommerce product: regular price, sale price, and the sidrena line with tooltip.

Sidrena cijena on a WooCommerce product: regular price, sale price, and the sidrena line with tooltip.

With WooCommerce active, MJDD Sidrena Cijena stores each product and variation regular price in its own field and shows it next to the current price. The first tab, Dodatne stavke, is the same row repeater for services and made-to-order items that are not Woo products. Those rows are appended to the end of the public XML/CSV. Without WooCommerce, that repeater is the whole pricelist (Proizvodi) plus a public HTML page at /sidrena-cjenik.

The prefix is text only; the date is added automatically in one of two formats:

Sidrena cijena (10.09.2026.) : 19,99 €
Sidrena cijena na 10.09.2026. : 19,99 €

Hovering the row shows a tooltip with an explanation (can be turned off). The prefix and tooltip can be translated with WPML, Polylang, TranslatePress, or Loco Translate.

The line under the product price has the CSS class sidrena-cijena so you can style it in the theme or Customizer (Appearance Customize Additional CSS). The default size is 14px (12px on mobile), without bold.

Features

  • Works with WooCommerce, or standalone on a plain WordPress site
  • Activation does not fill empty sidrena prices. Use the fill buttons or WP-CLI when you want that copy
  • Display follows WooCommerce tax settings (same VAT treatment as the regular price)
  • Filter sidrena_cijena_price_to_display when MPC is calculated outside WooCommerce Tax
  • Field below the sale price on simple products and on every variation
  • WooCommerce Sidrena cijena tabs: Dodatne stavke, Settings, Import/Export, Public feed (top-level menu when Woo is not active; the first tab is then Proizvodi)
  • With Woo: Dodatne stavke repeater for services and made-to-order items. Each row has a type (proizvod or usluga), its own sidrena date, and, with several outlets, a webshop or poslovnica. Shortcode [sidrena-cijena id="d1"]
  • Without Woo: product repeater (name, SKU, URL, regular, sale, sidrena, Dostupno/Nedostupno) feeding the same export; each row has [sidrena-cijena id="x"] for pages
  • Public HTML pricelist at /sidrena-cjenik (always without Woo; on a shop only after HTML stranica /sidrena-cjenik is turned on)
  • Prefix without a date; storefront format: Prefix (date) or Prefix date (the word “na” belongs in the prefix). An empty prefix with Prefix date prints only the date and the amount
  • Default reference date plus an optional per-product date (FMCG 02.05.2025. vs other goods 10.09.2026.)
  • Tooltip on hover of the whole row (switch, on by default)
  • Prefix and tooltip translations in WPML, Polylang, TranslatePress, or Loco Translate
  • Export of the client pricelist (CSV or XML, same columns as the public feed) and of products missing a sidrena price
  • Bulk import CSV/XML by SKU or catalog/product ID, with price column mapping (creates catalog rows when Woo is off)
  • Public price list at /sidrena-cijena.xml or /sidrena-cijena.csv (choose format in settings; manual or daily after 00:05)
  • Public feed includes vrsta, sidrena_datum, dostupno/nedostupno, barcode from GTIN, UPC, EAN or ISBN, and brand (marka) from a chosen taxonomy or a manual field. Each outlet keeps its own availability
  • 30-day archive at /arhiva-sidrene-cijene (prodavaonica_Ilica 150 Zagreb_P-01_104_01.10.2026_07:45.xml or .csv)
  • Optional multiple outlets: /sidrena-cijena.xml stays the webshop file. Each poslovnica has its own feed (/sidrena-cijena-001.xml), HTML page (/sidrena-cjenik/001), and 30-file archive. /sidrena-cjenik is the webshop table and includes the webshop download
  • Shortcode [sidrena-cjenik] prints the searchable pricelist table (name, SKU, barcode, prices, availability) on any page. oznaka="001" limits it to one outlet. [sidrena-arhiva oznaka="001"] does the same for the archive list
  • Optional unit of measure (CJM). When the setting is on, each Woo product and each manual row (Proizvodi / Dodatne stavke) can append a unit to the prefix, e.g. “za kg/l”
  • Public feed publishes one retail price. While a sale price is active the sale-form column is akcija, unless that product or manual row sets another name
  • Automatic display below the price (can be turned off; the shortcode remains)
  • Shortcode [sidrena-cijena] for product loops and custom templates. prikaz="redovna", prikaz="akcijska", or prikaz="sidrena" prints only that amount
  • Universal hook: do_action( 'sidrena_cijena' ); or sidrena_cijena();
  • WooCommerce CSV product import / export columns
  • HPOS compatibility

Development: MJDD / Jure Zadravec – https://mjdd.hr

Sidrena cijena is free software, offered as-is and without warranty, and without responsibility for the prices you publish, to the extent the law allows. It is a tool for showing and publishing prices, not legal advice. Please check that the prices you publish are the ones you intend, and that they follow the rules that apply to your shop.