Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 221
Total: 221

Author Topic: Purchase Notification Email to Store Admins  (Read 8960 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Purchase Notification Email to Store Admins
« on: November 13, 2016, 04:03:18 pm »
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
« Last Edit: March 23, 2018, 03:53:47 pm by scso1502 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #1 on: November 13, 2016, 07:19:31 pm »
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: [Select]
// 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);
}
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #2 on: August 18, 2017, 05:22:42 pm »
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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #3 on: August 22, 2017, 12:21:44 pm »
I could do it for a fee.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #4 on: September 04, 2017, 12:57:07 am »
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


Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #5 on: September 04, 2017, 09:35:34 am »
Just want to make sure this is the exact wording and information you want to appear in the message
Quote
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


And is email going to the store's contact email or to anyone in the smf store's admin group?

Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #6 on: September 05, 2017, 01:03:50 pm »
Hi there,

Thank you for the quick reply.

You probably already know this but I just want to be clear so I don't waste your time.

Quote
Dear yourwebsite SMF Storekeeper,

yourwebsite should be the "Custom Store Name" in the Store configuration area

Quote
You can view the order information for this purchase at:

http://your_smfstore_thisorder

http://your_smfstore_thisorder should be a link to the "Order Details" of specific purchase that was made by a user

Quote
You can view your store's transaction history here:

http://your_smfstore_transactions

http://your_smfstore_transactions should be a link that takes you to the same place the "Transactions" link in the store configuration screen takes you.

Quote
Have a great day!
Your SMF store

Your SMF store should once again be the the "Custom Store Name" in the store configuration screen.

Lastly, the purchase notices should be sent via email to the email address(es) in the "Contact Email" list on the configuration screen.

On a side note, the absolute ideal situation would be to use the above as a default template and add a "Storekeeper Purchase Notice" to the list of custom emails. You could then change the "Purchase email" to "Customer Purchase Notice". This would give total flexibility to the store admins as to what they want their email templates to look like.

I hope this makes since, please let me know if you have any questions. I'll await your price estimate for the work.

Many thanks for taking this on. I think it would be a great addition to your product.

Warm Regards,
Mike Vail
Santa Rosa, CA. USA

« Last Edit: March 23, 2018, 03:55:55 pm by scso1502 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #7 on: September 06, 2017, 01:45:17 pm »
I can do the custom email for $10 if you want the template part too add an extra $10 for a total of $20
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #8 on: September 07, 2017, 10:08:21 am »
Thank you works perfect! Please let me know where to PayPal you the funds and I'll do it right away.

Thank you!
« Last Edit: March 23, 2018, 03:56:08 pm by scso1502 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #9 on: September 07, 2017, 10:59:02 am »
Paypal is sales@visualbasiczone.com
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #10 on: September 07, 2017, 11:08:06 am »
Money sent sir. Thank you for this!

Mike Vail

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #11 on: September 07, 2017, 11:10:27 am »
Got it should have it finished up over the weekend.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #12 on: September 07, 2017, 11:58:27 am »
I appreciate it. Thank you. Have a great week.



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Purchase Notification Email to Store Admins
« Reply #13 on: September 11, 2017, 09:18:48 pm »
Sorry I ran out of time over the weekend will see what I can do.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Michael Vail

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • Sonoma County DSA
Re: Purchase Notification Email to Store Admins
« Reply #14 on: September 11, 2017, 10:07:08 pm »
No problem, I truly know what it's like to be busy. Thanks for checking in. Have a good week.

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
4136 Views
Last post July 15, 2015, 11:17:01 am
by pasqualino77
7 Replies
3359 Views
Last post October 22, 2017, 11:10:04 pm
by KKOG
5 Replies
3477 Views
Last post November 15, 2017, 05:29:15 pm
by SMFHacks
7 Replies
1682 Views
Last post May 20, 2022, 08:58:15 pm
by Michael Vail
34 Replies
4004 Views
Last post January 22, 2023, 10:50:23 pm
by Michael Vail

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal