Initial commit: Free Shipping Message module
This commit is contained in:
21
view/frontend/layout/catalog_product_view.xml
Normal file
21
view/frontend/layout/catalog_product_view.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
/**
|
||||
* Shopkeeper FreeShippingMessage Layout
|
||||
* Adds CMS block widget below the add to cart button
|
||||
*/
|
||||
-->
|
||||
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
|
||||
<body>
|
||||
<referenceContainer name="product.info.form.content">
|
||||
<block class="Shopkeeper\FreeShippingMessage\Block\Product\View\Message"
|
||||
name="product.free.shipping.message"
|
||||
template="Shopkeeper_FreeShippingMessage::product/view/message.phtml"
|
||||
after="addtocart">
|
||||
<arguments>
|
||||
<argument name="cms_block_id" xsi:type="string">free_shipping_message</argument>
|
||||
</arguments>
|
||||
</block>
|
||||
</referenceContainer>
|
||||
</body>
|
||||
</page>
|
||||
Reference in New Issue
Block a user