Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12000
Latest: Suz
New This Month: 12
New This Week: 0
New Today: 0
Stats
Total Posts: 38203
Total Topics: 6732
Most Online Today: 105
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 40
Total: 40

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

0 Members and 1 Guest are viewing this topic.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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 some 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 me us as storekeepers. I'd like to add a seperate 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: November 13, 2016, 04:11:06 pm by scso1502 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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 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: September 05, 2017, 01:08:40 pm by scso1502 »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

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

Thank you!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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: 14159
    • 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! Also contests/promotions for verified sites.

Offline scso1502

  • SMF Store Customer
  • Newbie
  • *****
  • Posts: 9
    • 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
4 Replies
5401 Views
Last post October 15, 2006, 07:57:53 pm
by rjmiz
3 Replies
3183 Views
Last post June 14, 2008, 07:36:13 am
by SMFHacks
3 Replies
1737 Views
Last post October 26, 2013, 10:58:04 am
by marcbkk
5 Replies
1798 Views
Last post July 15, 2015, 11:17:01 am
by pasqualino77
18 Replies
2125 Views
Last post February 16, 2017, 12:46:02 pm
by SMFHacks

+- Recent Topics

403 error by SMFHacks
September 23, 2017, 12:21:30 am

Purchase Notification Email to Store Admins by scso1502
September 19, 2017, 06:00:12 pm

Can't save ad code and errors in log. by SMFHacks
September 15, 2017, 12:40:15 pm

After migrating from http to https I started getting these errors by ApplianceJunk
September 14, 2017, 10:58:38 pm

SMF Gallery and https green padlock? by ApplianceJunk
September 14, 2017, 10:02:46 pm

AudioVideoEmbedder: attached files by SMFHacks
September 14, 2017, 10:58:51 am

Contact Page Version 4.0 by Binkie
September 10, 2017, 11:26:19 am

Can Generated Threads Display The Thumbnail Instead Of The Full Size Image? by Sockratease
September 09, 2017, 06:40:12 pm

Double purchase membergroup fix by SMFHacks
September 09, 2017, 12:30:06 pm

How do I prevent "moved" topic notifications on bulk movement of topics? by shuban
September 09, 2017, 11:25:25 am

Powered by EzPortal