PHP code example of zero1 / layout-xml-plus

1. Go to this page and download the library: Download zero1/layout-xml-plus library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zero1 / layout-xml-plus example snippets


<?= // $block->getChildHtml('review_form') 

composer magento module:enable 
php bin/magento setup:upgrade


var xpathExists = (xpath) => !!document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;

git checkout app/design/frontend/z1/sds_hyva/Magento_Cms/templates/static-blocks/pagetop.phtml