Ver Mensaje Individual
  #3 (permalink)  
Antiguo 06/08/2009, 16:13
Avatar de AlexDkL
AlexDkL
 
Fecha de Ingreso: junio-2009
Mensajes: 4
Antigüedad: 14 años, 10 meses
Puntos: 0
Respuesta: Ayuda con envio de factura a un mail

Este es el codigo que tengo en cart.php

Código PHP:
<td valign="top" style="padding-left:15px;padding-right:10px" align="left">
            <br><?php echo $this->VIEWING_CART?> &raquo;<br><br>
            <table width="100%"  border="0" cellspacing="0" cellpadding="1">
            <tr>
                <td align="left" width="50%" style="padding:10px"><img src="images/cart.gif" alt="<?php echo $this->CART_CONTENTS?>" title="<?php echo $this->CART_CONTENTS?>"></td>
                <td align="right" width="50%" style="padding:10px"><b><?php echo $this->CART_CONTENTS?>:</b></td>
            </tr>
            </table>
           <form method="POST" action="../ctlg/templates/mrep.php">
            <input type="hidden" name="update" value="1">

// Lista para enviar por mail*

            <table width="100%"  border="0" cellpadding="0" cellspacing="1" style="border: 1px solid #164677">
            <tr>
                <td valign="top" align="left" width="55%" class="CART_HEADER"><?php echo $this->PROD_NAME?></td>
                <td valign="top" align="center" width="15%" class="CART_HEADER"><?php echo $this->QUANTITY?></td>
                <td valign="top" align="center" width="15%" class="CART_HEADER"><?php echo $this->PROD_PRICE?></td>
                <td valign="top" align="center" width="15%" class="CART_HEADER"><?php echo $this->REMOVE?></td>
            </tr>
            </table><br>
            <?php echo $this->CART_DATA?>
            <table width="100%"  border="0" cellpadding="0" cellspacing="1" style="border: 1px solid #164677">
            <tr>
                <td valign="top" align="right" width="55%" class="CART_HEADER"><?php echo $this->CART_TOTAL?></td>
            </tr>
            </table>

 // hasta aqui termina la lista*

            <table width="590" border="0" align="center">
              <tr>
                <th scope="col"></th>
              </tr>
              <tr>
                <th bgcolor="#000066" scope="col"><span class="Estilo1">Datos del Cliente para realizar la compra </span></th>
              </tr>
              <tr>
                <th scope="col"><? include 'checkout.tpl.php'?></th>
              </tr>
               </table>
            <table width="57" border="0" align="center">
              <tr>
                <th width="51" scope="col"><p>
                  <input type="submit" name="Submit" value="Comprar SendEmail" />
                  </p>
                </th>
              </tr>
            </table>
            </form>
            </td>
me podrian ayudar!!!

si es con sesiones en donde puedo ubicar el codigo de sesiones? en cart.php

y en el mrep estoy utilizando el codigo mas comun para envio de mensajes
pero no se como hacer para que la lista se envie por mail

no funciona nada de lo que se me ocurre