Skip to content

Commit

Permalink
Merge pull request #768 from Nosto/hotfix/5.4.3
Browse files Browse the repository at this point in the history
Hotfix 5.4.3 - Add page type for checkout
  • Loading branch information
olsi-qose authored Apr 25, 2022
2 parents 56cb5d4 + 82bbdd5 commit 3f09c90
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

### 5.4.3
* Add page-type tagging for checkout page

### 5.4.2
* Send all active currencies formating to Nosto only when multi-currency is enabled

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nosto/module-nostotagging",
"description": "Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.",
"type": "magento2-module",
"version": "5.4.2",
"version": "5.4.3",
"require-dev": {
"phpmd/phpmd": "^2.5",
"sebastian/phpcpd": "*",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
<!--suppress XmlUnboundNsPrefix -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Nosto_Tagging" setup_version="5.4.2"/>
<module name="Nosto_Tagging" setup_version="5.4.3"/>
</config>
61 changes: 61 additions & 0 deletions view/frontend/layout/checkout_index_index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0"?>
<!--
~ Copyright (c) 2020, Nosto Solutions Ltd
~ All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without modification,
~ are permitted provided that the following conditions are met:
~
~ 1. Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~
~ 2. Redistributions in binary form must reproduce the above copyright notice,
~ this list of conditions and the following disclaimer in the documentation
~ and/or other materials provided with the distribution.
~
~ 3. Neither the name of the copyright holder nor the names of its contributors
~ may be used to endorse or promote products derived from this software without
~ specific prior written permission.
~
~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
~ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
~ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
~ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
~ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
~ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
~ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
~ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
~
~ @author Nosto Solutions Ltd <[email protected]>
~ @copyright 2020 Nosto Solutions Ltd
~ @license http://opensource.org/licenses/BSD-3-Clause BSD 3-Clause
~
-->

<!--suppress XmlUnboundNsPrefix -->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Nosto\Tagging\Block\PageType" name="nosto.page.type.checkout" after="-">
<arguments>
<argument name="page_type" xsi:type="string">checkout</argument>
</arguments>
</block>
<block class="Nosto\Tagging\Block\Element" name="nosto.page.checkout1"
after="nosto.order" template="Nosto_Tagging::element.phtml">
<arguments>
<argument name="nostoId" xsi:type="string">checkout-nosto-1</argument>
</arguments>
</block>
<block class="Nosto\Tagging\Block\Element" name="nosto.page.checkout2"
after="nosto.order" template="Nosto_Tagging::element.phtml">
<arguments>
<argument name="nostoId" xsi:type="string">checkout-nosto-2</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>

0 comments on commit 3f09c90

Please sign in to comment.