Magento Commerce – How to remove Gift Card option from Cart, Checkout and My Account

There might be a requirement in store that never intends to offer gift cards. Today we gonna learn how to remove component/block from storefront.

Remove component from Checkout Page

<VendorName>/<ModuleName>/view/frontend/layout/checkout_index_index.xml

Remove block from Cart Page

<VendorName>/<ModuleName>/view/frontend/layout/checkout_cart_index.xml

Remove Gift Card link from My Account sidebar

<VendorName>/<ModuleName>/view/frontend/layout/customer_account.xml

Cheers! Happy Coding.