ProductHighlights (optional)

https://github.com/magesuite/product-highlights

This module displays highlights (usually the short_description attribute) on PDP’s buybox.

 

Installation

This module is optional.

composer require "creativestyle/magesuite-product-highlights" ^1.0.0

Admin settings

There are no admin settings for the module, the functionality is enabled by default when installed.

Backend

In progress

Frontend

On the frontend a new template is added to product.info.main.highlights container, which is located in the buybox, on product pages:

<referenceContainer name="product.info.main.highlights"> <block class="MageSuite\ProductHighlights\Block\Highlights" name="product.info.highlights"/> </referenceContainer>

By default, the block uses the product's short_description attribute to display its content.

It is possible to change the default attribute which will be used, you can add an additional argument:

<block class="MageSuite\ProductHighlights\Block\Highlights" name="product.info.highlights"> <arguments> <argument name="attributes_list" xsi:type="string">description</argument> </arguments> </block>

or set of attributes:

 

Usually projects use standard Magento attribute template to display shortDescription in buybox.

or move existing block: