Avisos
Vaciar todo

Hosting WordPress 70% dto Dominios promo

CORREO ERRONEO VIRTUEMART FACTURA  

 
LUIS MIGUEL
 LUIS MIGUEL
Nuevo usuario

Hola, tengo un problema con el correo que envía Virtuemart al mail del cliente con los detalles de su compra, en la web me calcula el IVA bien, pero el correo que le llega al cliente sale el total erroneo, en el ejemplo que he puesto bajo le resta el impuesto total 22,73 € al total que deveria ser 160,51 €. Estoy utilizando el modulo de pago contra reembolso ps_payment y el modulo de envío Zone Shipping.

Subtotal : €149.00
Envío : €11.51
Impuesto total : €1.76
Total de impuestos contiene:
€22.72881 (18% Impuesto)
Total: €137.78

Alguien conoce donde se puede configurar el correo o como se llama el archivo .php y donde se encuentra alojado.

Citar
Respondido : 15/02/2011 11:17 pm
Manu
 Manu
Usuario eminente

componentscom_virtuemartthemesdefaulttemplatesorder_emailsconfirmation_email.tpl.php

ResponderCitar
Respondido : 18/02/2011 1:42 am

LUIS MIGUEL
 LUIS MIGUEL
Nuevo usuario

Muchas gracias Manuxx, intentaré solucionarlo. B)

QUE LIO :silly: , este es el archivo php, me puedes orientar un poco, que valor tengo que cambiar :dry:

_('PHPSHOP_ORDER_PRINT_PO_LBL') ?>

   
 

_('PHPSHOP_ORDER_PRINT_PO_LBL') ?>

_('PHPSHOP_ACC_ORDER_INFO') ?>
_('PHPSHOP_ORDER_PRINT_PO_NUMBER')?>:  
_('PHPSHOP_ORDER_PRINT_PO_DATE') ?>:  
_('PHPSHOP_ORDER_PRINT_PO_STATUS') ?>:  
 
_('PHPSHOP_ORDER_PRINT_CUST_INFO_LBL') ?>
name == 'email') $field->name = 'user_email';if( $field->name == 'delimiter_sendregistration') continue;if( $field->type == 'captcha') continue;if( $field->type == 'delimiter') { ?>

_($field->title) ? $VM_LANG->_($field->title) : $field->title ?>
_($field->title) ? $VM_LANG->_($field->title) : $field->title ?>: name) {
case 'country':
require_once(CLASSPATH.'ps_country.php');
$country = new ps_country();
$dbc = $country->get_country_by_code($dbbt->f($field->name));
if( $dbc !== false ) echo $dbc->f('country_name');
break;
default:
echo $dbbt->f($field->name);
break;
}
?>

name == 'email') $field->name = 'user_email';
if( $field->type == 'delimiter') { ?>

_('PHPSHOP_ORDER_PRINT_SHIP_TO_LBL') ?>
_($field->title) ? $VM_LANG->_($field->title) : $field->title ?>
_($field->title) ? $VM_LANG->_($field->title) : $field->title ?>: name) {
case 'country':
require_once(CLASSPATH.'ps_country.php');
$country = new ps_country();
$dbc = $country->get_country_by_code($dbst->f($field->name));
if( $dbc !== false ) echo $dbc->f('country_name');
break;
default:
echo $dbst->f($field->name);
break;
}
?>


 
 
 
_('PHPSHOP_ORDER_ITEM') ?>
next_record()) {
$my_qty = $dboi->f("product_quantity");
if ($auth["show_price_including_tax"] == 1) {
$price = $dboi->f("product_final_price");
$my_price = $CURRENCY_DISPLAY->getFullValue($dboi->f("product_final_price"), '', $db->f('order_currency'));
} else {
$price = $dboi->f("product_item_price");
$my_price = $CURRENCY_DISPLAY->getFullValue($dboi->f("product_item_price"), '', $db->f('order_currency'));
}
$my_subtotal = $my_qty * $price;
$sub_total += $my_subtotal;
?>0 || $order_discount0 || $coupon_discount0 || $order_discount0 || $coupon_discount

_('PHPSHOP_CART_QUANTITY') ?> _('PHPSHOP_CART_NAME') ?> _('PHPSHOP_CART_SKU') ?> _('PHPSHOP_CART_PRICE') ?> _('PHPSHOP_CART_SUBTOTAL') ?>
  p("product_name")?> f("product_attribute") ? ' ('.$dboi->f("product_attribute").')' : ''); ?> get_field($dboi->f("product_id"), "product_sku") ?>   getFullValue($my_subtotal, '', $db->f('order_currency')) ?>
    
_('PHPSHOP_ORDER_PRINT_SUBTOTAL') ?> :  
: getFullValue(abs($order_discount), '', $db->f('order_currency')) ?>
_('PHPSHOP_COUPON_DISCOUNT') ?>: getFullValue(abs($coupon_discount), '', $db->f('order_currency')) ?>
_('PHPSHOP_ORDER_PRINT_SHIPPING') ?> :  
_('PHPSHOP_ORDER_PRINT_TOTAL_TAX') ?> :  
: getFullValue(abs($order_discount), '', $db->f('order_currency')) ?>
_('PHPSHOP_COUPON_DISCOUNT') ?>: getFullValue(abs($coupon_discount), '', $db->f('order_currency')) ?>
_('PHPSHOP_CART_TOTAL') .": " ?>  
 
_('PHPSHOP_ORDER_PRINT_CUSTOMER_NOTE') ?>:
 
 
   
   

 

<?php
// EMAIL FOOTER MESSAGE
if( $is_email_to_shopper ) {
$footer_html = "

".$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER2')."
";

if( VM_REGISTRATION_TYPE != 'NO_REGISTRATION' ) {
$footer_html .= "
_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5')."" href="""$order_link">"
. $VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5')."
";
}
$footer_html .= "

".$VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER3')."
";
$footer_html .= $VM_LANG->_('CMN_EMAIL').": ".$from_email."";
// New in version 1.0.5
if( @VM_ONCHECKOUT_SHOW_LEGALINFO == '1' && !empty( $legal_info_title )) {
$footer_html .= "

____________________________________________
";
$footer_html .= '

'.$legal_info_title.'

';
$footer_html .= $legal_info_html.'
';
}
} else {
$footer_html = '

_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5').'" href="'.$order_link.'">'
. $VM_LANG->_('PHPSHOP_CHECKOUT_EMAIL_SHOPPER_HEADER5').'
';
}
echo $footer_html;
?>

Esta publicación ha sido modificada el hace 4 años por antonio
ResponderCitar
Respondido : 18/02/2011 9:09 am
Manu
 Manu
Usuario eminente

Lo siento pero no tengo ni idea :blink:

A ver si alguien con conocimiento te puede orientar ya que a mi también me interesa saber esto.

Un saludo

ResponderCitar
Respondido : 18/02/2011 6:07 pm

Gestor de Contraseñas - VPN Conexión Segura - Gestor 2FA (Segundo Factor de Autenticación