Add to Cart Description Hyvä
Product page
Add to Cart Description — kowal.co
Description
Display a product-specific message near the purchase controls on a Hyvä product page. Editors maintain the message in the product attribute selected in the base module.
For whom
For merchants adding a short ordering or fulfillment note that varies by product.
Features
- Reuse the configured product attribute and its store-view value.
- Render the message in the theme’s product.info.additional container.
- Load the adapter stylesheet in the page head.
Installation
This component is included in Add to Cart Description. Follow the module installation instructions. Enable the base module and its adapter, then apply the release:
bin/magento module:enable Kowal_AddtocartDescription Kowal_AddtocartDescriptionHyva
bin/magento setup:upgrade
bin/magento cache:clean
Configuration
- Enable Add to Cart Description and choose the source attribute. Enter a recognizable value on a test product in the intended store view.
- Enable addtocartdescription/hyva/enabled for the Hyvä view and clean the layout and full-page caches.
Requirements / notes
The adapter uses the base module’s block to resolve the attribute and render CMS content. Plain messages require no JavaScript.
FAQ
Why does the message disappear in a customized product layout?
Check the attribute value for the active view, both enable settings and the presence of product.info.additional in the product layout.
Verify the installation
bin/magento module:status Kowal_AddtocartDescriptionHyva
Open the test product and check that its message appears once beside the purchase area. Open another product with a different value and confirm that its own message is displayed.