Magento for B2B Commerce, 2.2.x

Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive quality fixes or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento.

The online Magento 2.2.x User Guide is scheduled for removal, but will remain available in PDF for Open Source, Commerce, and Commerce for B2B.

Layout Update Examples

The following blocks types can be manipulated with custom layoutThe visual and structural composition of a page. instructions. Each action must be specified using the full syntax of the instruction. In the following examples, a simplified notation is used to refer to each action, which corresponds to the full syntax of the instruction.

  • Full Syntax
    ?
    <!-- Action can be specified inside either a <block>
    or <reference> instruction. -->
    
    	<action method="someActionName">
     		<arg1>Value 1</arg1>
    		<arg2>Value 2</arg2>
    		<!--   -->
    		 <argN>Value N</argN>
    	</action>
    <!--   -->
  •  Simplified Syntax
    ?
    someActionName($arg1, $arg2, ..., $argN)