Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
DickS
DickS
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
SajMalik
DickS - yes that is something I have been meaning to ask for a long time - hopefully someone can tell us.
Chris
 
DickS
DickS
@Viart support: Any help in this matter is very much appreciated Smile
 
DickS
 
tw (Guest)
tw (Guest)
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
SajMalik
tw - no this is the {basket} variable that contains more than is available in the e-mail variables given.
 
eelrid (Guest)
eelrid (Guest)
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
msquared
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)
eelrid (Guest)
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)
Loyce (Guest)
I had the same problem.
I just modify 'order_final.php' and 'includes/order.php'.
 
Now it works !
 
Enjoy
 
DickS
DickS
Appreciate if you can share what you changed in the two files :)
 
SajMalik
SajMalik
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 Wink
 
TOCDCO
TOCDCO
it's definately a bitch!
 
DickS
DickS
Does 3.4.7 allow to edit basket? I've not found it anywhere in the settings. Any help appreciated.
 
SajMalik
SajMalik
Anjula, please ease the misery - in
http://www.viart.com/viart_shop_v_dot_3_4_released.html
you said:
 
# 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
DickS
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}.