Post by mannielaps » Thu Oct 24, 2024 10:16 pm

Hoping for some help here.
I am running Opencart 3.0.3.9 and I have the Newsletter module installed.
When I try and send a newsletter in the Admin via Marketing>Mail and select To "All Newsletter Subscribers" the email gets sent to All Customers.
What am I doing wrong?
Thanks in advance
Mannie

Newbie

Posts

Joined
Fri Oct 26, 2018 6:30 pm

Post by OSWorX » Thu Oct 24, 2024 11:47 pm

mannielaps wrote:
Thu Oct 24, 2024 10:16 pm
I am running Opencart 3.0.3.9 and I have the Newsletter module installed.
Which extension?
The default installation has already a working newsletter module.

p.s.: better to use 3.0.4.0 (php 8.x compatible): https://github.com/opencart/opencart/re ... ag/3.0.4.0
pps.: better watch in which subforum you post your message(s), moved that to the correct forum!

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator
Online

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by mannielaps » Fri Oct 25, 2024 12:19 am

Cheers OsWorx,
I'm heart afraid to upgrade the OC as it's taken an age to get the site working with the current version.
I'm using the standard Newsletter Module that comes with OC, cant figure out why it's not sending to the correct list of emails.
Is there anything in the config files I can check?
Thanks again

Newbie

Posts

Joined
Fri Oct 26, 2018 6:30 pm

Post by ADD Creative » Fri Oct 25, 2024 12:35 am

What theme and extension are you using? Maybe these are changing the newsletter function. There is no module for the newsletter in OpenCart it's just built in.

The filter_newsletter is set in the code.
https://github.com/opencart/opencart/bl ... ct.php#L90

And used in the database query.
https://github.com/opencart/opencart/bl ... #L100-L102

Also check you database customer doesn't have the newsletter column set for all customers.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by mannielaps » Fri Oct 25, 2024 11:05 pm

Hi, thanks for getting back to me.
The site uses a theme called oc01 Theme.
You said "Also check you database customer doesn't have the newsletter column set for all customers." How do I do this? Do I need to look at the actual Database, if so, which table?
Thanks in advance.

Newbie

Posts

Joined
Fri Oct 26, 2018 6:30 pm

Post by ADD Creative » Sat Oct 26, 2024 2:26 am

Most hosting has something like phpMyAdmin which you can use to browse you database. Table you need to look at in the oc_customer table and the newsletter column.

I suspect that theme comes with a newsletter module, so may modify the default newsletter function. You may need to contact the theme developer.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by mannielaps » Sat Oct 26, 2024 6:58 pm

No problem,
That's given me something to work off. Many thanks for your help
Best regards,
Mannie

Newbie

Posts

Joined
Fri Oct 26, 2018 6:30 pm
Who is online

Users browsing this forum: No registered users and 8 guests