Changelog - Hyvä Checkout
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Unreleased
1.0.5 - 2023-06-01
Added
- Allow saving of billing address to customer address book
Previously this was only possible for shipping addresses.
Please refer to issue #83 for more information.
- "Weee tax" order totals renderer
Please refer to issue #100 for more information.
- Option to add a subtitle and SVG logo icon to a Payment method
It is now possible to add additional display information to payment methods using layout XML as "metadata".
For now, a subtitle and a payment provider logo SVG icon can be added. Additional properties might be added in the future.
Please refer to issue #98 for more information.
- Navigation button now can have nested elements
This feature allows adding DOM elements, for example, SVGs, inside the navigation buttons.
Please refer to issue #95 for more information.
- Enable the Hyvä Checkout cache by default
After running bin/magento setup:upgrade
for the first time after installing the Hyvä Checkout 1.0.5 or newer, the
checkout cache will be automatically enabled.
Please refer to issue #91 for more information.
Changed
- Fix phrase "No shipping address set." to "No shipping method selected." when no shipping method is selected
Please refer to issue #25 for more information.
- Improve Discount Code component default styling
We have tried to make the coupon code component less prominent, in other words, less visibly apparent. Both the field and the apply button are now responsive to smaller viewports sizes.
Please refer to issue #101 for more information.
- 2- and 3-columns checkout layout breakpoint revision
Previously, the 2- and 3-column layout would break on medium-sized screens, but now it has been changed to break on large screens instead. This change ensures better visibility on smaller screen sizes, such as mobile or tablet devices.
Please refer to issue #101 for more information.
- Default email sort order for shipping and billing form fields
The email field will now have a default sort order to be rendered as the first field for both the shipping and billing address forms.
Please refer to issue #109 for more information.
- Fixed an issue where it would not render a custom cart item type renderer when it was set via layout xml
Please refer to issue #110 for more information.
Removed
- Nothing was removed.
1.0.4 - 2023-05-17
Release 1.0.1 included a default totals renderer, which
caused a lot of issues. We announced in the Slack support channel that the default totals renderer will be removed
again in the next release. Now every total that needs to be rendered must be declared in layout XML as a child block of
price-summary.total-segments
. The block alias must match the total code, as in as="discount"
.
Added
- Address & Country change listeners for the payment method list
By default, when an address is changed or a country is selected, the payment methods were not refreshed, potentially leading to situations where payment methods needed to be displayed or hidden based on changes in the shipping or billing address.
Please refer to merge request #55 for more information.
Many thanks to Francesco Marangi (Y1) for the contribution!
- Add checkout page type as widget instance target location
Please refer to issue #89 for more information.
- Narrowed down the Composer PHP requirement between 7.4 and 8.3
Please refer to issue #88 for more information.
- Checkout (Magewire) Component Resolver sort order
You now possess the capability to decide whether your custom checkout component resolver should execute before or after the core checkout component resolver. Previously, achieving this required utilizing a negative sort order in the DI.xml file. However, you can now employ positive numeric values to precisely specify the desired position.
Please refer to merge request #74 for more information.
Changed
- Fix scrolling in terms agreement dialog when the content exceeds page height
On certain screen sizes, it was not possible to scroll within a terms agreement dialog when it was opened with a context that exceeded the height of the screen. As a result, customers were unable to close the dialog since they were unable to scroll to the bottom.
Please refer to merge request #66 for more information.
Many thanks to Mitchel van Kleef (Made by Mouses) for the contribution!
- Fix for using the undeclared function 'array_first'
Please refer to merge request #93 for more information.
Many thanks to Adam Crossland (ZERO-1) for the contribution!
- Empty Billing Address Form Replaces Pre-Filled Shipping Data
Previously, a new guest billing address form would appear with pre-filled shipping address data that could be modified. However, it has now been updated so that the billing address form opens empty, without any pre-existing information.
Please refer to issue #81 for more information.
Removed
- Removed the default total segment renderer (block) and its fallback mechanism
In merge request #44, a default total segment renderer was implemented to ensure that items are always rendered without the need to manually add the necessary block into the Layout XML. However, this led to unintended behavior by rendering items that should not be rendered, without providing the option to remove them, as it would default to the standard rendering.
Please refer to issue #87 for more information.
1.0.3 - 2023-05-09
Added
- Nothing was added.
Changed
- Fix checkout layout resolver to only match on checkout route
The layout resolver fix introduced in 1.0.2 matches any page on a store with Hyvä Checkout, causing non-checkout pages using Magewire to break.
Please refer to issue #58 for more information.
Many thanks to Marcus Venghaus for the contribution!
Removed
- Nothing was removed.
1.0.2 - 2023-05-02
Added
- Nothing was added.
Changed
- Fix unresolvable nested components
Components that were dynamically loaded without a page reload or step navigation became unresolvable since the Hyva Checkout component ResolverInterface was unable to comply with its conditions and therefore would fallback on the default Magewire Layout ResolverInterface, which isn’t aware of any additional checkout/step layout handles. Because of this, Blocks couldn’t be found which result in Magewire throwing a 404 - component not found.
For more information, please refer to merge request #57.
Many thanks to Ivascu Madalin (Buckaroo) & Filipe Bicho (Refusion) for the contribution!
Removed
- Nothing was removed.
1.0.1 - 2023-05-02
Added
- Compatibility with PHP 8.2
For more information, please refer to issue #35.
- Default totals renderer
Previously, custom totals where not rendered, unless they where explicitly added as a child to the price-summary.total-segments
block with the total code as the block alias.
Now, if there is no child matching the total modal, the default renderer is used rendering the total code and value.
For more information, please refer to issue #37.
Many thanks to Marcus Venghaus for the contribution!
Changed
- Fix shipping total rendering
Previouly the shipping total was not shown because the block was missing the as="shipping"
attribute in the layout xml, so it was rendered using the default total renderer instead.
For more information, please refer to merge request #48.
Many thanks to Thijs de Witt (Trinos) for the contribution!
- Changed the checkout cache ID from checkout to hyva_checkout
This low impact change was made to avoid potential cache key name collisions with other extensions or possible future Magento core changes.
For more information, please refer to merge request #48.
- Change type of Phone number field from "text" to "tel"
This change can improve the keyboard layout on mobile devices when entering a value.
- Session expiration Alert popup message
When a customer session expires while idling for a long time during checkout, a informative message is displayed rather than an error message.
- Fix validation error for newly registered customers without address in address book
Previously, customers who had just created an account and tried to checkout where unable to place an order because the billing address was not properly initialized on the quote.
For more information, please refer to issue #55.
Many thanks to Jacek Lopuszynski for the contribution!
- Fix coupon code component being incorrectly disabled
For more information, please refer to issue #50.
Many thanks to Marcus Venghaus for the contribution!
- Update README to refer to the correct composer package names
Previously old package names used during development that are no longer valid where referenced in the README file.
For more information, please refer to issue #43.
- When a customer address is deleted, the address ID is removed from the quote
Previously an exception was thrown when the address ID on the quote referenced a non-existing customer address.
For more information, please refer to issue #39.
Many thanks to Marcus Venghaus for the contribution!
- Update the price summary after changing the payment method
Some payment methods like cash on delivery have an effect on the price summary.
For more information, please refer to issue #36.
Many thanks to Marcus Venghaus for the contribution!
- Fix possible bypass of required form fields
For more information, please refer to issue #24 and merge request #49.
- Fix issue with Magewire loading spinner remaining visible after session timeout
For more information, please refer to issue #5.
- Handle session corruption because of cookie domain conflicts more gracefully
In the rare situation, where the main store is running on a second level domain (e.g. test.com),
and the staging environment was running on a subdomain of the same domain (e.g. staging.test.com),
the main store cookie conflicted with the subdomain cookie, resulting in lost sessions.
This caused a problem where the checkout was trying to collect Magewire components based on data of the main domain when on the subdomain.
For more information, please refer to issue #42.
- Select inputs like COUNTRY_ID will now wait to update when a user starts typing
For more information, please refer to issue #34.
- Magewire error alert overlay is now hidden in production mode
For more information, please refer to issue #21.
- Make system configuration for shipping and billing form management more user-friendly
For more information, please refer to issue #7.
- The default checkout login step now uses the 1column "layout"
Removed
- Nothing was removed.
1.0.0 - 2023-02-24
Added
- Initial Release
Changed
- Nothing was changed.
Removed
- Nothing was removed.