Skip to main content

Add additional information in mail paypal

More
12 years 4 months ago #158071 by Sem03
Hi,
i want to add text in email sended when i use paypal.
if i configure bank payment method i have possibility to write additional information and i find this text informations in email received by the customers.

i want to add this text (in the code or in the db) when user select paypal method but i can't see where in the code or in the db.

thank you

p.s.: i've hikashop essential

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #158080 by Mohamed Thelji
Hi,
To do that the solution will be to directly edit the code of your emails via "Hikashop->System->Emails" if you have the business version, or via the files of that directory : "media\com_hikashop\mail"

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158619 by Sem03
Yes, but where is the point in the code where i can put my code like "if payment method is paypal echo mytext" ?

thank you for reply and support

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158628 by Mohamed Thelji
Using this kind of code through the "HTML version" tab of your email configuration page via "Hikashop->System->Emails" will probably do the job :
Code:
<?php if($data->order_payment_method=="banktransfer"){ echo "mytext"; } ?>
You'll just have to replace the banktransfer text by your payment method name.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158726 by Sem03
yes, but for now i've hikashop essential version (my customer want to buy other version after complete tests).
i don't understand what file modify to put my code.
the folder is "media\com_hikashop\mail" but the file?

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #158779 by Mohamed Thelji
You'll be able to do that by adding your code through the ".html.php" file of your email via "\media\com_hikashop\mail".

Note that if you directly edit the file, you'll loose your changes after all Hikashop update, so don't forget do save them.

Please Log in or Create an account to join the conversation.

Time to create page: 0.208 seconds
Powered by Kunena Forum