# Changelog


## [2.12.2] - 2025-12-26
### Fixed
- PS 1.6.x compatibility issues
- Products without active timers appearing in blocks when min_qty, skip_discounted, or schedule restrictions apply
- Schedule timers not respecting store timezone for day-of-week calculation
- Countdown timers displaying zeros in product lists with some third-party themes
- Product list timers hidden with "over image - alternative" positions
- Product grid layout broken in column hooks (displayLeftColumn, displayRightColumn)
### Improved
- Optimized Smarty cache clearing
- Added ets_superspeed and pagecache modules support for automatic cache clearing


## [2.12.1] - 2025-11-29
### Fixed
- Countdown display issues with certain themes during product variant selection
- Syntax error in PHP 7
- Discount display in the back office countdown list on PS 9.0


## [2.12.0] - 2025-06-29
### Added
- Support for PS 9.0
- New option for blocks: "Constrain block width"


## [2.11.5] - 2025-03-24
### Fixed
- Now the module uses hook name "displayHeader" instead of "header"
### Improved
- Made the timer initialization more reliable in case of third-party errors


## [2.11.4] - 2025-02-01
### Fixed
- An error during the blocks loading when PS Debug Profiling is active


## [2.11.3] - 2024-11-28
### Fixed
- Changing discounts of combinations that are not specified in the countdown details
- Now the module applies countdown to a customer basing on the default customer group instead of all groups


## [2.11.2] - 2024-10-07
### Added
- New option "Create a fallback discount even when discount changing is active"
### Improved
- Minor improvements in style compatibility with third-party PrestaShop themes
### Fixed
- Syntax error in PHP 7
- Now the change discount warning is displayed on the new product page too


## [2.11.1] - 2024-08-15
### Improved
- Minor improvements in countdown saving
- Now pages of blocks can have spaces in URLs


## [2.11.0] - 2024-06-28
### Added
- Ability to set multiple actions on countdown start and end
### Fixed
- Countdown option reset when opening multiple countdown edit forms at once

## [2.10.2] - 2024-06-14
### Improved
- Improved performance with a large number of timers on a page


## [2.10.1] - 2024-06-01
### Added
- An option for disabling other product discounts when timer is running


## [2.10.0] - 2024-03-11
### Added
- Possibility to select suppliers in the countdown details
### Fixed
- Category and manufacturer links in the countdown list
### Improved
- Minor code improvements


## [2.9.4] - 2023-11-19
### Improved
- The process of saving and deleting timers with a large number of products
### Fixed
- Visual issues in mobile view
- Potential error when saving a countdown


## [2.9.3] - 2023-08-24
### Fixed
- MySQL error on duplicating products
- Duplicate smarty modifier in PS 8.1.1


## [2.9.2] - 2023-08-09
### Fixed
- Missing column `hide_timer` in the database


## [2.9.1] - 2023-07-28
### Improved
- Minor changes to avoid JS optimizations in back office by third-party modules
- Compatibility with PS 8.1


## [2.9.0] - 2023-05-22
### Added
- CSS/JS URL versioning (CSS - PS 8.0+, JS - PS 1.6.1+)
- Value "Only if it is specified in the timer options" to the option "Show promo text"
- New option "Enable promo text RTE"
- New option "Create discounts for active products only"
### Improved
- Now the schedule countdown option supports sequences of days
- Minor CSS improvements
### Fixed
- Smarty warning on the module configuration page
- Bug fixes for PS 1.5


## [2.8.1] - 2023-03-03
### Added
- An option for hiding the timer
### Fixed
- Inability to edit blocks in some PS versions
- Compatibility issues with PS 8
- Displaying the "repeating" label in back office when the countdown restart time is set to 0
- Timer restart and actions in PS 1.7.4 - 1.7.6
### Improved
- SEO of block pages
- Optimized the loading speed of the block list in BO when you have a lot of blocks
- French translation


## [2.8.0] - 2023-02-07
### Added
- New actions at countdown start and end - "Add to category", "Remove from category"
- New option "Delete added discounts at the end of the countdown"
- Searching products by EAN13 in the countdown creation form
- Searching multiple products at once by IDs and EAN13 separated by comma or space
### Improved
- Renamed header.tpl to front_header.tpl to avoid potential conflicts
- Minor optimizations in running of countdown actions
- Updated the module code to comply PrestaShop coding standards
- Showing errors in back office on ajax calls
### Fixed
- Smarty warnings in PHP 8+


## [2.7.3] - 2022-11-16
### Added
- Now blocks have links to their full pages (if enabled)
- Ability to select random products from search results when creating a countdown
### Fixed
- Ignoring settings for excluded products when saving products
- Inability to change the countdown type from "Personal" to other types
- Incorrect changing existing discounts when using discounts for separate customer groups
### Improved
- Minor JS improvements in timer insertion at the product page
- Minor CSS changes in timer visibility at the product page


## [2.7.2] - 2022-10-18
### Added
- Possibility to duplicate a countdown
### Fixed
- Missing column "excluded" on the module installation


## [2.7.1] - 2022-10-08
### Added
- Possibility to change existing discounts based on the discounted price
- Option for excluding products from countdown


## [2.7.0] - 2022-09-08
### Added
- New countdown option "Change existing discounts"
- Support for PrestaShop 8
### Improved
- Minor CSS improvements
- Moved custom CSS code to the settings-*.css file
- Disabled unnecessary custom CSS escaping
### Fixed
- Visibility of additional countdown options on countdown edit


## [2.6.0] - 2022-07-16
### Added
- New type of countdown - "On schedule"
### Improved
- Slightly reworked options for personal timers
- Minor optimizations for timers with actions and restart
- Minor style improvements
- Updated translations


## [2.5.1] - 2022-06-29
### Improved
- Now it's possible to set option "Restart after" to 0 and restart timers immediately after the end
- Searching for timer for a product when there are several timers


## [2.5.0] - 2022-06-23
### Added
- Option for changing alignment of the timer at the product page
- Option that allows to skip adding discounts and timers to products with existing discounts
### Improved
- Minor style improvements
- Minor improvements in forms in Back Office
- Now it's possible to configure the module in Back Office when it's disabled
- Now the module reloads discount info in the moment of timer end - at the product page and in the product list


## [2.4.3] - 2022-06-01
### Improved
- Searching for timer for a product when there are several timers and some of them are expired, etc.


## [2.4.2] - 2022-03-09
### Added
- New option "Product list wrapper" (for developers)
### Improved
- PS 1.7.8 compatibility
- Removed unnecessary cache
- Checking the response when saving a countdown


## [2.4.1] - 2022-01-13
### Improved
- Compatibility with third-party modules at the block pages
### Fixed
- Inability to switch language at the block page
- Applying category and manufacturer discounts on product create/edit


## [2.4.0] - 2021-12-18
### Added
- New option allowing to display timers only on products having enough quantity in stock ("Apply only to products with quantity greater than")
### Improved
- PS 1.7.8 compatibility
- French translation


## [2.3.6] - 2021-10-29
### Improved
- Displaying of custom timers created with "pspc-custom" html widget
- Disabled colon for themes #1,2,3
### Fixed
- Compact view for theme #4
### Updated
- Additional instructions


## [2.3.5] - 2021-09-23
### Improved
- PS 1.7.8 compatibility
### Fixed
- Style issues in mobile and tablet mode


## [2.3.4] - 2021-09-06
### Fixed
- Applying category countdown actions on products from subcategories when option "With subcategories" is enabled
- Incorrect countdown restart time calculation


## [2.3.3] - 2021-04-07
### Fixed
- Displaying of timers in displayProductPriceBlock in rare situations


## [2.3.2] - 2021-04-07
### Fixed
- Order of arguments in JS function pspc_callbackBeforeDisplay()
### Improved
- Optimized JS countdown initialization


## [2.3.1] - 2021-04-07
### Fixed
- JS error at the product page in Back Office


## [2.3.0] - 2021-03-24
### Added
- Bulk edit of countdown ending time
- New option "Font size for product list on mobile"
- New alternative position for the product list
### Fixed
- Saving timer colors and other style customizations in multishop
- Incorrect jQuery alert during deletion in the timer list in PS 1.7.6+
### Improved
- Displaying over-image timers in the product list
- Simplified countdown font size selection