sendOrderToClient

panos

No avatar

2009-01-12 16:04

good day from Greece
i have a problem with this plugin
the in 2 days all email is work but now nothing copy page the code here can you tell me if have problem

actions_client.php

<?php
if( $p == 'ordersDelivery' && isset( $_SESSION['iOrderSession_'.LANGUAGE] ) && is_numeric$_SESSION['iOrderSession_'.LANGUAGE] ) ){
  
  if( !
function_exists'throwOrdersIdTemp' ) ){
    require_once 
DIR_CORE.'orders-'.$config['db_type'].'.php';
    require_once 
DIR_CORE.'orders.php';

    require_once 
DIR_CORE.'couriers-'.$config['db_type'].'.php';
    require_once 
DIR_CORE.'couriers.php';
  }

  if( isset( 
$_POST['sOption'] ) && $_POST['sOption'] == 'send' && checkOrderFields$_POST ) ){
    
$iOrder     $_SESSION['iOrderSession_'.LANGUAGE];
    
$sTo        $_POST['sEmail'];
    
$sTemplate  $config['language'].'_sendOrderToClient.tpl';
    
$sTitle     $tpl->tbHtml$sTemplate'EMAIL_TITLE' );
    
$sEmailContent =  $tpl->tbHtml$sTemplate'EMAIL_HEAD' );
    
$sEmailContent .= listBasket$iOrder$sTemplate );

    if( !empty( 
$_POST['iCourier'] ) ){
      
$aCourier explode'|'$_POST['iCourier'] );
      
$aCourier throwCourier$aCourier[0] );
      
$fSummary tPrice$aCourier['fPrice'] + $aList['fSummary'] );
      
$sEmailContent .=  $tpl->tbHtml$sTemplate'EMAIL_FOOT' );
    }

    @
mail$sTo$sTitleereg_replace

'\|n\|', "\n", $sEmailContent ), 'FROM: '.$config['email']."\r\nContent-Type: text/plain; charset=".$config['charset']."\r\n" );
}
}
?>



thanks

» Quick.Cart v2.x

panos

No avatar

2009-01-12 16:05

<!-- BEGIN EMAIL_TITLE -->Thank You for orderOrder id $iOrder <!-- END EMAIL_TITLE -->
<!-- 
BEGIN EMAIL_HEAD -->
------------------------
Your delivery address
------------------------
First and last name$_POST[sFirstName$_POST[sLastName]
Street$_POST[sStreet]
Postal code$_POST[sZipCode]
City$_POST[sCity]
Phone$_POST[sTelephone]

------------------------
Below are products from Your order
------------------------
<!-- 
END EMAIL_HEAD -->

<!-- 
BEGIN LIST_HEAD -->
<!-- 
END LIST_HEAD -->

<!-- 
BEGIN LIST_LIST -->|n|- $aList[sProduct] (Quantity$aList[iQuantity], Summary price$aList[fSummary])<!-- END LIST_LIST -->

<!-- 
BEGIN LIST_FOOT -->
<!-- 
END LIST_FOOT -->

<!-- 
BEGIN EMAIL_FOOT -->|n||n|------------------------
Delivery and summary costs
------------------------
Courier$aCourier[sName] (Price$aCourier[fPrice])

Summary cost$fSummary <!-- END EMAIL_FOOT -->

<!-- 
BEGIN NOT_FOUND --><!-- END NOT_FOUND -->

Back to top
about us | contact