Skip to content
Code-Schnipsel Gruppen Projekte
  1. Apr 02, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · b8b8e774
      verfasst von Henning Leutz
      fix: properly defined parameters for the URL function
      
      See merge request !55
    • Henning Leutz's avatar
      fix: update phpstan version and ignore certain lines in checkouts · 0202cb7b
      verfasst von Henning Leutz
      - Updated the version of phpstan in `.phive/phars.xml` from `1.11.8` to `1.*` and fixed its
      installed reference to `1.12.13`.
      - Added `@phpstan-ignore-line` comment to ignore certain lines in `Checkout.php`. The ignored lines
      are 'Delivery' in the function `getBody()` and checking `validateAddress` in the function
      `isValid()`. These adjustments help to suppress any unnecessary lint warnings which phpstan may
      raise.
      0202cb7b
    • Henning Leutz's avatar
      Merge branch 'master' into next-2.x · 60ec8da5
      verfasst von Henning Leutz
      60ec8da5
    • Henning Leutz's avatar
      feat: add null coalescing and step verification · 118e1147
      verfasst von Henning Leutz
      New Events: onQuiqqerSimpleCheckoutBodyEnd + onQuiqqerSimpleCheckoutValidation
      
      In the update.php modified to initialize erpAddressData with empty strings in case the values
      obtained from $orderData are null.
      
      In SimpleCheckout.js module, simplified setting `Checkout` attribute for Delivery, Shipping,
      Payment, and Billing by looping through them in an array.
      
      Added verification to ensure existence of certain steps before attempting to invoke methods on them
      to prevent potential errors because of non-existence.
      
      In the checkout template, add code to display delivery and Payment only if the corresponding data
      exists.
      
      In Checkout.php introduced logic to control the display of delivery, shipping, and billing
      addresses sections.
      
      In CheckoutPayment.php added conditions to check existence before validating delivery to prevent
      potential errors.
      
      Conditional checks and event firing mechanisms were introduced to validate the shipping service.
      This significantly streamlines the code and makes it more resilient against potential errors.
      118e1147
  2. Mär 04, 2025
  3. Feb 27, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · 0bc071c4
      verfasst von Henning Leutz
      fix: update formatting and DOM manipulation in SimpleCheckout.js
      
      See merge request !53
    • Henning Leutz's avatar
      fix: update formatting and DOM manipulation in SimpleCheckout.js · ff125403
      verfasst von Henning Leutz
      This commit implements minor refactoring changes in the SimpleCheckout.js file.
      - Updated formatting to include space before function parameters across multiple method
      declarations for improved readability.
      - Modified DOM manipulation logic to use data-name attribute instead of class name for element
      selection, enhancing selection accuracy.
      - Added data-name attribute set command to retain DOM element specific data when replacing HTML.
      - Improvements in 'require' callbacks to use fat arrow function notation.
      - Minor adjustments in formatting in methods dealing with Events and DOM manipulations.
      
      Related: coupons#19
      ff125403
  4. Feb 12, 2025
  5. Feb 11, 2025
    • Henning Leutz's avatar
      Merge branch 'next-2.x' into 'main' · 14991b34
      verfasst von Henning Leutz
      fix: hide checkout details and payment container during processing
      
      See merge request !51
    • Henning Leutz's avatar
      fix: add animation to payment container in simple checkout · ae0a58b9
      verfasst von Henning Leutz
      In `SimpleCheckout.js`, an animation has been added to enhance the user experience while scrolling
      to the payment container. On the other hand, in `Checkout.html`, the
      `quiqqer-simple-checkout__scrollToPaymentContainer` class has been updated to initially set the
      opacity to 0 to make the animation smoother.
      ae0a58b9
    • Henning Leutz's avatar
      fix: hide checkout details and payment container during processing · caeaffd5
      verfasst von Henning Leutz
      This commit hides the elements '.quiqqer-simple-checkout-orderDetails' and
      '.quiqqer-simple-checkout__scrollToPaymentContainer' in 'SimpleCheckout.js' during processing. When
      the element with '.quiqqer-order-step-processing' class is present, the mentioned elements are set
      to 'display: none', preventing them from being viewed during order processing. The same logic
      applies when the order is successful, ensuring a cleaner interface during these steps.
      
      Related: #22
      caeaffd5
  6. Jan 15, 2025
  7. Dez 20, 2024
  8. Dez 19, 2024
  9. Dez 17, 2024
  10. Dez 02, 2024
  11. Nov 28, 2024
  12. Nov 19, 2024
  13. Nov 04, 2024
  14. Okt 31, 2024
  15. Okt 24, 2024
Lade