- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2019
03:15 AM
08-02-2019
03:15 AM
Как переопределить module-newsletter в magento 2?
Как переопределить форму subscribe.phtml, которая находится в vendor / magento / module-newsletter, чтобы добавить мои входные данные и сохранить их в моей таблице базы данных? Пробовал пару вариантов с интернета не работает
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2019
05:30 AM
08-02-2019
05:30 AM
Re: Как переопределить module-newsletter в magento 2?
Hello @pavel_ivatsko,
Copy the file subscribe.phtml file from
[Root]/vendor/magento/module-newsletter/view/frontend/templates
to
[Root]/app/design/frontend/[Package]/[Theme]/Magento_Newsletter/templates
Then run the commands.
Hope it works!
Accept as solution and kudos if it works for you!