People who code: we want your input. Take the Survey

Questions tagged [newsletter-subscriber]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

Magento2 Add $20 discount to users (both Login & Guest) who subscribe for Newsletter & a coupon code to apply this discount, validity of 4 weeks

Magento2 Enterprise Edition - I need to provide $20 discount to users (both Login & Guest) who subscribe for Newsletter A coupon code to apply this discount & the validity of 4 weeks ...
0
votes
0answers
23 views

newsletter subscription field not showing in Magento 2

my newsletter subscription field is not showing on the main page but it is showing in on the other pages. the top screen shot is of the home page and the other one is from the products page. Please ...
0
votes
0answers
36 views

Magento 2 What is the flag key & value want to save for unsubscribe in M2?

Note: Would request you to please don't close this as a out of topic. We have small customisation that save the mail chimp group data + flag to the Magento 2 table "mailchimp_interest_group" ...
0
votes
1answer
37 views

I have no idea why my Subscriber Collection Factory is not working

I have no idea why my Subscriber Collection Factory is not working. Below is my code. Wish someone can help me to fix my problem. I believe something wrong with my setup of CollectionFactory use ...
0
votes
0answers
12 views

How to search for value then delete that line in csv file

I don't know if it should be here but, I'm using this $filepath = 'export/subscriberslist.csv'; $this->directory->create('export'); $stream = $this->directory->openFile($...
0
votes
1answer
27 views

How to get subscribers collection in Magento 2.3

I'm trying to get the collection of subscribers but can't find how to do it in Magento 2, the ones I found were about 1.9. Is there a way to get it just like the users? I've tried <?php namespace ...
1
vote
1answer
266 views

Magento 2 + How to add first name and country field in newsletter subscription form?

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 ...
1
vote
1answer
128 views

LocalizedException: “An item needs to be selected. Select and try again.”

I am trying to customize extension by adding it to newsletter subscribers, and when I select/check subscribers and send email, I get error as the title suggests. Error: 1 exception(s): Exception #0 (...
0
votes
1answer
31 views

How to show custom action in Newsletter Subscribers

I am trying to create custom action for newsletter subscribers, however I am unable to see the action as you can see in the image below: I have created a file named newsletter_subscriber_block.xml, ...
0
votes
0answers
49 views

How to get subscription and unsubscribe URL

I am trying to send Subscribe & unsubscribe URL to customer on new order or other alerts via email. I have tried below code, but it does not work. I am currently using Magento 2.3.5-p1 version, ...
1
vote
1answer
26 views

How to change new subscriber pop-up message?

How do I change this popup text after a customer puts in their email to subscribe to the newsletter? I have looked in the NewAction.php and its not there. I am using magento version 2.3.4 Thanks
2
votes
0answers
76 views

How to unsubscribe customers on mass / bulk in Magento 2.3

We have migrated from M1 to M2, and it appears on M1 we had customers "subscribed" in Magento admin but had subsequently unsubscribed in our email platform. Unfortunately, this had not ...
0
votes
1answer
157 views

Magento 2.3 unable to subscribe to newsletter

I'm using Ubuntu 18.04 using php 7.3.15 and my Magneto 2 version is 2.3.3 Users that try to subscribe to our newsletter get the error: "Something went wrong while saving your subscription." ...
0
votes
1answer
423 views

Magento 2: Create a cart price rule with conditions programmatically (for coupons)

I want to generate a coupon, when a new user registrates on the website. For that, I use this module, which works very well: https://github.com/php-cuong/magento2-newsletter-coupon-code In this module ...
1
vote
1answer
23 views

How to get Customer collection that has subscribed to newsletter in Magento 2

I want to retrieve the customer collection that has subscribed to the newsletter, i see this solution but this one is for Magento 1.9 , how can i achieve this in Magento 2?
0
votes
0answers
284 views

Magento 2.3.3 newsletter subscription not working

I am having issues with the newsletter subscription in magento 2.3.3-p1 (never set it up in any other version). I have created the transaction email templates and selected them in Configuration > ...
0
votes
0answers
23 views

how to track down my custom module issue?it throw out error

how do I track where the problem of my custom module. I got below error. Fatal error: Uncaught Error: Call to undefined method ABC\NewsletterCrm\Controller\Subscriber\Confirm\Interceptor::...
0
votes
1answer
59 views

how do I get subscriber information, base on the subscriber ID?

how do I get subscriber information, base on the subscriber ID? I would like to grab their email address, name ...etc by the subscriber ID. or even their customer ID Thanks
0
votes
1answer
13 views

add an event after people click confirmation link email

I want to add an event when people click the confirmation email link to confirm the as a newsletter subscriber. where I should add this event inside the magento? Thanks
0
votes
1answer
192 views

magento 2 how to use mailchimp programatically only for newsletter

We need to use 2 email service MailChimp for newsletter and other for SendGrid SendGrid is working fine but needs to manage how we can use MailChimp only for newsletter? Which thing needs to ...
0
votes
3answers
772 views

Newsletter successfully subscribed Message not displaying on homepage Magento2.3.0

I am facing an issue with the subscription message. when I subscribe for the newsletter from the homepage the page reloads but successfully subscribed message is not displayed on the homepage but when ...
0
votes
1answer
597 views

How to get coupon code in newsletter subscription Email Template in Magento 2?

get coupon code in the newsletter email template.
1
vote
0answers
20 views

magento 2 Newsletter subscription Success or Failure message not getting displayed

Hi Here I called magento newsletter subscription block in to my phtml file. but after hitting submit its redirected to same page but no any messages are showing. how to add success or failure message. ...
0
votes
1answer
355 views

Magento 2 : mailchimp integration error

I am using magento version 2.3.2 I have installed extension : Ebizmart mailchimp extension and I have api key for that, when i put api key in text box and that giving me alert box also giving same ...
1
vote
1answer
34 views

How to replace system message text?

I want to replace the text of "The confirmation request has been sent", what is the best way to do it? create an module and overwrite this controller? If yes, what is the correct path I should app/...
0
votes
3answers
70 views

Magento2 disable newsletter success mail

I did google how to do it, I found one solution online https://www.metagento.com/blog/magento-2-disable-newsletter-subscription-success-email https://github.com/metagento/magento-2-disable-newsletter-...
1
vote
2answers
159 views

Magento 2 echo newsletter subscriber's email in frontend after subscription

How can we display a newsletter subscriber's email address in the frontend after they subscribe for a newsletter. Currently, Magento 2 displays a message "Thank you for your subscription". We need ...
0
votes
0answers
72 views

Magento 2 Custom Module - Load Subscriber Email in PHTML file after newsletter subscription

I am working on a custom module where we need to load the email address of a newsletter subscriber in a phtml file after they subscribe. Our Observer file is triggered on a subscription event and ...
1
vote
1answer
371 views

Magento 2 : save additional attributes in newsletter

I have a promotional popup on home page, asking to subscribe a newsletter. Also I want to save gender and Interested Categories of that User. How I can save these additional Information to '...
1
vote
0answers
187 views

Magento 2.3.x - Subscribe to newsletter checkbox at onepage checkpout page - error during subscription

My requirement was to add a "subscribe to newsletter" checkbox at onepage checkout page (below "terms and condition" checkbox). All the things are fine except 2 issues: The user MUST NOT be ...
0
votes
1answer
264 views

Get newsletter subscribed on customer save

I am trying to get the value of 'if newsletter subscribed' on customer save. I am using the event: customer_save_after_data_object for customer update and tried to get the subscription value by this ...
0
votes
1answer
301 views

Magento 2.3.3 - import newsletter subscribers from CSV

Running a multi website and store setup. Example Website - Japan Store - JP Store View - JP I'm trying to import newsletter subscribers from a CSV. I'm using the following code in a file called ...
0
votes
1answer
92 views

Validate form data after submission in Magento 2.3 on Newsletters

I'm writing a module which registers a subscriber to our internal newsletter system, by using the stock Newsletter block in Magento. I'm creating an observer on the ...
0
votes
0answers
62 views

Magento 2: How to send newsletter on defined time?

I create one newsletter template and try to send customer , i also run the cron but customer not get newsletter, please help me how can i do that? In screenshot you can see status is Not sent., ...
1
vote
1answer
545 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.
0
votes
2answers
67 views

Magento 2: News letter Subscription for the products

How to send the email to Newsletter subscription users for every product updates, Discounts and offer details. Is it possible?
0
votes
1answer
53 views

M2 - Translate newsletter status message

I need to translate this message: {"status":"OK","msg":"Thank you for your subscription."} I've done a search in all the files but I cannot find this string to translate... I have a Ajax ...
0
votes
1answer
27 views

How to show newsletter form in account create page?

We have removed the default newsletter form and created a custom form for newsletter. I can see that it only display in the home page. How can I show it on account create page?
0
votes
2answers
34 views

Email Issue in Magento 2

Email is not received after subscribe but I got a success message in the home page. How to fix it?
0
votes
1answer
678 views

Newsletter subscribe/unsubscribe email notification event observer

I am writing my own admin email notifications module. So far it has New Order and Low Stock observers set up and working just fine. I want to add the Newsletter subscribe/unsubscribe observer to it ...
2
votes
1answer
41 views

No subscribers for newsletter on multiple stores

We have 3 stores on one domain. When I try to add a new subcriber, with a non customer mail, the subscriber is NOT added to the newsletter list. I can go to the customer section and a a existing ...
1
vote
1answer
32 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 ...
0
votes
1answer
26 views

Newsletter Magento 1

I am trying to send the newsletter to the subscribers in Magento 1 but the newsletter is not sent I applied all the process for sending a newsletter but it doesn't send.
1
vote
1answer
354 views

After Newsletter Subscription,Confirmation Message Should be display on top instead of bottom on Home Page

How to move Success, Error messages position on top for home page only (others are already on top)? I want to display Newsletter Subscription Message on top instead of bottom for home page only.rest ...
0
votes
1answer
685 views

Checking if user is newsletter subscriber or not

I want to check that the user is newsletter subscriber or not in email footer template in admin panel. I am unable to find a variable which can check like this: {{ if($userIsSubscriber) { //Code//}}} ...
1
vote
0answers
205 views

Newsletter successful text after submit

I enable newsletter popup form. After submit newsletter form, I like to show some text like Thank you for your subscription. with in same popup box
0
votes
0answers
179 views

How can I validate my custom checkbox on LayoutProcessor.php

I injected this code in LayoutPorcessor of checkout module : if (isset($jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children'] ['...
0
votes
2answers
89 views

Magento2 : Multiple entries are creating in newsletter_subscriber table if i subscribe from different stores

I have 3 stores, If i subscribe from English store one entry will create with status as 1 in db.then I changed the store from English to French and subscribe to the newsletter, instead of update the ...
1
vote
2answers
92 views

Newsletter Subscriber Block on CMS Page not working

The CMS Page, content is : {{block type="core/template" template="newsletter/subscribe.phtml"}} Its show the newsletter subscribe box, if add the email will not add to the database.
1
vote
0answers
386 views

Foreign key constraint fails

I update schema newsletter_subscriber, certain I added firstname column which is a foreign key to customer_entity firstname, and when I post data the object with value is sent and in Magento insert ...