Magento 2 Module – Description Below the Add to Cart Button

€42.63 €34.66
COMPOSER Installation
M2-DESC-ADD-TO-CART
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

The Kowal_AddtocartDescription module adds a simple but highly useful feature to your Magento 2 store – the ability to display a short description or message directly below the Add to Cart button.

This lets you clearly communicate important information to the customer at the key moment of the purchase decision – without overloading the page with additional elements.

Use Cases

  • Display information about delivery time or product availability.
  • Highlight offer benefits, such as free shipping or secure shopping.
  • Show promotions or unique product features.
  • Customer messages such as Product available only in our store or Ships within 24h.

Benefits for the Store Owner

  • Better shopping experience (UX): customers see key information without having to scroll the page.
  • Increased trust: shipping and warranty information positively influences the purchase decision.
  • Flexibility: you can choose which product attribute should be displayed below the button.
  • Universal use: works for simple, configurable, and bundle products.

Appearance and Design

The description is displayed in an elegant box with an information icon ℹ️ in the corner. The style is consistent with the Magento look and requires no additional configuration.

Summary

This small add-on has a significant impact on shopping comfort and offer clarity. A small detail – a big difference in how your store is perceived.

Version: 1.0.6

02/14/2026

Improvements

  • Moved the logic for retrieving and preparing the attribute value from phtml to a dedicated block:
    KowalAddtocartDescriptionBlockProductAddtocartDescription.
  • Changed block classes in product layouts to the new module block (simple/configurable/bundle), in line with Magento best practices.
  • Simplified the addtocart-description.phtml template to the presentation layer.

Attribute Support

  • Improved attribute handling:
    • select (option label rendering),
    • text,
    • textarea.
  • The attribute value is always processed by the CMS filter (FilterProvider->getPageFilter()->filter()), which enables proper rendering of PageBuilder content and CMS directives.

Technical Changes

  • Removed the use of ObjectManager from the frontend template.
  • Display control through configuration has been retained:
    addtocartdescription/settings/enable and addtocartdescription/settings/attribute_code.

Deployment Impact

  • No changes to the database structure.
  • No new crons/queues/indexers.
  • Recommended after deployment: bin/magento cache:flush.
Write Your Own Review
You're reviewing:Magento 2 Module – Description Below the Add to Cart Button
Your Rating
Aktualizacja preferencji plików cookie