| Current Path : /home/rtorresani/www/app/code/Amasty/Rewards/view/frontend/layout/ |
| Current File : //home/rtorresani/www/app/code/Amasty/Rewards/view/frontend/layout/catalog_product_view.xml |
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2023 Amasty (https://www.amasty.com)
* @package Reward Points Base for Magento 2
*/-->
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="alert.urls">
<container name="amasty.rewards.highlight.container" before="product.info.form.content">
<block class="Amasty\Rewards\Block\Frontend\Catalog\HighlightProduct" ifconfig="amrewards/general/enabled" name="amasty.rewards.highlight.product" template="Amasty_Rewards::catalog/highlight.phtml">
<arguments>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="amasty-rewards-highlight-catalog" xsi:type="array">
<item name="component" xsi:type="string">Amasty_Rewards/js/model/catalog/highlight-product</item>
</item>
</item>
</argument>
</arguments>
</block>
</container>
</referenceContainer>
</body>
</page>