Magento 2 + How to add first name and country field in newsletter subscription form?
-
14-04-2021 - |
Question
I have Magento 2.3.4 I want to show the "first name" and "country" field in the newsletter subscription form. Also, it would be for guests and customers as well. Both fields should be shown in the admin grid and that will be sent in emails as well.
How can I achieve this functionality?
Solution
You can take help from here.
Magento 2.2 - adding name field to newsletter module
In this solution they are adding FirstName and LastName to newsletter form, you should replace them with "First Name" and "country" fields at every occurrence.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange