Finding the files related to confirmation email in checkout, opencart - php

I'm using opencart version 2.1.0.1
I want to find the files related to confirmation email in opencart.
I don't know if the core files were changed but the confirmation email for orders, suddenly stopped working. Both the store owner and the customer don't receive them.
Can anyone give me the names of the files related to confirmation email, so that I can replace them with the original ones ?

You can find the file at below location:
your_project\catalog\model\checkout\order.php
The email code is at the last of the confirm function.

Related

How to disable confirmation mail when a user changes his e-mail in Wordpress with Buddypress

I have a website with Wordpress and Buddypress installed in it. The Wordpress version is 5.2.1. and the Buddypress pluggin is updated.
I'm using Buddypress as an Intranet (not as a social network), so I have loaded all the users through a .csv file and the user e-mail is not the real one (for example, if the username is pperezlopez, the e-mail is pperezlopez#testemail.com).
All the users have to change their e-mails, but when they try to do it, it appears the message "There is a pending change in the e-mail addres to xxxxxx. Check your e-mail () to get the verification link or cancel the pending change" (something like that).
Here you have a screenshot: https://prnt.sc/o0veqp
I have tried this code into functions.php file, but it doesn't work.
add_filter( 'wcfm_is_allow_email_verification', '__return_false' );
Obviously, they don't have access to that fake e-mails, so they can't change them.
Any idea, please? Thank you in advance!

Magento 2 is sending Emails in english if sent programmatically

I'm looking for hours now and I found some topics that are similar but none of them solved my issue.
I'm writing a Magento 2.3 Extension to import customers from a different Database. Everything works fine except for the email language.
I would expect Magento to use automatically the correct language (store config) when i'm sending the "New Account Email"
Here is the method I'm using to send the Email
$customer->sendNewAccountEmail();
If I send the "Password Reset" Email by clicking on the corresponding Button in the customer settings, Magento sends the Email in the correct language.
I tried different config settings and different ways of set the locale inside my import method. Obviously nothing worked.
For me the following worked:
$customer->sendNewAccountEmail('registered', '', $storeID);

The same newsletter mail randomly sent to the registered customers

My website built in bespoke n-retail coding based on PHP. Currently, I am having an issue whereby the same newsletter message randomly sent to my registered customers.
Where in the file manager I need to check to find the issue. It must be a bug somewhere.
There are 2 possibility
1. Newsletter is send from admin side
2. Cron job
You need to check both files so u get then bug, also provide more information so we can help you.

How can I create a Woocommerce site which 'sells' free items and only asks for name and e-mail on checkout?

I'm making a WordPress site for a client which will be on a subdomain of their main URL. They will give the URL to members of the press, who can browse (watermarked) images, add them to their cart, and checkout, giving only their e-mail address, name and who they write for. They then receive a zip with their files in.
I thought Woocommerce would be great for this, as it allows my client to add new images and remove older ones, and they will receive an e-mail every time someone has downloaded an image, which is part of the brief.
The only problem I can foresee with this is that the user will have to input payment details on checkout, which my client won't accept.
Can anyone think of a good solution for this please? Very much appreciated.

bulk invite in Magento

How would I go about creating a bulk invite feature in Magento?
The steps would be:
An admin fills in a form with a comma separated list of emails.
Email recipient gets an email containing a link to the client registration page of Magento. In Magento this would be the page "/customer/account/create/".
Is there a free module that lets me do this? If not, how can I get started in adding a page in the admin screen which would allow me to send emails?
Thanks.
I ended up creating my own module which sends email during a form post. I got my ideas here:
Send email via Magento

Categories