+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 339
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 328
Total: 328

Forum > Support

Purchase Notification Email to Store Admins

(1/5) > >>

Michael Vail:
Greetings,

I have the SMF Store loaded on my website and have been using it for quite a while. I just updated to the latest beta today! One of my Admins is the storekeeper and I am too.

Currently, when someone makes a store purchase, the storekeeper and I get a copy of the confirmation email sent to the purchaser. This email includes a link to the user's "My Transactions", which not usable to storekeepers. I'd like to add a separate notification that is specifically for the Storekeepers to assist them in quickly getting to the master Transaction list of the store.  I'm almost certain this existed before but I think it may have been removed during one of the recent SMF Store updates.

Is there a way I can add an email confirmation message to the system that sends the following to the storekeepers:

From:
Sent: Thursday, November 10, 2016 2:14 AM
To: smf store keeper's email
Subject: SMF Store Item Purchased
 
Dear yourwebsite SMF Storekeeper,

A purchase has just been made from your SMF Store.

You can view the order information for this purchase at:

http://your_smfstore_thisorder

You can view your store's transaction history here:

http://your_smfstore_transactions

Have a great day!
Your smf store


In the meantime I'm having the storekeeper login to the forum and use the "Transactions" link under the Store Admin, but this is cumbersome.

Thanks for a great product and if I missed something, let me know.

Mike Vail
Santa Rosa California

SMFHacks:
Yes it would require edits to your storeipn2.php file in the root directory of the folder.
And alter the message in the sendmail command below. This is the area of code that you should edit.

--- Code: --- // Check if the store owner wants a copy of their email
if ($modSettings['store_set_copy_sales_email'])
{
sendmail($notify_email,  $subject, $message, null, true);
}

--- End code ---

Michael Vail:
I don't suppose someone could post the exact code needed for this using the information in the last 2 messages? I simply don't have the PHP knowledge to do it and I think it would be helpful to others as well.

Thank you,
Mike Vail

SMFHacks:
I could do it for a fee.

Michael Vail:
I'd be glad to pay a reasonable price for this. I'd also like to contribute whatever work done do to a future release of SMF Store. I think it would benefit all users of the Store software. When you're ready to do the work and can give me an estimate on the cost, please PM me.

Thank you in advance,
Mike Vail

Navigation

[0] Message Index

[#] Next page

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal
Go to full version