Resolved a Fatal Error occurring during AJAX product listing requests (e.g., price slider).
- Issue: In PHP 8.2+, accessing properties of a 'CategoryLazyArray' object
using array syntax (dot notation) triggers a Fatal Error.
- Cause: The Faceted Search module returns a LazyArray object during
XHR requests, whereas standard page loads provide a native array.
- Solution: Implemented a normalization block using JSON serialization
to flatten the object into a standard associative array. This ensures
template syntax compatibility regardless of the request type or
property visibility (protected vs public).
This branch is just for "good to have" optional stand-alone sass features.
In this commit, I aimed to make some things more like bootstrap 5 for ease of use. I changed the grid breakpoints to match that of Bootstrap 5's and added media query mixins that are more logical like in bootstrap 5.
-Adds icons to use with the svg_icon smarty helper in the is_themecore module. See is_themecore-PS9 repo.
- Uses chevron svg icons by default on bootstrap touchspin AND on main menu if it has children.
Improves search bar with SVG icon support for better visual consistency.
Adds utility SCSS file for managing global styles like heading selectors.
Introduces a checkmark SVG asset and reorganizes custom SCSS files following the 7-in-1 structure for better maintainability.
Comments out optional USP bar code in header.tpl to allow easy activation.
Applies new styling to the header, shopping cart, and search bar components.
Creates new scss files for header and swiper layouts.
Replaces x.svg.
These changes create a more consistent and modern user interface.
New method created in is_themecore module: Uses use PrestaShop\PrestaShop\Core\Util\ColorBrightnessCalculator and adds as smarty function in SmartyHelperFunctions.php