Repository navigation
0.11.0
·
7 commits
to master
since this release
Included commits: 0.10.1...0.11.0
Fixes
- Fixed Storefront Assistant product prices: products with several variants now show the abstract price, the same as the product detail page.
- Fixed the Storefront Assistant full-comparison link, which returned 404 on shops without the product comparison page. The link is now behind a feature flag that is off by default.
- Fixed Storefront Assistant links on shops with store routing: product, CMS, category, product-set and comparison links now get the store prefix.
- Fixed the Storefront Assistant widget, which showed when no agent was enabled.
- Fixed the Storefront Assistant prompt and conversation-delete endpoints, which accepted an unknown agent, non-array attachments and an empty delete payload; they now return 400.
- Fixed the expanded chat panel under the shop header, horizontal scroll at small widths, overflowing follow-up chips, and the page-context chip that could not be attached again.
- Fixed the attachment notice texts: readable file types and a readable size limit.
- Fixed a stored chat session that the next customer in the same browser could restore: the session is bound to a hash of the customer reference, and the chat removes the session of another customer.
- Fixed the Back Office assistant trigger, which covered the configuration save bar.
Improvements
- Introduced
AiCommerceConfig::isStorefrontAssistantProductComparisonPageEnabled(). The default isfalse, so a comparison has no full-comparison link; setIS_STOREFRONT_ASSISTANT_PRODUCT_COMPARISON_PAGE_ENABLEDtotruein the project config when the product comparison page is installed. - Introduced
AiCommerceConfig::isStorefrontAssistantStoreRoutingEnabled(). - Introduced the
ai_commerce.storefront_assistant.attachment.too_large_sizeglossary key with the%maxSize%placeholder. - Adjusted the attachment notice to use only the
ai_commerce.storefront_assistant.attachment.too_large_sizeglossary key. Projects must import this key:en_US"File is too large. Maximum size is %maxSize%.",de_DE"Datei ist zu groß. Maximale Größe: %maxSize%.". - Introduced the
features.sessionPersistence.clearStorageKeyschat option. When another customer signs in,chat-session-persistenceremoves the stored session and these keys and does not restore them. - Added the
spryker/price-productdependency. - Adjusted the constructors of
PriceProductProductExpander,ProductComparisonBuilder,ShopPageReader,SuggestionResultFormatter,SeeAllLinkBuilder,ProductSetReaderandProductBundleDetailsExpander. Projects that extend these classes must update their factories. - Adjusted
StorefrontAssistantWidgetwith thechatOwnerTokenparameter. Projects that override the widget template must passchatOwnerTokenaschat.ownerand the agent selector storage key infeatures.sessionPersistence.clearStorageKeys.