The wishlist name can't be left blank

Verwijderen van tab’s in Mijn Account

Verwijderen van tab’s in Mijn Account

Ik wil Magento 2 een aantal tab bladen verwijderen op de pagina Account bij de ingelogde gebruiker. Vaak worden een aantal van deze opties niet gebruikt in de webshop en kan het verwarrend zijn om deze te tonen.

Voeg de onderstaande code toe in:

app/design/frontend/vendorname/themename/Magento_Theme/layout/default.xml

<pre>[xml]  

<!-- Address link -->
<referenceBlock name="customer-account-navigation-address-link"remove="true"/>

<!-- Downloadable product link -->
<referenceBlock name="customer-account-navigation-downloadable-products-link" remove="true"/>

<!-- Subscription link -->
<referenceBlock name="customer-account-navigation-newsletter-subscriptions-link" remove="true"/>

<!-- Billing agreement link -->
<referenceBlock name="customer-account-navigation-billing-agreements-link" remove="true"/>

<!-- Product review link -->
<referenceBlock name="customer-account-navigation-product-reviews-link" remove="true"/>

<!-- My credit card link -->
<referenceBlock name="customer-account-navigation-my-credit-cards-link" remove="true"/>

<!-- Account link -->
<referenceBlock name="customer-account-navigation-account-link" remove="true"/>

<!-- Account edit link -->
<referenceBlock name="customer-account-navigation-account-edit-link" remove="true"/>


<!-- Orders link -->
<referenceBlock name="customer-account-navigation-orders-link" remove="true"/>

<!-- Wish list link -->
<referenceBlock name="customer-account-navigation-wish-list-link" remove="true"/>

[/xml]
</pre>
This is a Magento 2.3.0 development webshop set-up by Lots of Pixels