Skip to content
Code-Schnipsel Gruppen Projekte
  • Henning Leutz's avatar
    69174d59
    feat: implement dynamic currency handling · 69174d59
    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.
    69174d59
    Verlauf
    feat: implement dynamic currency handling
    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.