2
votes
How to auto subscribe customer in registration process?
In Magento customer account create post page the code looks like below:
if ($this->getRequest()->getParam('is_subscribed', false)) {
$this->subscriberFactory->create()->...
2
votes
Accepted
how do I get subscriber information, base on the subscriber ID?
check below code
Create Block
File:-app/code/[VendorName]/[ModuleName]/Block/SubscribeMagento.php
<?php
/**
* @copyright DeviMage
*
* @see PROJECT_LICENSE.txt
*/
namespace VendorName\...
2
votes
Newsletter Subscriber Block on CMS Page not working
You are using the wrong block, please change as follows:
{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}
2
votes
Accepted
Magento 2 + How to add first name and country field in newsletter subscription form?
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 ...
1
vote
add firstname and lastname in newsletter grid in magento 2.3.x
I can give you the answer to your 1st question which is:: 'first_name and last_name in newsletter form in frontend.' this, as I am the new learner so there will be some mistakes in naming conventions ...
1
vote
Accepted
Easy way to disable newsletter subscription Email from going out in Magento 1.9?
The file you want to override is Mage_Newsletter_Model_Subscriber.
Copy app\code\core\Mage\Newsletter\Model\Subscriber.php to app\code\local\Mage\Newsletter\Model\Subscriber.php
and change following ...
1
vote
Accepted
How to get subscribers collection in Magento 2.3
Try this,
<?php
namespace vendor\module\file;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
class Export extends Action
{
...
1
vote
LocalizedException: "An item needs to be selected. Select and try again."
Reading your file, the send function does start by initiating inline translation and then at the end of the function terminate the inline translation.
I assume you’re doing this to enable your email ...
1
vote
Accepted
How to show custom action in Newsletter Subscribers
your custom layout newsletter_subscriber_block.xml should look like below:
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:...
1
vote
Accepted
Newsletter Subscriber Block on CMS Page not working
you can call below way..
and you have to enable the block in CMS -> Permissions (or add it, if it's not there).
The block name is of course: newsletter/subscribe
{{block type="newsletter/subscribe"...
1
vote
Magento 2 : mailchimp integration error
This is not an issue in the extension.
Akamai is the firewall that mailchimp uses, so is Akamai who is blocking your requests
Take a look at https://community.akamai.com/customers/s/article/Why-is-...
1
vote
Accepted
How to replace system message text?
Using translation files you can substitute what is output from __($text) functions. Reference.
You could also use an interceptor to overwrite what is returned from this specific function if it did ...
1
vote
Accepted
Magento2 disable newsletter success mail
Since you are using dependency injection that is di.xml
You need to compile you di
Try running the below command
php bin/magento setup:di:compile
1
vote
Accepted
M2 - Translate newsletter status message
The initial code is being set in
vendor/magento/module-newsletter/Controller/Subscriber/NewAction.php
In your theme if you have added the translate to i18n/nl_NL.csv and you have run
bin/magento ...
1
vote
Email Issue in Magento 2
You need to install SMTP extension to send emails in local environment
https://www.mageplaza.com/magento-2-smtp/
And You can see the details for the configuration here
1
vote
Email Issue in Magento 2
Newsletters are for easily inform customers about new products,
specials, promos, etc.
Please read here Newsletter Functionality
Also check How to configure Configuring Newsletters
Hope it Helps.
1
vote
No subscribers for newsletter on multiple stores
Please check in admin newsletter configuration for the guest user is set YES. This allows for all users from front site to subscribe
Stores >> Customers >> Newsletter
Subscription option &...
1
vote
how to find out where customer subscribed to newsletter from?
Within standard Magento 2 OOTB there is not really an option like that, if you will run: DESCRIBE newsletter_subscriber
It gives this, the standard table:
subscriber_id
store_id
change_status_at
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
newsletter-subscriber × 58magento2 × 30
newsletter × 25
magento2.3 × 12
module × 4
event-observer × 4
customer × 4
email × 4
magento-1.9 × 3
newsletter-block × 3
collection × 2
email-templates × 2
coupon-codes × 2
mailchimp × 2
magento-2.1 × 1
product × 1
php × 1
checkout × 1
magento2.2 × 1
error × 1
onepage-checkout × 1
uicomponent × 1
import × 1
configuration × 1
cron × 1