How to subscribe Email To Newsletter mutation GraphQl Magento?

Magento Subscribe Email to Newsletter by GraphQl mutation used to dynamic subscribe email id to store newsletter.

You can create a mutation like the given, Continue reading “How to subscribe Email To Newsletter mutation GraphQl Magento?”

How to remove admin newsletter tabs from the Customer edit Page Magento 2?

Remove Newsletter tabs from the Customer Edit page admin panel in Magento 2 using a layout XML file.

You can delete the newsletter tabs from the Admin panel Customer Edit page left sidebar section. The Tab displays the Subscribed information with the checkbox.

If Project doesn’t need to use newsletter functionality or admin can’t able to manage customer newsletter, You need to remove tabs from the admin panel. Continue reading “How to remove admin newsletter tabs from the Customer edit Page Magento 2?”

How to Check Customer is Subscribed to Newsletter by id or email Magento 2?

You can verify the customer is subscribed or not by the customer email id or Customer Id from the Newsletter Module.

Use Factory,
Magento\Newsletter\Model\SubscriberFactory

With isSubscribed() method you can check the Specific Customer is Subscriber to the newsletter. Continue reading “How to Check Customer is Subscribed to Newsletter by id or email Magento 2?”