Update 'next-3.x' with latest changes from 'main'
- Mär 26, 2025
-
-
verfasst von Henning Leutz
feat: implement dynamic currency handling See merge request !151
-
verfasst von Henning Leutz
The updates include: - Added `quiqqer/currency` package to `composer.json`. - Refactored code in `Basket.php`, `OrderProcess.php` and `Utils.php` to use the new `getRuntimeCurrency` function for currency handling. - Removed hardcoded currency setting in `Basket.php`. - Updated code in `OrderProcess/Basket.php` to correctly reference new Basket class. - Added logic to set currency from product data in `Utils.php`. These changes allow for dynamic handling of currencies across the application, reducing the need for hardcoded values and enhancing flexibility and maintainability.
-