|
Forum > Support
Add in product description to Purchase Notification for Store Admins email
(1/2) > >>
KKOG:
Hello,
I am trying to add the product name to the Purchase Notification for Store Admins email.
I have added the variable %productname in various combination without success.
Is there a change needed in storeipn2.php to achieve this?
Thanks KKOG Forum Admin
SMFHacks:
Yes a change will be needed that tag will not work.. You can try to get main product name that is passed the issue is if you use the shopping cart there can be multiple items and that would require checking the shopping cart basket that was used to get the list.
KKOG:
Thanks for the response.
Can you suggest the code change needed?
Thanks KKOG Forum Admin
SMFHacks:
You want to modify Storeipn2.php Around line 925 Find
--- Code: ---$message = str_replace("%storetransactionlist", $scripturl . '?action=admin;area=store;sa=trans' ,$message);
--- End code --- Add after
--- Code: ---$message = str_replace('%productname',$row['productname'],$message);
--- End code ---
KKOG:
Once again thank you for responses.
I have been able to make the code changes and have achieved the outcome I sought.
This mod is very flexible and I would recommend it to anyone who wishes to add store functionality to their forum.
KKOG Forum admin
Navigation
[0] Message Index
[#] Next page |
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
|
|
|