- Posts: 2
- Thank you received: 0
Configuration of Emails Free version
Im using 2 payment methods: bank transfer and paypal payment plugin. When the email for received order is sent to clients i did an override including the bank details but now the client who pays with paypal gets that email too.
If i go to database and deactivate the order email then my paypal clients get only the confirmation email after they do payment (which is perfect, i would prefer for them not to get the received order email) but now my bank clients dont get any email at all.
Is there anyway I can manually disable the received order email to paypal clients only? Or any way i can program an email to be sent to bank clients with the bank details?
Hope you can help me with this. Thanks
Please Log in or Create an account to join the conversation.
There is no option for that. You would have to edit the order creation notification email via the menu System->Emails and add a check to remove the email address of the user based on the payment method. Something like that:
<?php if($data->order_payement_method=='paypal') $data->customer->user_email = ''; ?>
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 18
- Thank you received: 0
Thanks!
Please Log in or Create an account to join the conversation.
What is the file to modify this.
Thank you.
Please Log in or Create an account to join the conversation.
If you want to add some text, you can simply change the existing translations of the emails as explained here:
www.hikashop.com/en/download/languages.html#modify
If you want to add your logo to the email, you will have to edit the order creation/status notification email via the menu System->Emails (business edition) and add the HTML for your logo there. Without the Business edition, you can edit the files in media/com_hikashop/mail but you will loose your modifications when you update, unlike with the edition via the interface.
@juandress:
What fields ? What email ? I don't understand your question. Please give more information so that we can help you.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
You can add them to the email by adding the corresponding tags in the "address_template" files via the menu Display->Views of HikaShop.
Please Log in or Create an account to join the conversation.
<?php
/**
* @package HikaShop for Joomla!
* @version 1.6.0
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
{address_company}
{address_title} {address_firstname} {address_lastname}
{address_street}
{address_post_code} {address_city} {address_state}{address_country}
{matricula}{estudios}{actividad}
<?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?>
Dirección de facturación
Sr Agustin Font
Alem 455
3100 Parana Entre Ríos
Argentina
Teléfono: 324324324
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Thank you!
Please Log in or Create an account to join the conversation.
Would appreciate a response to this .
Thank you
Please Log in or Create an account to join the conversation.
It's normal that it doesn't display even if you add the tag.
You will have to edit the email via the menu System>Emails (Business edition) and add the code:
<?php echo 'user id: '.$data->order_user_id; ?>
Please Log in or Create an account to join the conversation.