Overall updates to Plugin Studio and JavaScript
September 24th, 2024
Plugin Studio has been expanded so that you can design and assign product tiles for your Product Suggestions as well, as you already could do for your listings. Without getting too technical, the whole idea behind Tweakwise JS is to offer an easy way of integrating Tweakwise via a collection of modular and configurable plugins. Configuration settings are done in Tweakwise App, now including the exact look and feel of product cards in suggestions. This does mean that you ideally should set-up multiple Product Tiles, and assigned them to the different JS modules.
Javascrips improvements
- Search & Merchandising JS | When
ui.closeSearchButton
is set to 'false', the search overlay will not show the close button on a search overlay. Useful when customers have migrated to autocomplete from instant search and wish to not have the overlay closeable. - Search & Merchandising JS | Extra parameters were added as configurable options (in local configuration), which could be needed to pass on through the APIs we're using. We've added support for
keyboard
,pageSize
,filterTemplateId
andsortingTemplateId
. You can use these parameters to force/override values for specific usecases. - Suggestions JS | The
keyboard
parameter for Search Algorithm optimization can be used here too. Also thelang
parameter is now handled well. - Search & Merchandising JS | The
lang
-option in the Search & Merchandising JS configuration is now used to pass it through to the Search Algorithms. - JS Implementations | All packages now utilize the
TWN-Source
header in their requests to our servers, e.g. the value of this header for Search & Merchandising package is 'Tweakwise Javascript Search & Merchandising'. This is useful for categorization of customer traffic for a better overview of their API usage and this information will be present in some new reports we will introduce pretty soon. All packages can override the default value in their configuration using the sourceName key, so customer may pick their own name depending where the script is used.
Other improvements
- Plugin Studio | The Search & Merchandising settings page in Plugin Studio has been extended with missing configuration options, for example for grouped products and page size.
- Plugin Studio | When an instance uses the grouped product calls (Search & Merchandising) we can now access these product variants when building customers' custom product tiles. This is useful for use cases such as size or color variants, in case the instance's feed is correctly set-up with group codes. We expect to have this supported in the Product Tile Editor soon
- Demoshop | The Demoshop now finally supports Bucket sliders (with or without clickpoints) next to the basic range sliders!
- Demoshop | The Demoshop is now localized, meaning users can now change the language of the UI in the same way they can do it in the Tweakwise App (via your user preferences settings menu).