All Questions
Tagged with newsletter customer
23 questions
14
votes
4
answers
21k
views
How to check if customer is already subscribed to newsletter
I need to check if the customer is subscribed to news letter or not. Currently I am using this code and it is returning nothing:
if (Mage::getSingleton('customer/session')->isLoggedIn()) {
$...
10
votes
1
answer
11k
views
Magento 2 Check If Customer is Subscribed to Newsletter
I am developing this custom xml export/import. In magento 2 how can I check if a customer is subscribed to newsletter? Right now I am loading the customer factory.
\Magento\Framework\App\...
3
votes
3
answers
1k
views
Getting customer collection with only those that are subscribed to newsletters
I need to import a load of customers to a third party email company but need to only import those that are currently subscribed to newsletters. The import itself has to be a file of customer details ...
3
votes
2
answers
7k
views
Where is the newsletter 'general subscription' field stored in the database
I'm working on a customer database export, but can't find where the 'general subscription' newsletter subscription field is stored in the database. I imagine it is some EAV value, but in what table ...
3
votes
1
answer
2k
views
Newsletter subscription at the checkout review
Expected functionality: user checks the "Subscribe" checkbox in the OnePage Checkout's review step and is subscribed to the newsletter.
So far I have managed to target the right event (after ...
2
votes
2
answers
4k
views
How to set customer subscribed to newsletter by customer id
I have an existing customer id, i want to set the customer subscribed to the newsletter using this customer id, is there a way to do this?
2
votes
3
answers
7k
views
How to get newsletter subscribers
I'm trying to get newsletter subscribers using the code:
$subscribers = Mage::getModel('newsletter/subscriber')->getCollection();
but it is empty.
Where I'm wrong? thanks
2
votes
0
answers
163
views
Magento 2 - new inscription newsletter error (no such entity with customerId = 0)
I always have this error when I try to register to newsletter in Magento 2. The error is:
No such entity with customerId = 0
If I try to add it directly from database, it works perfectly.
1
vote
1
answer
1k
views
How to auto subscribe customer in registration process?
There is a code for checked newsletter subscription in Magento 2 registration page like below.
Even if I click on the checkbox and register the newsletter subscription is not working as shown below.
1
vote
1
answer
138
views
how to find out where customer subscribed to newsletter from?
Is there anyway to find out where the customer sign up to newsletter from.
i know the default way of subscribing is footer, but i am using the exact same way in different page also at checkout.
Is ...
1
vote
1
answer
141
views
Website received malicious customers : Magento 2
Website receiving the customers with emails, names, and addresses contains only strings of numerical values followed by the @qq.com/@843145.com domain.
We have received every day more than 10 ...
1
vote
1
answer
1k
views
Cannot subscribe email newsletter to second storeview: email already exists
we have several storeviews. And until recently I noticed that if 1 email is subscribed to storeview A (store) it cannot be added to storeview B (store).
We use this block on a page to add the ...
1
vote
0
answers
192
views
How to make checkbox Check/Uncheck onchange trigger event to subscribe/unsubscribe customer from newsletter magento 2 on customer/account?
Basically I have a checkbox on customer/account page adding via code below.
app\design\frontend\Company\porto_base_child\Magento_Customer\templates\account\dashboard\info.phtml
<div class="...
1
vote
1
answer
54
views
Magento 2 How can I restrict abc.com/newsletter/manage/?
In Magento 2 we have newsletter functionality and we can hide the link from the customer account and hide from customer account create a form as well. That all working fine.
I want to hide the page ...
1
vote
0
answers
711
views
Newsletter subscription problem during registration in magento2
I am getting both subscribe and unsubscribe email once i register the customer with selecting subscribe for newsletter with ticking the checkbox.
I am getting both emails one is subscription and ...
1
vote
1
answer
884
views
Magento global accounts set, but newsletter per storename or storeview - multi-store
Our situation in shorthand: Magento 1.9.x global accounts set, but newsletter per storename or storeview - in multi-store environment.
We have encountered some unexpected behavior. Suppose two ...
0
votes
2
answers
2k
views
How to send automatically a newsletter when a new product is added?
my client wants to send automatically a newsletter every time a new product is added. The newsletter should be segmented by categories and stores, so the user has to choose which would subscribe.
Is ...
0
votes
1
answer
76
views
How can i migrate Subscriber username and password from bigcommerce to magento
How can I migrate subscribers usernames and passwords from bigcommerce to magento?
0
votes
1
answer
520
views
my magento 1.9.1 not sending newsletter emails and order email to customers
my magento is not sending any order or newsletter email: exception log giving following errors:
2016-03-05T10:44:35+00:00 ERR (3):
exception 'Zend_Mail_Protocol_Exception' with message 'Incorrect ...
0
votes
1
answer
858
views
how to add column to manage customers grid and it should work as filter?
I want to add news letter subscribed or not as column.
but I dont have idea from which table i have to join.
can you any one help me on this?
class ...
0
votes
2
answers
3k
views
Is there a way to check whether a GUEST customer has subscribed to newsletter, in that particular session?
I have to hide the newsletter subscription form from customers who already subscribed.
For registered and loggedin customer i'm able to check the subscription status using the following method:
$...
0
votes
0
answers
137
views
How we can save the newsletter to true for customer on checkout page in Magento 2?
I have created a Js component in which i am showing a checkbox of Register for Newsletter.It is showing above shipping form that is correct.
What i want that when i will check this checkbox then it ...
0
votes
1
answer
488
views
How to add Account-dashboard menu to newsletter/manage/ page
I tried to add the Account dashboard menu on the left side in newsletter/manage/ page.
The phtml for this menu is /template/customer/account/navigation.phtml
Account dashboard menu it's added like ...