-
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.
verfasst von Henning LeutzThe 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.
Die Abhängigkeiten dieses Projekts werden mit Composer verwaltet..
Mehr erfahren