Welcome to the May 2020 VTEX IO Release Notes, team!
The VTEX IO Release Notes is marking it's first anniversary online and we've decided to celebrate this first year by doing what we do best: introducing our users to eagerly awaited configs.
Some of the key highlights are:
- ➕ Layout conditioned by product specifications;
- ❌ Product Summary Price and Product Price blocks deprecation;
- 🐛 Links working in Brand component.
Shall we then start reading this Release Notes gem for May?
Product prices with tax - Blocks exported by the Product Price app are now able to render their text messages and price variables with tax values considered.
callToActionLinkTargetprop - The
callToActionLinkTargetprop from the Infocard block is now available for the Edition in the admin's Site Editor.
CSS Handles - New CSS Handles always herald good news. Let's rejoice:
lastVisiblehave arrived to the Slider Layout app, allowing you to customize the first and the last visible item on a slide. In addition, the Rich Text and the Search Results also gained new Handles: namely the
accordionFilterOpenfor mobile devices.
Product Specifications block and Search Results filters customization - It is now possible to independently customize each of the UI product specifications and the search filters. All this thanks to adding modifiers and new attributes linked to HTML elements. For more info, access the Search Results app and Product Specifications block documentation, in addition to going through the recipe on Using CSS Handles for store customization.
Add to Cart button message - Define which message will be displayed on the Add to Cart Button thanks to the block's new
textprop. In addition, you can define a text message that will be rendered when the product is not available for purchase - thanks to another new prop called
Newsletter in Site Editor - The Newsletter is finally in Site Editor! The component can now be edited using your account's admin.
Layout conditioned by product specifications - The Condition Layout now works with product specifications, thanks to the new value
subjectprop. That's right: you can now define which product specifications should trigger the rendering of predefined content! Cheers to that!
CSS subfolders - The folder where your theme's app CSS files are stored (called
cssand allocated in the main
stylesfolder) now supports subfolder organization, which means that you can organize your CSS files as you wish from now on!
Empty Minicart state - This one should be a good surprise to users: The Minicart empty state was improved. What was merely a rich text gave way to more user friendly UI, having an empty cart icon.
remove-button's new props - The Product List app's
remove-buttonblock received two new strategically important props:
variation. The first defines whether the block should be displayed as an icon or as a text (allowing you to create confirmation modals when displayed as an icon). In turn, the second prop defines the remove button visual prominence when it is displayed as a text based on the VTEX Styleguide.
- Product Summary Price and Product Price blocks - The Product Summary Price and the Product Price blocks, respectively, pertaining to the Product Summary and the Store components apps, were deprecated in favor of the Product Price app. Although support for these blocks is still granted, it is strongly recommended to update your Store Theme with the Product Price's blocks in order to keep up with the component's evolution.
Bug fixes 🐛
Minicart item list - When more than 1 SKU with attachments was added to the Minicart (version 1 and 2), the component interpreted that only 1 should receive the chosen attachment, while the other SKUs would not receive it. This bug was now fixed in both versions and the Minicart lists the correct SKU number with their respective attachment.
Slider Layout dots on mobile - The pagination dots, located below the component built using Slider Layout, were not rendering slides when clicked on using a mobile device - contrary to the Slider's arrows. The pagination dots are now working as expected and users can click on them to change slides.
Image link editing in Site Editor -
When an image link was added to the Image component (Store Image app) using the admin's Site Editor, an unexpected error took place: the
newTabtoggle button was not working properly. This was now fixed and users can correctly configure image links to open in new tabs when editing the Image component in Site Editor.
Links in Brand component - The Store Component's Product Brand block allowed the creation of links in the brand product icon, by using the
logoWithLinkprop. The prop was not functioning properly, which led to this functionality being forgotten. Thanks to a fix, the prop is now 100% available and ready for use!