Warning: session_start(): open(/var/lib/php5/sessions/sess_8cck1agvjojpf39lfp6secoar7, O_RDWR) failed: Permission denied (13) in /var/extra/public_html/includes/common.php on line 21
In the payment processors, final checkout section there is the option to send an email to admin. In the email there is the {basket} variable which is currently not formatted as I want to have it.
Any suggestions where I can change this?
Thanks!
DickS
SajMalik
23 Jan 2008 10:03 AM
DickS - yes that is something I have been meaning to ask for a long time - hopefully someone can tell us.
Chris
DickS
25 Jan 2008 10:18 AM
@Viart support: Any help in this matter is very much appreciated
DickS
tw (Guest)
25 Jan 2008 4:55 PM
Not sure this is what you're looking for... but I use individual variables to customize the e-mail, e.g.
Order Number: {order_id}
Customer: {name}
total items: {total_quantity}
Order total: {order_total}
etc.
TW
SajMalik
26 Jan 2008 9:21 AM
tw - no this is the {basket} variable that contains more than is available in the e-mail variables given.
eelrid (Guest)
30 Jan 2008 6:17 AM
Yes DickS and Chris, this is also for me very important.
I have been looking everywhere in the different files, but weren't able to locate where to change it directly in the code.
Please, Viart can you tell us in which file we have to make modifications to be able to present the details in {basket} as we wish.
msquared
7 Feb 2008 1:28 AM
Very good point.
I also would like this info as I have clients who constantly groan at the layout, also for passing to Pay Pal etc.
Msquared
eelrid (Guest)
7 Feb 2008 7:47 AM
I have asked at Viart and did get the next answer:
The {basket} is not a simple variable in that content, because it forms from all the variables related to the products, prices and VAT.
It is calculated while the 'order_final.php' page comes and then the email is sent, so you may edit this script to perform necessary changes.
I have had a quick look at it, but am not soo strong at php, so for the moment I didn't find out.
Maybe we can try to find out this together. If anyone has an idea where to start?
Loyce (Guest)
1 Apr 2008 2:28 PM
I had the same problem.
I just modify 'order_final.php' and 'includes/order.php'.
Now it works !
Enjoy
DickS
1 Apr 2008 2:42 PM
Appreciate if you can share what you changed in the two files :)
SajMalik
1 Apr 2008 9:20 PM
I am no longer going to modify files - they get overwritten on upgrade (unless you are very disciplined) and it is really a botch.
This release is supposed to allow edit to basket so that is what we need
TOCDCO
1 Apr 2008 9:28 PM
it's definately a bitch!
DickS
2 Apr 2008 7:44 AM
Does 3.4.7 allow to edit basket? I've not found it anywhere in the settings. Any help appreciated.
# Other new functionalities:
New templates email_basket.html and email_basket.txt for easy way of changing {basket} tag content
Please - how do we access this?
Chris
DickS
2 Apr 2008 11:57 AM
Aha, these two files are in /templates/user/ and should be copied over to any custom template folder you have created.
I suppose in the txt file you can define the content of {basket}.
Warning: Unknown: open(/var/lib/php5/sessions/sess_8cck1agvjojpf39lfp6secoar7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5/sessions) in Unknown on line 0