diff --git a/CHANGELOG.md b/CHANGELOG.md index a66b8c66..c3253875 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## Unreleased +### Add +- Add landing page campaign ## [v4.2.2] - 2023.11.10 ### Add - Add campaigns to category view page diff --git a/README.md b/README.md index 292387cb..44df0cc0 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,8 @@ Here you can disabled them, if you do not use utilize this part of FACT-Finder f **Note:** Paging has been added cause with infinite scrolling enabled in ff-record list, this custom element is redundant +**Note:** Page id in Landing page campaign base on Magento CMS page Identifier name + ### Custom Elements Options ![Custom Elements Options](docs/assets/custom-elements-options.png "Custom Elements Options") In this section you can find specific custom elements attributes, the values of which, you can configure. diff --git a/docs/assets/optional-custom-elements.png b/docs/assets/optional-custom-elements.png index af83fe45..53e8bed0 100644 Binary files a/docs/assets/optional-custom-elements.png and b/docs/assets/optional-custom-elements.png differ diff --git a/src/etc/adminhtml/system/components.xml b/src/etc/adminhtml/system/components.xml index f980cf0c..f1fc74bc 100644 --- a/src/etc/adminhtml/system/components.xml +++ b/src/etc/adminhtml/system/components.xml @@ -27,6 +27,11 @@ Magento\Config\Model\Config\Source\Yesno + + + Magento\Config\Model\Config\Source\Yesno + + Magento\Config\Model\Config\Source\Yesno diff --git a/src/view/frontend/layout/default.xml b/src/view/frontend/layout/default.xml index 26a7246d..c56dcb0a 100644 --- a/src/view/frontend/layout/default.xml +++ b/src/view/frontend/layout/default.xml @@ -16,18 +16,18 @@ - + Omikron\Factfinder\ViewModel\Communication - + Omikron\Factfinder\ViewModel\ProductsPerPage - + @@ -38,5 +38,19 @@ + + + + + + is-landing-page-campaign + + + + + is-landing-page-campaign + + + diff --git a/src/view/frontend/templates/ff/campaign-landing-page.phtml b/src/view/frontend/templates/ff/campaign-landing-page.phtml new file mode 100644 index 00000000..c3441eae --- /dev/null +++ b/src/view/frontend/templates/ff/campaign-landing-page.phtml @@ -0,0 +1,7 @@ +get('\Magento\Cms\Model\Page'); +?> + +