If Want to know how to display "My Account" only after customer LogIn. After LogOut it will again be hidden on the same place. The customer_logged_* layout handles used in M1 were removed in M2. Below is a small plugin using a method similar to what's used in core for adding/removing the "Register" top link in Magento\Customer\Block\Account\RegisterLink Pawan/Myaccount/Plugin/Link.php namespace Vendor\Module\Plugin; use Magento\Customer\Model\Context; class Link { protected $httpContext; public function __construct( \Magento\Framework\App\Http\Context $context ) { $this->httpContext = $context; } public function afterToHtml(\Magento\Customer\Block\Account\Link $subject, $result) { if ($this->httpContext->getValue(Context::CONTEXT_AUTH)) { return $resul...
find some magento simple technical solution easly get solution with wide explanation. how we can use the solution code. Here i am posting what i faced issues and found issues solving solution. Magento is most powerful eCommerce frame work. working in magento framwork finding soluiotn and sharing technical knowledge here.