Changeset 3464072
- Timestamp:
- 02/18/2026 08:49:55 AM (3 weeks ago)
- Location:
- product-price-history
- Files:
-
- 12 added
- 20 edited
- 1 copied
-
tags/2.6.1 (copied) (copied from product-price-history/trunk)
-
tags/2.6.1/README.txt (modified) (2 diffs)
-
tags/2.6.1/assets/build/admin.css.map (added)
-
tags/2.6.1/assets/build/admin.js.map (added)
-
tags/2.6.1/assets/build/public-chart.css.map (added)
-
tags/2.6.1/assets/build/public-chart.js.map (added)
-
tags/2.6.1/assets/build/public-rtl.css (modified) (1 diff)
-
tags/2.6.1/assets/build/public.asset.php (modified) (1 diff)
-
tags/2.6.1/assets/build/public.css (modified) (1 diff)
-
tags/2.6.1/assets/build/public.css.map (added)
-
tags/2.6.1/assets/build/public.js.map (added)
-
tags/2.6.1/languages/product-price-history.pot (modified) (15 diffs)
-
tags/2.6.1/modules/chart/admin.php (modified) (1 diff)
-
tags/2.6.1/modules/lowest-price/helper.php (modified) (3 diffs)
-
tags/2.6.1/modules/lowest-price/public.php (modified) (1 diff)
-
tags/2.6.1/product-price-history.php (modified) (3 diffs)
-
tags/2.6.1/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/assets/build/admin.css.map (added)
-
trunk/assets/build/admin.js.map (added)
-
trunk/assets/build/public-chart.css.map (added)
-
trunk/assets/build/public-chart.js.map (added)
-
trunk/assets/build/public-rtl.css (modified) (1 diff)
-
trunk/assets/build/public.asset.php (modified) (1 diff)
-
trunk/assets/build/public.css (modified) (1 diff)
-
trunk/assets/build/public.css.map (added)
-
trunk/assets/build/public.js.map (added)
-
trunk/languages/product-price-history.pot (modified) (15 diffs)
-
trunk/modules/chart/admin.php (modified) (1 diff)
-
trunk/modules/lowest-price/helper.php (modified) (3 diffs)
-
trunk/modules/lowest-price/public.php (modified) (1 diff)
-
trunk/product-price-history.php (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
product-price-history/tags/2.6.1/README.txt
r3406495 r3464072 3 3 Requires PHP: 7.4 4 4 Requires at least: 6.4 5 Stable tag: 2.6. 05 Stable tag: 2.6.1 6 6 Tested up to: 6.9 7 7 License: GPLv2 or later … … 162 162 163 163 == Changelog == 164 165 = 2.6.1 = 166 167 *2026-02-18* 168 169 * Fix: Prevented edge case error when product is not on sale and lowest price display is enabled for regular prices 170 * Fix: Corrected 30-day lowest price display when product is not on sale 171 * Add: Additional chart position options 172 * Dev: Added `pph_lowest_price_wrapper_tag` filter hook 173 * Compatibility: WooCommerce tested up to 10.5 164 174 165 175 = 2.6.0 = -
product-price-history/tags/2.6.1/assets/build/public-rtl.css
r3144114 r3464072 1 1 body{opacity:.2!important} -
product-price-history/tags/2.6.1/assets/build/public.asset.php
r3144114 r3464072 1 <?php return array('dependencies' => array(), 'version' => ' fbb750fd312778403036');1 <?php return array('dependencies' => array(), 'version' => '40050d513c9b7671823e'); -
product-price-history/tags/2.6.1/assets/build/public.css
r2922651 r3464072 1 1 body{opacity:.2!important} -
product-price-history/tags/2.6.1/languages/product-price-history.pot
r3406495 r3464072 1 # Copyright (C) 202 5Devnet1 # Copyright (C) 2026 Devnet 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Product Price History 2. 5.7\n"5 "Project-Id-Version: Product Price History 2.6.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/product-price-history\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 5-11-27T21:11:58+00:00\n"12 "POT-Creation-Date: 2026-02-18T08:33:10+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 5.1-alpha-70ffdce\n"14 "X-Generator: WP-CLI 2.11.0\n" 15 15 "X-Domain: product-price-history\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: product-price-history.php 18 19 #: admin/admin.php:143 19 20 #: admin/edit-product.php:42 … … 23 24 24 25 #. Plugin URI of the plugin 26 #: product-price-history.php 25 27 msgid "https://devnet.hr/plugins/product-price-history/" 26 28 msgstr "" 27 29 28 30 #. Description of the plugin 31 #: product-price-history.php 29 32 msgid "Price history tracker for WooCommerce products." 30 33 msgstr "" 31 34 32 35 #. Author of the plugin 36 #: product-price-history.php 33 37 msgid "Devnet" 34 38 msgstr "" 35 39 36 40 #. Author URI of the plugin 41 #: product-price-history.php 37 42 msgid "https://devnet.hr" 38 43 msgstr "" … … 128 133 msgstr "" 129 134 130 #: admin/settings.php:5 7135 #: admin/settings.php:55 131 136 msgid "General" 132 137 msgstr "" 133 138 134 #: admin/settings.php:7 5139 #: admin/settings.php:73 135 140 msgid "Multilingual" 136 141 msgstr "" 137 142 138 #: admin/settings.php:7 6143 #: admin/settings.php:74 139 144 msgid "Use your own translated strings." 140 145 msgstr "" 141 146 147 #: admin/settings.php:80 148 msgid "Record price changes" 149 msgstr "" 150 142 151 #: admin/settings.php:82 143 msgid "Record price changes" 152 msgid "All price changes" 153 msgstr "" 154 155 #: admin/settings.php:83 156 #: admin/settings.php:123 157 msgid "One price per hour" 144 158 msgstr "" 145 159 146 160 #: admin/settings.php:84 147 msgid "All price changes" 161 #: admin/settings.php:124 162 msgid "One price in 3 hours" 148 163 msgstr "" 149 164 150 165 #: admin/settings.php:85 151 166 #: admin/settings.php:125 152 msgid "One price per hour"167 msgid "One price in 6 hours" 153 168 msgstr "" 154 169 155 170 #: admin/settings.php:86 156 171 #: admin/settings.php:126 157 msgid "One price in 3hours"172 msgid "One price in 12 hours" 158 173 msgstr "" 159 174 160 175 #: admin/settings.php:87 161 176 #: admin/settings.php:127 162 msgid "One price in 6 hours"163 msgstr ""164 165 #: admin/settings.php:88166 #: admin/settings.php:128167 msgid "One price in 12 hours"168 msgstr ""169 170 #: admin/settings.php:89171 #: admin/settings.php:129172 177 msgid "One price in 24 hours" 173 178 msgstr "" 174 179 175 #: admin/settings.php:9 2180 #: admin/settings.php:90 176 181 msgid "Choose the frequency at which price changes are recorded and updated in the database. Each selected option will ensure that only one price change is captured within the specified time interval." 177 182 msgstr "" 178 183 184 #: admin/settings.php:95 185 msgid "Delete price history older than" 186 msgstr "" 187 179 188 #: admin/settings.php:97 180 msgid "Delete price history older than"181 msgstr ""182 183 #: admin/settings.php:99184 189 msgid "-- Select --" 185 190 msgstr "" 186 191 187 #: admin/settings.php:10 6192 #: admin/settings.php:104 188 193 msgid "Delete all plugin data on uninstall" 189 194 msgstr "" 190 195 191 #: admin/settings.php:10 7196 #: admin/settings.php:105 192 197 msgid "Enabling this option will ensure that all data associated with the plugin, including settings, subscribers and all price histories, will be completely removed from the database upon uninstallation of the plugin." 193 198 msgstr "" 194 199 195 #: admin/settings.php:18 9200 #: admin/settings.php:187 196 201 msgid "" 197 202 "<strong>Attention:</strong> It appears that some required tables are missing in the database.<br>\n" … … 199 204 msgstr "" 200 205 201 #: admin/settings.php:19 2206 #: admin/settings.php:190 202 207 msgid "Repair" 203 208 msgstr "" 204 209 205 #: admin/settings.php:200 206 #: modules/price-alerts/partials/price-alerts-page.php:7 207 msgid "The Price Alerts module is now available as a separate plugin." 208 msgstr "" 209 210 #: admin/settings.php:201 211 #: modules/price-alerts/partials/price-alerts-page.php:10 212 msgid "To keep the Product Price History plugin focused on price tracking and transparency features, we’ve decided to move Price Alerts to its own plugin. This will allow us to better develop and support each plugin individually." 213 msgstr "" 214 215 #: admin/settings.php:202 216 #: modules/price-alerts/partials/price-alerts-page.php:13 217 msgid "The Price Alerts module will be removed from this plugin in version 2.6.0." 218 msgstr "" 219 220 #: admin/settings.php:203 221 #: modules/price-alerts/partials/price-alerts-page.php:14 222 msgid "To continue using it, please install the new Price Alerts plugin:" 223 msgstr "" 224 225 #: admin/settings.php:204 226 #: modules/price-alerts/partials/price-alerts-page.php:16 227 msgid "Download the Free version" 228 msgstr "" 229 230 #: admin/settings.php:205 231 #: modules/price-alerts/partials/price-alerts-page.php:17 232 msgid " or " 233 msgstr "" 234 235 #: admin/settings.php:206 236 #: modules/price-alerts/partials/price-alerts-page.php:18 237 msgid "Learn more about the Pro version" 238 msgstr "" 239 240 #: admin/settings.php:210 241 #: modules/price-alerts/partials/price-alerts-page.php:21 242 msgid "If you have a valid license for Product Price History, we’ll provide you with a license for the new plugin at no extra cost." 243 msgstr "" 244 245 #: admin/settings.php:211 246 #: modules/price-alerts/partials/price-alerts-page.php:22 247 msgid "Just let us know you plan to migrate, and we’ll set it up for you." 248 msgstr "" 249 250 #: admin/settings.php:212 251 #: modules/price-alerts/partials/price-alerts-page.php:25 252 msgid "We’re sorry for the extra steps, but this change allows us to better focus on both plugin functionalities and deliver more improvements faster." 253 msgstr "" 254 255 #: includes/helper.php:451 210 #: includes/helper.php:450 256 211 msgid "This feature is available on the {planName} plan. Please upgrade to access it." 257 212 msgstr "" 258 213 259 214 #: modules/chart/admin.php:40 260 #: modules/chart/admin.php:1 59215 #: modules/chart/admin.php:162 261 216 #: modules/chart/public.php:270 262 217 #: modules/price-alerts/partials/price-alerts-page.php:45 … … 266 221 267 222 #: modules/chart/admin.php:41 268 #: modules/chart/admin.php:16 0223 #: modules/chart/admin.php:163 269 224 #: modules/chart/public.php:271 270 225 msgid "Last 7 days" … … 272 227 273 228 #: modules/chart/admin.php:42 274 #: modules/chart/admin.php:16 1229 #: modules/chart/admin.php:164 275 230 #: modules/chart/public.php:272 276 231 msgid "Last 30 days" … … 278 233 279 234 #: modules/chart/admin.php:43 280 #: modules/chart/admin.php:16 2235 #: modules/chart/admin.php:165 281 236 #: modules/chart/public.php:273 282 237 msgid "Last 3 months" … … 284 239 285 240 #: modules/chart/admin.php:44 286 #: modules/chart/admin.php:16 3241 #: modules/chart/admin.php:166 287 242 #: modules/chart/public.php:274 288 243 msgid "Last 6 months" … … 290 245 291 246 #: modules/chart/admin.php:45 292 #: modules/chart/admin.php:16 4247 #: modules/chart/admin.php:167 293 248 #: modules/chart/public.php:275 294 249 msgid "Last 12 months" … … 321 276 322 277 #: modules/chart/admin.php:124 323 #: modules/ price-alerts/admin.php:329324 msgid "Before product meta "278 #: modules/chart/admin.php:348 279 msgid "Before product meta (SKU, Category, Tag)" 325 280 msgstr "" 326 281 327 282 #: modules/chart/admin.php:125 283 #: modules/chart/admin.php:349 284 msgid "After product meta (SKU, Category, Tag)" 285 msgstr "" 286 287 #: modules/chart/admin.php:126 288 #: modules/chart/admin.php:350 289 msgid "Inside product summary" 290 msgstr "" 291 292 #: modules/chart/admin.php:127 293 #: modules/chart/admin.php:351 328 294 #: modules/price-alerts/admin.php:330 329 295 msgid "After product summary" 330 296 msgstr "" 331 297 332 #: modules/chart/admin.php:126 333 #: modules/chart/admin.php:342 298 #: modules/chart/admin.php:128 299 #: modules/chart/admin.php:352 300 msgid "After product" 301 msgstr "" 302 303 #: modules/chart/admin.php:129 304 #: modules/chart/admin.php:344 305 #: modules/chart/admin.php:353 334 306 msgid "Product tab" 335 307 msgstr "" 336 308 337 #: modules/chart/admin.php:127 338 #: modules/chart/admin.php:343 309 #: modules/chart/admin.php:130 310 #: modules/chart/admin.php:345 311 #: modules/chart/admin.php:354 339 312 #: modules/price-alerts/admin.php:331 340 313 msgid "Custom - I'll insert a shortcode" 341 314 msgstr "" 342 315 343 #: modules/chart/admin.php:13 4316 #: modules/chart/admin.php:137 344 317 #: modules/price-alerts/admin.php:338 345 318 msgid "Shortcode" 346 319 msgstr "" 347 320 348 #: modules/chart/admin.php:14 1321 #: modules/chart/admin.php:144 349 322 msgid "Tab title" 350 323 msgstr "" 351 324 352 #: modules/chart/admin.php:1 48325 #: modules/chart/admin.php:151 353 326 msgid "Tab priority" 354 327 msgstr "" 355 328 356 #: modules/chart/admin.php:1 49329 #: modules/chart/admin.php:152 357 330 msgid "Lower number mean higher priority, determining its position among other tabs." 358 331 msgstr "" 359 332 360 #: modules/chart/admin.php:1 57333 #: modules/chart/admin.php:160 361 334 msgid "Date range" 362 335 msgstr "" 363 336 364 #: modules/chart/admin.php:17 1337 #: modules/chart/admin.php:174 365 338 msgid "Range selector" 366 339 msgstr "" 367 340 368 #: modules/chart/admin.php:1 78341 #: modules/chart/admin.php:181 369 342 msgid "Minimum prices to display" 370 343 msgstr "" 371 344 372 #: modules/chart/admin.php:18 6345 #: modules/chart/admin.php:189 373 346 msgid "Exclude prices above" 374 347 msgstr "" 375 348 376 #: modules/chart/admin.php:1 88349 #: modules/chart/admin.php:191 377 350 msgid "Enter a price above which you want to exclude items from the chart." 378 351 msgstr "" 379 352 380 #: modules/chart/admin.php:19 5353 #: modules/chart/admin.php:198 381 354 msgid "Exclude prices below" 382 355 msgstr "" 383 356 384 #: modules/chart/admin.php: 197357 #: modules/chart/admin.php:200 385 358 msgid "Enter a price below which you want to exclude items from the chart." 386 359 msgstr "" 387 360 388 #: modules/chart/admin.php:20 4361 #: modules/chart/admin.php:207 389 362 msgid "Daily average price" 390 363 msgstr "" 391 364 392 #: modules/chart/admin.php:20 5365 #: modules/chart/admin.php:208 393 366 msgid "Helpful when there are frequent price fluctuations within a single day" 394 367 msgstr "" 395 368 396 #: modules/chart/admin.php:21 1369 #: modules/chart/admin.php:214 397 370 msgid "Show chart on variable products only when variation is selected" 398 371 msgstr "" 399 372 400 #: modules/chart/admin.php:2 17373 #: modules/chart/admin.php:220 401 374 msgid "Chart type" 402 375 msgstr "" 403 376 404 #: modules/chart/admin.php:2 19377 #: modules/chart/admin.php:222 405 378 msgid "Bar" 406 379 msgstr "" 407 380 408 #: modules/chart/admin.php:22 0409 #: modules/chart/admin.php:3 50381 #: modules/chart/admin.php:223 382 #: modules/chart/admin.php:362 410 383 msgid "Stepped" 411 384 msgstr "" 412 385 413 #: modules/chart/admin.php:22 1414 #: modules/chart/admin.php:3 51386 #: modules/chart/admin.php:224 387 #: modules/chart/admin.php:363 415 388 msgid "Line" 416 389 msgstr "" 417 390 418 #: modules/chart/admin.php:2 28391 #: modules/chart/admin.php:231 419 392 msgid "Title" 420 393 msgstr "" 421 394 422 #: modules/chart/admin.php:23 5395 #: modules/chart/admin.php:238 423 396 msgid "Description" 424 397 msgstr "" 425 398 426 #: modules/chart/admin.php:24 2399 #: modules/chart/admin.php:245 427 400 msgid "Summary statistics display" 428 401 msgstr "" 429 402 430 #: modules/chart/admin.php:24 4431 #: modules/chart/admin.php:3 77403 #: modules/chart/admin.php:247 404 #: modules/chart/admin.php:389 432 405 #: modules/lowest-price/admin.php:101 433 #: modules/lowest-price/admin.php:11 6406 #: modules/lowest-price/admin.php:110 434 407 msgid "Don't display" 435 408 msgstr "" 436 409 437 #: modules/chart/admin.php:2 48438 #: modules/chart/admin.php:30 4410 #: modules/chart/admin.php:251 411 #: modules/chart/admin.php:307 439 412 msgid "-- Available in ADVANCED plan --" 440 413 msgstr "" 441 414 442 #: modules/chart/admin.php:25 0443 #: modules/chart/admin.php:30 0444 #: modules/chart/admin.php:3 78445 #: modules/chart/admin.php: 389415 #: modules/chart/admin.php:253 416 #: modules/chart/admin.php:303 417 #: modules/chart/admin.php:390 418 #: modules/chart/admin.php:401 446 419 msgid "Show all" 447 420 msgstr "" 448 421 449 #: modules/chart/admin.php:25 1450 #: modules/chart/admin.php:3 79422 #: modules/chart/admin.php:254 423 #: modules/chart/admin.php:391 451 424 msgid "Show only lowest and highest" 452 425 msgstr "" 453 426 454 #: modules/chart/admin.php:25 2455 #: modules/chart/admin.php:3 80427 #: modules/chart/admin.php:255 428 #: modules/chart/admin.php:392 456 429 msgid "Show only average" 457 430 msgstr "" 458 431 459 #: modules/chart/admin.php:2 57432 #: modules/chart/admin.php:260 460 433 msgid "Control the visibility of summary statistics (Lowest, Highest, and Average values) displayed above the chart." 461 434 msgstr "" 462 435 463 #: modules/chart/admin.php:26 3436 #: modules/chart/admin.php:266 464 437 msgid "Graph border color" 465 438 msgstr "" 466 439 467 #: modules/chart/admin.php:2 69440 #: modules/chart/admin.php:272 468 441 msgid "Chart maximal width" 469 442 msgstr "" 470 443 471 #: modules/chart/admin.php:28 6444 #: modules/chart/admin.php:289 472 445 msgid "Chart text color" 473 446 msgstr "" 474 447 475 #: modules/chart/admin.php:29 2448 #: modules/chart/admin.php:295 476 449 msgid "Chart background color" 477 450 msgstr "" 478 451 479 #: modules/chart/admin.php: 298452 #: modules/chart/admin.php:301 480 453 msgid "X-Axis label options" 481 454 msgstr "" 482 455 483 #: modules/chart/admin.php:30 6484 #: modules/chart/admin.php: 390456 #: modules/chart/admin.php:309 457 #: modules/chart/admin.php:402 485 458 msgid "Hide dates" 486 459 msgstr "" 487 460 488 #: modules/chart/admin.php:3 07489 #: modules/chart/admin.php: 391461 #: modules/chart/admin.php:310 462 #: modules/chart/admin.php:403 490 463 msgid "Hide dates and label" 491 464 msgstr "" 492 465 493 #: modules/chart/admin.php:3 08494 #: modules/chart/admin.php: 392466 #: modules/chart/admin.php:311 467 #: modules/chart/admin.php:404 495 468 msgid "Show 3 dates" 496 469 msgstr "" 497 470 498 #: modules/chart/admin.php:3 09499 #: modules/chart/admin.php: 393471 #: modules/chart/admin.php:312 472 #: modules/chart/admin.php:405 500 473 msgid "Show 5 dates" 501 474 msgstr "" 502 475 503 #: modules/chart/admin.php:31 0504 #: modules/chart/admin.php: 394476 #: modules/chart/admin.php:313 477 #: modules/chart/admin.php:406 505 478 msgid "Show 7 dates" 506 479 msgstr "" 507 480 508 #: modules/chart/admin.php:31 1509 #: modules/chart/admin.php: 395481 #: modules/chart/admin.php:314 482 #: modules/chart/admin.php:407 510 483 msgid "Show 10 dates" 511 484 msgstr "" 512 485 513 #: modules/chart/admin.php:31 6486 #: modules/chart/admin.php:319 514 487 msgid "Control how dates are displayed on the X-axis of the chart without reducing the actual data points. This is useful for charts with many data points to avoid clutter. Even when dates are hidden, they will still appear when hovering over specific points in the chart." 515 488 msgstr "" … … 582 555 msgstr "" 583 556 584 #: modules/lowest-price/admin.php:1 14557 #: modules/lowest-price/admin.php:108 585 558 msgid "Regular price" 586 559 msgstr "" 587 560 588 #: modules/lowest-price/admin.php:11 7561 #: modules/lowest-price/admin.php:111 589 562 msgid "Show regular price" 590 563 msgstr "" 591 564 592 #: modules/lowest-price/admin.php:11 8565 #: modules/lowest-price/admin.php:112 593 566 msgid "Swap with lowest price — no message (experimental)" 594 567 msgstr "" 595 568 596 #: modules/lowest-price/admin.php:11 9569 #: modules/lowest-price/admin.php:113 597 570 msgid "Swap with lowest price — include message (experimental)" 598 571 msgstr "" 599 572 573 #: modules/lowest-price/admin.php:115 574 msgid "Applies only when the product is on sale. Controls whether to show the regular price or replace it with the lowest price from the last 30 days, with optional message settings" 575 msgstr "" 576 600 577 #: modules/lowest-price/admin.php:121 601 msgid "Applies only when the product is on sale. Controls whether to show the regular price or replace it with the lowest price from the last 30 days, with optional message settings"602 msgstr ""603 604 #: modules/lowest-price/admin.php:127605 578 msgid "Text" 606 579 msgstr "" 607 580 608 #: modules/lowest-price/admin.php:12 8581 #: modules/lowest-price/admin.php:122 609 582 msgid "Placeholder for lowest price {lowest_price}" 610 583 msgstr "" 611 584 612 #: modules/lowest-price/admin.php:1 35585 #: modules/lowest-price/admin.php:129 613 586 msgid "Enable Custom Lowest Price" 614 587 msgstr "" 615 588 616 #: modules/lowest-price/admin.php:13 6589 #: modules/lowest-price/admin.php:130 617 590 msgid "Allow manual entry of a custom lowest price for each product. When set, this value will override the calculated 30-day lowest price on the product page." 618 591 msgstr "" 619 592 620 #: modules/lowest-price/admin.php:1 82593 #: modules/lowest-price/admin.php:176 621 594 msgid "" 622 595 "The new Consumer Protection Act officially took effect in European Union (EU) on May 28, 2022, as published in Official Gazette No. 19/2022 The Act aims to enhance consumer protection by addressing unfair practices and modernizing rules. Key changes focus on price display for goods and services, with specific regulations for special forms of sales like special offers, sell-outs, and discounts.<br>\n" … … 723 696 msgstr "" 724 697 698 #: modules/price-alerts/admin.php:329 699 msgid "Before product meta" 700 msgstr "" 701 725 702 #: modules/price-alerts/admin.php:345 726 703 msgid "Button text" … … 891 868 msgstr "" 892 869 870 #: modules/price-alerts/partials/price-alerts-page.php:7 871 msgid "The Price Alerts module is now available as a separate plugin." 872 msgstr "" 873 874 #: modules/price-alerts/partials/price-alerts-page.php:10 875 msgid "To keep the Product Price History plugin focused on price tracking and transparency features, we’ve decided to move Price Alerts to its own plugin. This will allow us to better develop and support each plugin individually." 876 msgstr "" 877 878 #: modules/price-alerts/partials/price-alerts-page.php:13 879 msgid "The Price Alerts module will be removed from this plugin in version 2.6.0." 880 msgstr "" 881 882 #: modules/price-alerts/partials/price-alerts-page.php:14 883 msgid "To continue using it, please install the new Price Alerts plugin:" 884 msgstr "" 885 886 #: modules/price-alerts/partials/price-alerts-page.php:16 887 msgid "Download the Free version" 888 msgstr "" 889 890 #: modules/price-alerts/partials/price-alerts-page.php:17 891 msgid " or " 892 msgstr "" 893 894 #: modules/price-alerts/partials/price-alerts-page.php:18 895 msgid "Learn more about the Pro version" 896 msgstr "" 897 898 #: modules/price-alerts/partials/price-alerts-page.php:21 899 msgid "If you have a valid license for Product Price History, we’ll provide you with a license for the new plugin at no extra cost." 900 msgstr "" 901 902 #: modules/price-alerts/partials/price-alerts-page.php:22 903 msgid "Just let us know you plan to migrate, and we’ll set it up for you." 904 msgstr "" 905 906 #: modules/price-alerts/partials/price-alerts-page.php:25 907 msgid "We’re sorry for the extra steps, but this change allows us to better focus on both plugin functionalities and deliver more improvements faster." 908 msgstr "" 909 893 910 #: modules/price-alerts/partials/price-alerts-page.php:31 894 911 msgid "Choose specific rows within a table and inform users of price drops. If a user has subscribed to more than one product, they will receive a single email containing a list of products that are currently priced below their desired target." … … 998 1015 msgid "Happy shopping!" 999 1016 msgstr "" 1000 1001 #: product-price-history.php:1781002 msgid "The “Product Price History” plugin cannot run without WooCommerce. Please install and activate WooCommerce plugin."1003 msgstr "" -
product-price-history/tags/2.6.1/modules/chart/admin.php
r3371694 r3464072 103 103 'label' => esc_html__( 'Position', 'product-price-history' ), 104 104 'options' => [ 105 'woocommerce_product_meta_start' => esc_html__( 'Before product meta', 'product-price-history' ), 105 'woocommerce_product_meta_start' => esc_html__( 'Before product meta (SKU, Category, Tag)', 'product-price-history' ), 106 '_disabled_1' => esc_html__( 'After product meta (SKU, Category, Tag)', 'product-price-history' ), 107 '_disabled_2' => esc_html__( 'Inside product summary', 'product-price-history' ), 106 108 'woocommerce_after_single_product_summary' => esc_html__( 'After product summary', 'product-price-history' ), 107 '_disabled_1' => esc_html__( 'Product tab', 'product-price-history' ), 108 '_disabled_2' => esc_html__( 'Custom - I\'ll insert a shortcode', 'product-price-history' ), 109 'woocommerce_after_single_product' => esc_html__( 'After product', 'product-price-history' ), 110 '_disabled_3' => esc_html__( 'Product tab', 'product-price-history' ), 111 '_disabled_4' => esc_html__( 'Custom - I\'ll insert a shortcode', 'product-price-history' ), 109 112 ], 110 113 'default' => self::defaults( 'position' ), -
product-price-history/tags/2.6.1/modules/lowest-price/helper.php
r3316786 r3464072 33 33 ] ); 34 34 $entries_count = count( $entries ); 35 $lowest_price = self::find_lowest_price( $entries);35 $lowest_price = ( $product->is_on_sale() ? self::find_lowest_price( $entries ) : self::find_lowest_price_regular( $entries, $product->get_price() ) ); 36 36 if ( $inherit_regular ) { 37 37 if ( empty( $entries ) || $entries_count === 1 ) { … … 69 69 $info['variations'][$id] = $lowest_price; 70 70 } 71 $info['min'] = min( $info['all'] ); 72 $info['max'] = max( $info['all'] ); 71 if ( !empty( $info['all'] ) ) { 72 $info['min'] = min( $info['all'] ); 73 $info['max'] = max( $info['all'] ); 74 } 73 75 return $info; 74 76 } … … 103 105 } 104 106 107 public static function find_lowest_price_regular( $entries = [], $current_price = null ) { 108 if ( empty( $entries ) ) { 109 return $current_price; 110 } 111 $thirty_days_ago = date( 'Y-m-d H:i:s', strtotime( '-30 days' ) ); 112 $prices = []; 113 $price_at_window_start = $entries[0]['price']; 114 foreach ( $entries as $entry ) { 115 if ( $entry['date_created'] < $thirty_days_ago ) { 116 $price_at_window_start = $entry['price']; 117 } 118 if ( $entry['date_created'] >= $thirty_days_ago ) { 119 $prices[] = $entry['price']; 120 } 121 } 122 // Always include the price that was active at window start 123 $prices[] = $price_at_window_start; 124 return min( $prices ); 125 } 126 105 127 } -
product-price-history/tags/2.6.1/modules/lowest-price/public.php
r3406495 r3464072 202 202 $lowest_price_html = str_replace('{lowest_price}', $formatted_lowest_price, $text); 203 203 204 $price_html .= '<div class="pph-lowest-price">' . $lowest_price_html . '</div>'; 204 $wrapper_tag = apply_filters('pph_lowest_price_wrapper_tag', 'div'); 205 206 // Allow only div or span 207 $wrapper_tag = in_array($wrapper_tag, ['div', 'span', 'p', 'small'], true) 208 ? $wrapper_tag 209 : 'div'; 210 211 $price_html .= sprintf( 212 '<%1$s class="pph-lowest-price">%2$s</%1$s>', 213 esc_attr($wrapper_tag), 214 $lowest_price_html 215 ); 205 216 } 206 217 -
product-price-history/tags/2.6.1/product-price-history.php
r3406495 r3464072 5 5 * Plugin URI: https://devnet.hr/plugins/product-price-history/ 6 6 * Description: Price history tracker for WooCommerce products. 7 * Version: 2.6. 07 * Version: 2.6.1 8 8 * Requires at least: 6.4 9 9 * Requires PHP: 7.4 … … 15 15 * Domain Path: /languages 16 16 * Requires Plugins: woocommerce 17 * WC tested up to: 10. 317 * WC tested up to: 10.5 18 18 * 19 19 */ … … 111 111 pph_fs()->add_filter( 'plugin_icon', 'pph_fs_custom_icon' ); 112 112 } 113 define( 'PRODUCT_PRICE_HISTORY_VERSION', '2.6. 0' );113 define( 'PRODUCT_PRICE_HISTORY_VERSION', '2.6.1' ); 114 114 define( 'DEVNET_PPH_NAME', 'Product Price History' ); 115 115 define( 'DEVNET_PPH_SLUG', plugin_basename( __FILE__ ) ); -
product-price-history/tags/2.6.1/vendor/composer/installed.php
r3399528 r3464072 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' f897d0b61c2ff0da6cfd0236e6b6e9d14f469e9a',6 'reference' => 'd75c02295bf4baff90e3385717ee14c25ae0d326', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' f897d0b61c2ff0da6cfd0236e6b6e9d14f469e9a',16 'reference' => 'd75c02295bf4baff90e3385717ee14c25ae0d326', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', -
product-price-history/trunk/README.txt
r3406495 r3464072 3 3 Requires PHP: 7.4 4 4 Requires at least: 6.4 5 Stable tag: 2.6. 05 Stable tag: 2.6.1 6 6 Tested up to: 6.9 7 7 License: GPLv2 or later … … 162 162 163 163 == Changelog == 164 165 = 2.6.1 = 166 167 *2026-02-18* 168 169 * Fix: Prevented edge case error when product is not on sale and lowest price display is enabled for regular prices 170 * Fix: Corrected 30-day lowest price display when product is not on sale 171 * Add: Additional chart position options 172 * Dev: Added `pph_lowest_price_wrapper_tag` filter hook 173 * Compatibility: WooCommerce tested up to 10.5 164 174 165 175 = 2.6.0 = -
product-price-history/trunk/assets/build/public-rtl.css
r3144114 r3464072 1 1 body{opacity:.2!important} -
product-price-history/trunk/assets/build/public.asset.php
r3144114 r3464072 1 <?php return array('dependencies' => array(), 'version' => ' fbb750fd312778403036');1 <?php return array('dependencies' => array(), 'version' => '40050d513c9b7671823e'); -
product-price-history/trunk/assets/build/public.css
r2922651 r3464072 1 1 body{opacity:.2!important} -
product-price-history/trunk/languages/product-price-history.pot
r3406495 r3464072 1 # Copyright (C) 202 5Devnet1 # Copyright (C) 2026 Devnet 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Product Price History 2. 5.7\n"5 "Project-Id-Version: Product Price History 2.6.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/product-price-history\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 5-11-27T21:11:58+00:00\n"12 "POT-Creation-Date: 2026-02-18T08:33:10+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 5.1-alpha-70ffdce\n"14 "X-Generator: WP-CLI 2.11.0\n" 15 15 "X-Domain: product-price-history\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: product-price-history.php 18 19 #: admin/admin.php:143 19 20 #: admin/edit-product.php:42 … … 23 24 24 25 #. Plugin URI of the plugin 26 #: product-price-history.php 25 27 msgid "https://devnet.hr/plugins/product-price-history/" 26 28 msgstr "" 27 29 28 30 #. Description of the plugin 31 #: product-price-history.php 29 32 msgid "Price history tracker for WooCommerce products." 30 33 msgstr "" 31 34 32 35 #. Author of the plugin 36 #: product-price-history.php 33 37 msgid "Devnet" 34 38 msgstr "" 35 39 36 40 #. Author URI of the plugin 41 #: product-price-history.php 37 42 msgid "https://devnet.hr" 38 43 msgstr "" … … 128 133 msgstr "" 129 134 130 #: admin/settings.php:5 7135 #: admin/settings.php:55 131 136 msgid "General" 132 137 msgstr "" 133 138 134 #: admin/settings.php:7 5139 #: admin/settings.php:73 135 140 msgid "Multilingual" 136 141 msgstr "" 137 142 138 #: admin/settings.php:7 6143 #: admin/settings.php:74 139 144 msgid "Use your own translated strings." 140 145 msgstr "" 141 146 147 #: admin/settings.php:80 148 msgid "Record price changes" 149 msgstr "" 150 142 151 #: admin/settings.php:82 143 msgid "Record price changes" 152 msgid "All price changes" 153 msgstr "" 154 155 #: admin/settings.php:83 156 #: admin/settings.php:123 157 msgid "One price per hour" 144 158 msgstr "" 145 159 146 160 #: admin/settings.php:84 147 msgid "All price changes" 161 #: admin/settings.php:124 162 msgid "One price in 3 hours" 148 163 msgstr "" 149 164 150 165 #: admin/settings.php:85 151 166 #: admin/settings.php:125 152 msgid "One price per hour"167 msgid "One price in 6 hours" 153 168 msgstr "" 154 169 155 170 #: admin/settings.php:86 156 171 #: admin/settings.php:126 157 msgid "One price in 3hours"172 msgid "One price in 12 hours" 158 173 msgstr "" 159 174 160 175 #: admin/settings.php:87 161 176 #: admin/settings.php:127 162 msgid "One price in 6 hours"163 msgstr ""164 165 #: admin/settings.php:88166 #: admin/settings.php:128167 msgid "One price in 12 hours"168 msgstr ""169 170 #: admin/settings.php:89171 #: admin/settings.php:129172 177 msgid "One price in 24 hours" 173 178 msgstr "" 174 179 175 #: admin/settings.php:9 2180 #: admin/settings.php:90 176 181 msgid "Choose the frequency at which price changes are recorded and updated in the database. Each selected option will ensure that only one price change is captured within the specified time interval." 177 182 msgstr "" 178 183 184 #: admin/settings.php:95 185 msgid "Delete price history older than" 186 msgstr "" 187 179 188 #: admin/settings.php:97 180 msgid "Delete price history older than"181 msgstr ""182 183 #: admin/settings.php:99184 189 msgid "-- Select --" 185 190 msgstr "" 186 191 187 #: admin/settings.php:10 6192 #: admin/settings.php:104 188 193 msgid "Delete all plugin data on uninstall" 189 194 msgstr "" 190 195 191 #: admin/settings.php:10 7196 #: admin/settings.php:105 192 197 msgid "Enabling this option will ensure that all data associated with the plugin, including settings, subscribers and all price histories, will be completely removed from the database upon uninstallation of the plugin." 193 198 msgstr "" 194 199 195 #: admin/settings.php:18 9200 #: admin/settings.php:187 196 201 msgid "" 197 202 "<strong>Attention:</strong> It appears that some required tables are missing in the database.<br>\n" … … 199 204 msgstr "" 200 205 201 #: admin/settings.php:19 2206 #: admin/settings.php:190 202 207 msgid "Repair" 203 208 msgstr "" 204 209 205 #: admin/settings.php:200 206 #: modules/price-alerts/partials/price-alerts-page.php:7 207 msgid "The Price Alerts module is now available as a separate plugin." 208 msgstr "" 209 210 #: admin/settings.php:201 211 #: modules/price-alerts/partials/price-alerts-page.php:10 212 msgid "To keep the Product Price History plugin focused on price tracking and transparency features, we’ve decided to move Price Alerts to its own plugin. This will allow us to better develop and support each plugin individually." 213 msgstr "" 214 215 #: admin/settings.php:202 216 #: modules/price-alerts/partials/price-alerts-page.php:13 217 msgid "The Price Alerts module will be removed from this plugin in version 2.6.0." 218 msgstr "" 219 220 #: admin/settings.php:203 221 #: modules/price-alerts/partials/price-alerts-page.php:14 222 msgid "To continue using it, please install the new Price Alerts plugin:" 223 msgstr "" 224 225 #: admin/settings.php:204 226 #: modules/price-alerts/partials/price-alerts-page.php:16 227 msgid "Download the Free version" 228 msgstr "" 229 230 #: admin/settings.php:205 231 #: modules/price-alerts/partials/price-alerts-page.php:17 232 msgid " or " 233 msgstr "" 234 235 #: admin/settings.php:206 236 #: modules/price-alerts/partials/price-alerts-page.php:18 237 msgid "Learn more about the Pro version" 238 msgstr "" 239 240 #: admin/settings.php:210 241 #: modules/price-alerts/partials/price-alerts-page.php:21 242 msgid "If you have a valid license for Product Price History, we’ll provide you with a license for the new plugin at no extra cost." 243 msgstr "" 244 245 #: admin/settings.php:211 246 #: modules/price-alerts/partials/price-alerts-page.php:22 247 msgid "Just let us know you plan to migrate, and we’ll set it up for you." 248 msgstr "" 249 250 #: admin/settings.php:212 251 #: modules/price-alerts/partials/price-alerts-page.php:25 252 msgid "We’re sorry for the extra steps, but this change allows us to better focus on both plugin functionalities and deliver more improvements faster." 253 msgstr "" 254 255 #: includes/helper.php:451 210 #: includes/helper.php:450 256 211 msgid "This feature is available on the {planName} plan. Please upgrade to access it." 257 212 msgstr "" 258 213 259 214 #: modules/chart/admin.php:40 260 #: modules/chart/admin.php:1 59215 #: modules/chart/admin.php:162 261 216 #: modules/chart/public.php:270 262 217 #: modules/price-alerts/partials/price-alerts-page.php:45 … … 266 221 267 222 #: modules/chart/admin.php:41 268 #: modules/chart/admin.php:16 0223 #: modules/chart/admin.php:163 269 224 #: modules/chart/public.php:271 270 225 msgid "Last 7 days" … … 272 227 273 228 #: modules/chart/admin.php:42 274 #: modules/chart/admin.php:16 1229 #: modules/chart/admin.php:164 275 230 #: modules/chart/public.php:272 276 231 msgid "Last 30 days" … … 278 233 279 234 #: modules/chart/admin.php:43 280 #: modules/chart/admin.php:16 2235 #: modules/chart/admin.php:165 281 236 #: modules/chart/public.php:273 282 237 msgid "Last 3 months" … … 284 239 285 240 #: modules/chart/admin.php:44 286 #: modules/chart/admin.php:16 3241 #: modules/chart/admin.php:166 287 242 #: modules/chart/public.php:274 288 243 msgid "Last 6 months" … … 290 245 291 246 #: modules/chart/admin.php:45 292 #: modules/chart/admin.php:16 4247 #: modules/chart/admin.php:167 293 248 #: modules/chart/public.php:275 294 249 msgid "Last 12 months" … … 321 276 322 277 #: modules/chart/admin.php:124 323 #: modules/ price-alerts/admin.php:329324 msgid "Before product meta "278 #: modules/chart/admin.php:348 279 msgid "Before product meta (SKU, Category, Tag)" 325 280 msgstr "" 326 281 327 282 #: modules/chart/admin.php:125 283 #: modules/chart/admin.php:349 284 msgid "After product meta (SKU, Category, Tag)" 285 msgstr "" 286 287 #: modules/chart/admin.php:126 288 #: modules/chart/admin.php:350 289 msgid "Inside product summary" 290 msgstr "" 291 292 #: modules/chart/admin.php:127 293 #: modules/chart/admin.php:351 328 294 #: modules/price-alerts/admin.php:330 329 295 msgid "After product summary" 330 296 msgstr "" 331 297 332 #: modules/chart/admin.php:126 333 #: modules/chart/admin.php:342 298 #: modules/chart/admin.php:128 299 #: modules/chart/admin.php:352 300 msgid "After product" 301 msgstr "" 302 303 #: modules/chart/admin.php:129 304 #: modules/chart/admin.php:344 305 #: modules/chart/admin.php:353 334 306 msgid "Product tab" 335 307 msgstr "" 336 308 337 #: modules/chart/admin.php:127 338 #: modules/chart/admin.php:343 309 #: modules/chart/admin.php:130 310 #: modules/chart/admin.php:345 311 #: modules/chart/admin.php:354 339 312 #: modules/price-alerts/admin.php:331 340 313 msgid "Custom - I'll insert a shortcode" 341 314 msgstr "" 342 315 343 #: modules/chart/admin.php:13 4316 #: modules/chart/admin.php:137 344 317 #: modules/price-alerts/admin.php:338 345 318 msgid "Shortcode" 346 319 msgstr "" 347 320 348 #: modules/chart/admin.php:14 1321 #: modules/chart/admin.php:144 349 322 msgid "Tab title" 350 323 msgstr "" 351 324 352 #: modules/chart/admin.php:1 48325 #: modules/chart/admin.php:151 353 326 msgid "Tab priority" 354 327 msgstr "" 355 328 356 #: modules/chart/admin.php:1 49329 #: modules/chart/admin.php:152 357 330 msgid "Lower number mean higher priority, determining its position among other tabs." 358 331 msgstr "" 359 332 360 #: modules/chart/admin.php:1 57333 #: modules/chart/admin.php:160 361 334 msgid "Date range" 362 335 msgstr "" 363 336 364 #: modules/chart/admin.php:17 1337 #: modules/chart/admin.php:174 365 338 msgid "Range selector" 366 339 msgstr "" 367 340 368 #: modules/chart/admin.php:1 78341 #: modules/chart/admin.php:181 369 342 msgid "Minimum prices to display" 370 343 msgstr "" 371 344 372 #: modules/chart/admin.php:18 6345 #: modules/chart/admin.php:189 373 346 msgid "Exclude prices above" 374 347 msgstr "" 375 348 376 #: modules/chart/admin.php:1 88349 #: modules/chart/admin.php:191 377 350 msgid "Enter a price above which you want to exclude items from the chart." 378 351 msgstr "" 379 352 380 #: modules/chart/admin.php:19 5353 #: modules/chart/admin.php:198 381 354 msgid "Exclude prices below" 382 355 msgstr "" 383 356 384 #: modules/chart/admin.php: 197357 #: modules/chart/admin.php:200 385 358 msgid "Enter a price below which you want to exclude items from the chart." 386 359 msgstr "" 387 360 388 #: modules/chart/admin.php:20 4361 #: modules/chart/admin.php:207 389 362 msgid "Daily average price" 390 363 msgstr "" 391 364 392 #: modules/chart/admin.php:20 5365 #: modules/chart/admin.php:208 393 366 msgid "Helpful when there are frequent price fluctuations within a single day" 394 367 msgstr "" 395 368 396 #: modules/chart/admin.php:21 1369 #: modules/chart/admin.php:214 397 370 msgid "Show chart on variable products only when variation is selected" 398 371 msgstr "" 399 372 400 #: modules/chart/admin.php:2 17373 #: modules/chart/admin.php:220 401 374 msgid "Chart type" 402 375 msgstr "" 403 376 404 #: modules/chart/admin.php:2 19377 #: modules/chart/admin.php:222 405 378 msgid "Bar" 406 379 msgstr "" 407 380 408 #: modules/chart/admin.php:22 0409 #: modules/chart/admin.php:3 50381 #: modules/chart/admin.php:223 382 #: modules/chart/admin.php:362 410 383 msgid "Stepped" 411 384 msgstr "" 412 385 413 #: modules/chart/admin.php:22 1414 #: modules/chart/admin.php:3 51386 #: modules/chart/admin.php:224 387 #: modules/chart/admin.php:363 415 388 msgid "Line" 416 389 msgstr "" 417 390 418 #: modules/chart/admin.php:2 28391 #: modules/chart/admin.php:231 419 392 msgid "Title" 420 393 msgstr "" 421 394 422 #: modules/chart/admin.php:23 5395 #: modules/chart/admin.php:238 423 396 msgid "Description" 424 397 msgstr "" 425 398 426 #: modules/chart/admin.php:24 2399 #: modules/chart/admin.php:245 427 400 msgid "Summary statistics display" 428 401 msgstr "" 429 402 430 #: modules/chart/admin.php:24 4431 #: modules/chart/admin.php:3 77403 #: modules/chart/admin.php:247 404 #: modules/chart/admin.php:389 432 405 #: modules/lowest-price/admin.php:101 433 #: modules/lowest-price/admin.php:11 6406 #: modules/lowest-price/admin.php:110 434 407 msgid "Don't display" 435 408 msgstr "" 436 409 437 #: modules/chart/admin.php:2 48438 #: modules/chart/admin.php:30 4410 #: modules/chart/admin.php:251 411 #: modules/chart/admin.php:307 439 412 msgid "-- Available in ADVANCED plan --" 440 413 msgstr "" 441 414 442 #: modules/chart/admin.php:25 0443 #: modules/chart/admin.php:30 0444 #: modules/chart/admin.php:3 78445 #: modules/chart/admin.php: 389415 #: modules/chart/admin.php:253 416 #: modules/chart/admin.php:303 417 #: modules/chart/admin.php:390 418 #: modules/chart/admin.php:401 446 419 msgid "Show all" 447 420 msgstr "" 448 421 449 #: modules/chart/admin.php:25 1450 #: modules/chart/admin.php:3 79422 #: modules/chart/admin.php:254 423 #: modules/chart/admin.php:391 451 424 msgid "Show only lowest and highest" 452 425 msgstr "" 453 426 454 #: modules/chart/admin.php:25 2455 #: modules/chart/admin.php:3 80427 #: modules/chart/admin.php:255 428 #: modules/chart/admin.php:392 456 429 msgid "Show only average" 457 430 msgstr "" 458 431 459 #: modules/chart/admin.php:2 57432 #: modules/chart/admin.php:260 460 433 msgid "Control the visibility of summary statistics (Lowest, Highest, and Average values) displayed above the chart." 461 434 msgstr "" 462 435 463 #: modules/chart/admin.php:26 3436 #: modules/chart/admin.php:266 464 437 msgid "Graph border color" 465 438 msgstr "" 466 439 467 #: modules/chart/admin.php:2 69440 #: modules/chart/admin.php:272 468 441 msgid "Chart maximal width" 469 442 msgstr "" 470 443 471 #: modules/chart/admin.php:28 6444 #: modules/chart/admin.php:289 472 445 msgid "Chart text color" 473 446 msgstr "" 474 447 475 #: modules/chart/admin.php:29 2448 #: modules/chart/admin.php:295 476 449 msgid "Chart background color" 477 450 msgstr "" 478 451 479 #: modules/chart/admin.php: 298452 #: modules/chart/admin.php:301 480 453 msgid "X-Axis label options" 481 454 msgstr "" 482 455 483 #: modules/chart/admin.php:30 6484 #: modules/chart/admin.php: 390456 #: modules/chart/admin.php:309 457 #: modules/chart/admin.php:402 485 458 msgid "Hide dates" 486 459 msgstr "" 487 460 488 #: modules/chart/admin.php:3 07489 #: modules/chart/admin.php: 391461 #: modules/chart/admin.php:310 462 #: modules/chart/admin.php:403 490 463 msgid "Hide dates and label" 491 464 msgstr "" 492 465 493 #: modules/chart/admin.php:3 08494 #: modules/chart/admin.php: 392466 #: modules/chart/admin.php:311 467 #: modules/chart/admin.php:404 495 468 msgid "Show 3 dates" 496 469 msgstr "" 497 470 498 #: modules/chart/admin.php:3 09499 #: modules/chart/admin.php: 393471 #: modules/chart/admin.php:312 472 #: modules/chart/admin.php:405 500 473 msgid "Show 5 dates" 501 474 msgstr "" 502 475 503 #: modules/chart/admin.php:31 0504 #: modules/chart/admin.php: 394476 #: modules/chart/admin.php:313 477 #: modules/chart/admin.php:406 505 478 msgid "Show 7 dates" 506 479 msgstr "" 507 480 508 #: modules/chart/admin.php:31 1509 #: modules/chart/admin.php: 395481 #: modules/chart/admin.php:314 482 #: modules/chart/admin.php:407 510 483 msgid "Show 10 dates" 511 484 msgstr "" 512 485 513 #: modules/chart/admin.php:31 6486 #: modules/chart/admin.php:319 514 487 msgid "Control how dates are displayed on the X-axis of the chart without reducing the actual data points. This is useful for charts with many data points to avoid clutter. Even when dates are hidden, they will still appear when hovering over specific points in the chart." 515 488 msgstr "" … … 582 555 msgstr "" 583 556 584 #: modules/lowest-price/admin.php:1 14557 #: modules/lowest-price/admin.php:108 585 558 msgid "Regular price" 586 559 msgstr "" 587 560 588 #: modules/lowest-price/admin.php:11 7561 #: modules/lowest-price/admin.php:111 589 562 msgid "Show regular price" 590 563 msgstr "" 591 564 592 #: modules/lowest-price/admin.php:11 8565 #: modules/lowest-price/admin.php:112 593 566 msgid "Swap with lowest price — no message (experimental)" 594 567 msgstr "" 595 568 596 #: modules/lowest-price/admin.php:11 9569 #: modules/lowest-price/admin.php:113 597 570 msgid "Swap with lowest price — include message (experimental)" 598 571 msgstr "" 599 572 573 #: modules/lowest-price/admin.php:115 574 msgid "Applies only when the product is on sale. Controls whether to show the regular price or replace it with the lowest price from the last 30 days, with optional message settings" 575 msgstr "" 576 600 577 #: modules/lowest-price/admin.php:121 601 msgid "Applies only when the product is on sale. Controls whether to show the regular price or replace it with the lowest price from the last 30 days, with optional message settings"602 msgstr ""603 604 #: modules/lowest-price/admin.php:127605 578 msgid "Text" 606 579 msgstr "" 607 580 608 #: modules/lowest-price/admin.php:12 8581 #: modules/lowest-price/admin.php:122 609 582 msgid "Placeholder for lowest price {lowest_price}" 610 583 msgstr "" 611 584 612 #: modules/lowest-price/admin.php:1 35585 #: modules/lowest-price/admin.php:129 613 586 msgid "Enable Custom Lowest Price" 614 587 msgstr "" 615 588 616 #: modules/lowest-price/admin.php:13 6589 #: modules/lowest-price/admin.php:130 617 590 msgid "Allow manual entry of a custom lowest price for each product. When set, this value will override the calculated 30-day lowest price on the product page." 618 591 msgstr "" 619 592 620 #: modules/lowest-price/admin.php:1 82593 #: modules/lowest-price/admin.php:176 621 594 msgid "" 622 595 "The new Consumer Protection Act officially took effect in European Union (EU) on May 28, 2022, as published in Official Gazette No. 19/2022 The Act aims to enhance consumer protection by addressing unfair practices and modernizing rules. Key changes focus on price display for goods and services, with specific regulations for special forms of sales like special offers, sell-outs, and discounts.<br>\n" … … 723 696 msgstr "" 724 697 698 #: modules/price-alerts/admin.php:329 699 msgid "Before product meta" 700 msgstr "" 701 725 702 #: modules/price-alerts/admin.php:345 726 703 msgid "Button text" … … 891 868 msgstr "" 892 869 870 #: modules/price-alerts/partials/price-alerts-page.php:7 871 msgid "The Price Alerts module is now available as a separate plugin." 872 msgstr "" 873 874 #: modules/price-alerts/partials/price-alerts-page.php:10 875 msgid "To keep the Product Price History plugin focused on price tracking and transparency features, we’ve decided to move Price Alerts to its own plugin. This will allow us to better develop and support each plugin individually." 876 msgstr "" 877 878 #: modules/price-alerts/partials/price-alerts-page.php:13 879 msgid "The Price Alerts module will be removed from this plugin in version 2.6.0." 880 msgstr "" 881 882 #: modules/price-alerts/partials/price-alerts-page.php:14 883 msgid "To continue using it, please install the new Price Alerts plugin:" 884 msgstr "" 885 886 #: modules/price-alerts/partials/price-alerts-page.php:16 887 msgid "Download the Free version" 888 msgstr "" 889 890 #: modules/price-alerts/partials/price-alerts-page.php:17 891 msgid " or " 892 msgstr "" 893 894 #: modules/price-alerts/partials/price-alerts-page.php:18 895 msgid "Learn more about the Pro version" 896 msgstr "" 897 898 #: modules/price-alerts/partials/price-alerts-page.php:21 899 msgid "If you have a valid license for Product Price History, we’ll provide you with a license for the new plugin at no extra cost." 900 msgstr "" 901 902 #: modules/price-alerts/partials/price-alerts-page.php:22 903 msgid "Just let us know you plan to migrate, and we’ll set it up for you." 904 msgstr "" 905 906 #: modules/price-alerts/partials/price-alerts-page.php:25 907 msgid "We’re sorry for the extra steps, but this change allows us to better focus on both plugin functionalities and deliver more improvements faster." 908 msgstr "" 909 893 910 #: modules/price-alerts/partials/price-alerts-page.php:31 894 911 msgid "Choose specific rows within a table and inform users of price drops. If a user has subscribed to more than one product, they will receive a single email containing a list of products that are currently priced below their desired target." … … 998 1015 msgid "Happy shopping!" 999 1016 msgstr "" 1000 1001 #: product-price-history.php:1781002 msgid "The “Product Price History” plugin cannot run without WooCommerce. Please install and activate WooCommerce plugin."1003 msgstr "" -
product-price-history/trunk/modules/chart/admin.php
r3371694 r3464072 103 103 'label' => esc_html__( 'Position', 'product-price-history' ), 104 104 'options' => [ 105 'woocommerce_product_meta_start' => esc_html__( 'Before product meta', 'product-price-history' ), 105 'woocommerce_product_meta_start' => esc_html__( 'Before product meta (SKU, Category, Tag)', 'product-price-history' ), 106 '_disabled_1' => esc_html__( 'After product meta (SKU, Category, Tag)', 'product-price-history' ), 107 '_disabled_2' => esc_html__( 'Inside product summary', 'product-price-history' ), 106 108 'woocommerce_after_single_product_summary' => esc_html__( 'After product summary', 'product-price-history' ), 107 '_disabled_1' => esc_html__( 'Product tab', 'product-price-history' ), 108 '_disabled_2' => esc_html__( 'Custom - I\'ll insert a shortcode', 'product-price-history' ), 109 'woocommerce_after_single_product' => esc_html__( 'After product', 'product-price-history' ), 110 '_disabled_3' => esc_html__( 'Product tab', 'product-price-history' ), 111 '_disabled_4' => esc_html__( 'Custom - I\'ll insert a shortcode', 'product-price-history' ), 109 112 ], 110 113 'default' => self::defaults( 'position' ), -
product-price-history/trunk/modules/lowest-price/helper.php
r3316786 r3464072 33 33 ] ); 34 34 $entries_count = count( $entries ); 35 $lowest_price = self::find_lowest_price( $entries);35 $lowest_price = ( $product->is_on_sale() ? self::find_lowest_price( $entries ) : self::find_lowest_price_regular( $entries, $product->get_price() ) ); 36 36 if ( $inherit_regular ) { 37 37 if ( empty( $entries ) || $entries_count === 1 ) { … … 69 69 $info['variations'][$id] = $lowest_price; 70 70 } 71 $info['min'] = min( $info['all'] ); 72 $info['max'] = max( $info['all'] ); 71 if ( !empty( $info['all'] ) ) { 72 $info['min'] = min( $info['all'] ); 73 $info['max'] = max( $info['all'] ); 74 } 73 75 return $info; 74 76 } … … 103 105 } 104 106 107 public static function find_lowest_price_regular( $entries = [], $current_price = null ) { 108 if ( empty( $entries ) ) { 109 return $current_price; 110 } 111 $thirty_days_ago = date( 'Y-m-d H:i:s', strtotime( '-30 days' ) ); 112 $prices = []; 113 $price_at_window_start = $entries[0]['price']; 114 foreach ( $entries as $entry ) { 115 if ( $entry['date_created'] < $thirty_days_ago ) { 116 $price_at_window_start = $entry['price']; 117 } 118 if ( $entry['date_created'] >= $thirty_days_ago ) { 119 $prices[] = $entry['price']; 120 } 121 } 122 // Always include the price that was active at window start 123 $prices[] = $price_at_window_start; 124 return min( $prices ); 125 } 126 105 127 } -
product-price-history/trunk/modules/lowest-price/public.php
r3406495 r3464072 202 202 $lowest_price_html = str_replace('{lowest_price}', $formatted_lowest_price, $text); 203 203 204 $price_html .= '<div class="pph-lowest-price">' . $lowest_price_html . '</div>'; 204 $wrapper_tag = apply_filters('pph_lowest_price_wrapper_tag', 'div'); 205 206 // Allow only div or span 207 $wrapper_tag = in_array($wrapper_tag, ['div', 'span', 'p', 'small'], true) 208 ? $wrapper_tag 209 : 'div'; 210 211 $price_html .= sprintf( 212 '<%1$s class="pph-lowest-price">%2$s</%1$s>', 213 esc_attr($wrapper_tag), 214 $lowest_price_html 215 ); 205 216 } 206 217 -
product-price-history/trunk/product-price-history.php
r3406495 r3464072 5 5 * Plugin URI: https://devnet.hr/plugins/product-price-history/ 6 6 * Description: Price history tracker for WooCommerce products. 7 * Version: 2.6. 07 * Version: 2.6.1 8 8 * Requires at least: 6.4 9 9 * Requires PHP: 7.4 … … 15 15 * Domain Path: /languages 16 16 * Requires Plugins: woocommerce 17 * WC tested up to: 10. 317 * WC tested up to: 10.5 18 18 * 19 19 */ … … 111 111 pph_fs()->add_filter( 'plugin_icon', 'pph_fs_custom_icon' ); 112 112 } 113 define( 'PRODUCT_PRICE_HISTORY_VERSION', '2.6. 0' );113 define( 'PRODUCT_PRICE_HISTORY_VERSION', '2.6.1' ); 114 114 define( 'DEVNET_PPH_NAME', 'Product Price History' ); 115 115 define( 'DEVNET_PPH_SLUG', plugin_basename( __FILE__ ) ); -
product-price-history/trunk/vendor/composer/installed.php
r3399528 r3464072 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' f897d0b61c2ff0da6cfd0236e6b6e9d14f469e9a',6 'reference' => 'd75c02295bf4baff90e3385717ee14c25ae0d326', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' f897d0b61c2ff0da6cfd0236e6b6e9d14f469e9a',16 'reference' => 'd75c02295bf4baff90e3385717ee14c25ae0d326', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.