| 开发者 | leonardmeridian |
|---|---|
| 更新时间 | 2026年10月15日 03:39 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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.
0,15,30,45 * * * * cd /path/to/site && wp cjenik watchdog --quietYou don't have to do anything each day. The plugin publishes at 05:00 by default and retries every 15 minutes until the file exists. WordPress runs scheduled tasks only when someone visits the site, so on a quiet site add the system cron job from the installation steps. You can change the time under Settings.
It is the regular price (never a sale price) on 10 September 2026, or on 2 May 2025 for the food and household categories you choose. Products listed later use their first price. The plugin shows it as "Cijena na 10.9.2026.: 12,00 €", and you can change the wording.
During a sale, the plugin looks up the lowest price the item was offered at in the 30 days before the sale started, from its own price history. WooCommerce keeps no history, so the plugin knows prices from the day it was activated. You can import earlier prices from a CSV with šifra or barkod, cijena (with VAT), od and optionally do.
Until you enter or import the correct anchor price, the plugin uses the earliest price it knows with that date, and lists the item under Anchor prices. Import a CSV with šifra or barkod, sidrena cijena and sidreni datum, or a HOK template with a "Cijena 10.9.2026." column.
The plugin creates a public page listing every published file, and you can add the list to any page with the [cjenik_arhiva] shortcode. The newest file is always at /cjenik/webshop.csv on your site.
No. The plugin lists your WooCommerce products and variations. It doesn't cover services or a price list for several shops (outlets); the free plugin sets up one outlet, your webshop. Developers can add rows and outlets with the cjenik_row_sources and cjenik_outlets filters.
The commands are wp cjenik publish, watchdog, status, log, snapshot, import-anchors <file>, import-history <file> and self-check.
By default the price history, anchor prices, publication log and files are kept as evidence. You can choose to delete them in the settings.