Jump to content

¿Como redirigir todos los contactos de la Web?


TechnoSpain

Recommended Posts

Hola

 

A ver si es posible esto, he buscado y no veo ninguna consulta parecida

 

¿Como puede hacer para que todos los contactos de la Web (pedidos, contacte con nosotros) sean redirigidos a un único sitio (zona de soporte) ?

 

Ahora mismo recibimos las consultas fragmentadas y es imposible organizarse de una forma coherente, tiene que ser que el cliente pulse y automáticamente entre donde queremos encauzarle para que no existan errores ni confusiones.

 

Gracias :rolleyes:

Link to comment
Share on other sites

Hola

 

A ver si es posible esto, he buscado y no veo ninguna consulta parecida

 

¿Como puede hacer para que todos los contactos de la Web (pedidos, contacte con nosotros) sean redirigidos a un único sitio (zona de soporte) ?

 

Ahora mismo recibimos las consultas fragmentadas y es imposible organizarse de una forma coherente, tiene que ser que el cliente pulse y automáticamente entre donde queremos encauzarle para que no existan errores ni confusiones.

 

Gracias :rolleyes:

 

¿Por que no pones el mismo email?

 

¿O redireccionas los otros a uno en concreto?

Edited by Rubalcaba (see edit history)
Link to comment
Share on other sites

Buenas tardes, lo que quieres es redireccionar el formulario de contacto a esta direccion:

 

http://technospain.es/RMA/

 

¿no?

 

Si es lo que te he comentado, prueba ir a modo chapuzero al archivo:

 

/controllers/front/ContactController.php

 

Busca esto:

 

$this->setTemplate(_PS_THEME_DIR_.'contact-form.tpl')

 

y prueba dejarlo asi:

 

/* $this->setTemplate(_PS_THEME_DIR_.'contact-form.tpl'); */

Tools::redirect("http://technospain.es/RMA/");

Link to comment
Share on other sites

Si, pero la linea que me comentas es distinta, me sale asi:

 

self::$smarty->display(_PS_THEME_DIR_.'contact-form.tpl');

 

Ok, en el fichero que te he mencionado para la 1.4.9 intenta....

 

Cambia esto:

 

public function displayContent()
{
 $_POST = array_merge($_POST, $_GET);
 parent::displayContent();
 self::$smarty->display(_PS_THEME_DIR_.'contact-form.tpl');
}

 

Por esto:

 

public function displayContent()
{
/* $_POST = array_merge($_POST, $_GET);
 parent::displayContent(); */
/*  self::$smarty->display(_PS_THEME_DIR_.'contact-form.tpl'); */
 header('Location: http://technospain.es/RMA/');
}

Link to comment
Share on other sites

¿Se puede poner alguna nota en el formulario de los pedidos? De manera que todas las consultas sean a traves del RMA?

 

Adjuntame imagen exacta, para yo entender en que parte exacta quiere poner usted el aviso.

Link to comment
Share on other sites

Cuando un cliente genera un pedido, en su área de cliente sale este formulario de la imagen, me gustaría encauzar estas peticiones al área de soporte ya que hay clientes que preguntan un dia por un sitio, otro por otro y me vuelven loco

 

contactopedido.jpg de cliente le

Link to comment
Share on other sites

Cuando un cliente genera un pedido, en su área de cliente sale este formulario de la imagen, me gustaría encauzar estas peticiones al área de soporte ya que hay clientes que preguntan un dia por un sitio, otro por otro y me vuelven loco

 

contactopedido.jpg de cliente le

 

¿Y por que no vas a la pestaña Herramientas-> Traducciones -> Traducciones de los modulos, buscas el texto:

 

Si desea ....

 

Y amplias el texto ?

Link to comment
Share on other sites

Ya lo he pensado, pero nadie me hara caso, y tendre peticiones por un lado y por el otro

Dime como lo quieres dejar exactamente y en que parte de la imagen el aviso, mensaje o como queramos decir.

Link to comment
Share on other sites

Si se puede

 

Quiero dejar este texto arriba (eso lo hago yo desde traducciones)

 

Para cualquier consulta o duda debe acceder a nuestro canal de Soporte y RMA, pulse el botón "CONSULTA"

 

Quitar el cuadro de texto y que el botón envie a http://technospain.es/RMA

 

 

Quizás me he pasado

 

Si hay otra solución soy todo oídos

 

Es decir que quieres quitar la cajita y colocar un boton con el enlace al url del rma ¿?

Link to comment
Share on other sites

En el archivo:

 

/themes/tu-plantilla/order-detail.tpl

 

Busca esto:

 

<form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form>

Link to comment
Share on other sites

Lo tengo

 

¿Lo borro?

Borra o déjalo así:

 

{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}

Link to comment
Share on other sites

Correcto, dos veces y he comprobado con otro navegador

Pero lo has dejado asi:

 

{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}

 

¿?

Link to comment
Share on other sites

imposible acabo de revisar el php y no esta,

 

¿Desactivo la cache y la compresion CCC de prestashop?

 

Sera el tpl (jajaj)

 

Pegame el contenido del tpl, que lo vea, a ver si te has comido alguna llave o algo.

 

Vacia por si las moscas el directorio:

 

/tools/smarty/compile/ (menos el fichero "index.php")

Link to comment
Share on other sites

Tools limpio

 

Este es el contenido:

 

{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2012 PrestaShop SA
*  @version  Release: $Revision: 15807 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{* ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
  ' Modificación módulo PayPal con recargo	   '
  ' ( visualización del recargo en factura PS v.1.4)    '
  '				 '
  ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''  
  ' order-detail.tpl		 v.:1.0.7 '
  ' lienas:			   '
  '   170 añadido coste paypal		 '
  '   365 añadido cuadro paypal		 '
  '				 '
  ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''*/
*}

{if !isset($smarty.get.ajax)}
<div class="block-center" id="block-history">
<div id="block-order-detail">
{/if}
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}" method="post" class="submit">
<div>
 <input type="hidden" value="{$order->id}" name="id_order"/>
 <h4>
  {l s='Order placed on'} {dateFormat date=$order->date_add full=0}
  <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/>
 </h4>
</div>
</form>

{if count($order_history)}
<p class="bold">{l s='Follow your order step by step'}</p>
<div class="table_block">
<table class="detail_step_by_step std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="last_item">{l s='Status'}</th>
  </tr>
 </thead>
 <tbody>
 {foreach from=$order_history item=state name="orderStates"}
  <tr class="{if $smarty.foreach.orderStates.first}first_item{elseif $smarty.foreach.orderStates.last}last_item{/if} {if $smarty.foreach.orderStates.index % 2}alternate_item{else}item{/if}">
   <td>{dateFormat date=$state.date_add full=1}</td>
   <td>{$state.ostate_name|escape:'htmlall':'UTF-8'}</td>
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
{/if}

{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'htmlall':'UTF-8'}">{$followup|escape:'htmlall':'UTF-8'}</a>
{/if}
<p class="bold">{l s='Order:'} <span class="color-myaccount">{l s='#'}{$order->id|string_format:"%06d"}</span></p>
{if $carrier->id}<p class="bold">{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</p>{/if}
<p class="bold">{l s='Payment method:'} <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></p>
{if $invoice AND $invoiceAllowed}
<p>
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a .PDF file'}</a>
</p>
{/if}
{if $order->recyclable && isset($isRecyclable) && $isRecyclable}
<p><img src="{$img_dir}icon/recyclable.gif" alt="" class="icon" /> {l s='You have given permission to receive your order in recycled packaging.'}</p>
{/if}
{if $order->gift}
<p><img src="{$img_dir}icon/gift.gif" alt="" class="icon" /> {l s='You requested gift-wrapping for your order.'}</p>
<p>{l s='Message:'} {$order->gift_message|nl2br}</p>
{/if}
<br />
<ul class="address item" {if $order->isVirtual()}style="display:none;"{/if}>
<li class="address_title">{l s='Invoice'}</li>
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
 {if $field_item eq "company" && isset($address_invoice->company)}<li class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_invoice->address2}<li class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<li class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
<ul class="address alternate_item {if $order->isVirtual()}full_width{/if}">
<li class="address_title">{l s='Delivery'}</li>
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
 {if $field_item eq "company" && isset($address_delivery->company)}<li class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_delivery->address2}<li class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<li class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
{$HOOK_ORDERDETAILDISPLAYED}
{if !$is_guest}<form action="{$link->getPageLink('order-follow.php', true)}" method="post">{/if}
<div id="order-detail-content" class="table_block">
<table class="std">
 <thead>
  <tr>
   {if $return_allowed}<th class="first_item"><input type="checkbox" /></th>{/if}
   <th class="{if $return_allowed}item{else}first_item{/if}">{l s='Reference'}</th>
   <th class="item">{l s='Product'}</th>
   <th class="item">{l s='Quantity'}</th>
   <th class="item">{l s='Unit price'}</th>
   <th class="last_item">{l s='Total price'}</th>
  </tr>
 </thead>
 <tfoot>
  {if $priceDisplay && $use_tax}
   <tr class="item">
 <td colspan="{if $return_allowed}6{else}5{/if}">
  {l s='Total products (tax excl.):'} <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}</span>
 </td>
   </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}</span>
   </td>
  </tr>
  {if $order->total_discounts > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total vouchers:'} <span class="price-discount">{displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}</span>
   </td>
  </tr>
  {/if}
  {if $order->total_wrapping > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total gift-wrapping:'} <span class="price-wrapping">{displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}</span>
   </td>
  </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price-shipping">{displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}</span>
   </td>
  </tr>

	    <!--Recargo Paypal JLC-->
	    {if $order->CargoPayPal > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Subtotal:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid currency=$currency}</span>
   </td>
  </tr>
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Cargo Paypal:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid+$order->CargoPayPal currency=$currency}</span>
   </td>
  </tr>
	    {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid+$order->CargoPayPal currency=$currency}</span>
   </td>
  </tr>
	    <!--Fin Recargo Paypal-->

 </tfoot>
 <tbody>
 {foreach from=$products item=product name=products}
  {if !isset($product.deleted)}
   {assign var='productId' value=$product.product_id}
   {assign var='productAttributeId' value=$product.product_attribute_id}
   {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if}
   <!-- Customized products -->
   {if isset($customizedDatas.$productId.$productAttributeId)}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">{$product.product_name|escape:'htmlall':'UTF-8'}</label>
  </td>
  <td><input class="order_qte_input"  name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if $group_use_tax}
	 {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
    {else}
	 {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
    {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if isset($customizedDatas.$productId.$productAttributeId)}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_customization currency=$currency convert=0}
	 {/if}
    {else}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
	 {/if}
    {/if}
   </label>
  </td>
 </tr>
 {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'}
 <tr class="alternate_item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="customization_ids[{$product.id_order_detail|intval}][]" value="{$customizationId|intval}" /></td>{/if}
  <td colspan="2">
  {foreach from=$customization.datas key='type' item='datas'}
   {if $type == $CUSTOMIZE_FILE}
   <ul class="customizationUploaded">
    {foreach from=$datas item='data'}
	 <li><img src="{$pic_dir}{$data.value}_small" alt="" class="customizationUploaded" /></li>
    {/foreach}
   </ul>
   {elseif $type == $CUSTOMIZE_TEXTFIELD}
   <ul class="typedText">{counter start=0 print=false}
    {foreach from=$datas item='data'}
	 {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
	 <li>{$data.name|default:$customizationFieldName}{l s=':'} {$data.value}</li>
    {/foreach}
   </ul>
   {/if}
  {/foreach}
  </td>
  <td>
   <input class="order_qte_input" name="customization_qty_input[{$customizationId|intval}]" type="text" size="2" value="{$customization.quantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$customization.quantity|intval}</span></label>
  </td>
  <td colspan="2"></td>
 </tr>
 {/foreach}
   {/if}
   <!-- Classic products -->
   {if $product.product_quantity > $product.customizationQuantityTotal}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="ids_order_detail[{$product.id_order_detail|intval}]" value="{$product.id_order_detail|intval}" /></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">
    {if $product.download_hash && $invoice && $product.product_quantity_refunded == 0 && $product.product_quantity_return == 0}
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  <img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
	 </a>
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  {$product.product_name|escape:'htmlall':'UTF-8'}
	 </a>
    {else}
	 {$product.product_name|escape:'htmlall':'UTF-8'}
    {/if}
   </label>
  </td>
  <td><input class="order_qte_input" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$productQuantity|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
 </tr>
   {/if}
  {/if}
 {/foreach}
 {foreach from=$discounts item=discount}
  <tr class="item">
   <td>{$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td>{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td><span class="order_qte_span editable">1</span></td>
   <td> </td>
   <td>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}</td>
   {if $return_allowed}
   <td> </td>
   {/if}
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
	    <!--Recargo Paypal JLC-->

{if ($order->CargoPayPal) > 0}
<div class="table_block">
<table class="std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="first_item">{l s='paypal cost'}</th>
  </tr>
 </thead>
 <tbody>
  <tr class="item">
   <td>{$line.date_add}</td>
   <td>{displayPrice price=$order->CargoPayPal}</td>
  </tr>
 </tbody>
</table>
</div>
{/if}
<!--Fin Recargo Paypal-->

	    <!--Recargo Paypal JLC-->

<br />
{if !$is_guest}
{if $return_allowed}
<p class="bold">{l s='Merchandise return'}</p>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}</p>
<p class="textarea">
 <textarea cols="67" rows="3" name="returnText"></textarea>
</p>
<p class="submit">
 <input type="submit" value="{l s='Make a RMA slip'}" name="submitReturnMerchandise" class="button_large" />
 <input type="hidden" class="hidden" value="{$order->id|intval}" name="id_order" />
</p>
<br />
{/if}
</form>

{if count($messages)}
<p class="bold">{l s='Messages'}</p>
<div class="table_block">
 <table class="detail_step_by_step std">
  <thead>
   <tr>
 <th class="first_item" style="width:150px;">{l s='From'}</th>
 <th class="last_item">{l s='Message'}</th>
   </tr>
  </thead>
  <tbody>
  {foreach from=$messages item=message name="messageList"}
   <tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
 <td>
  {if isset($message.ename) && $message.ename}
   {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'}
  {elseif $message.clastname}
   {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'}
  {else}
   <b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
  {/if}
  <br />
  {dateFormat date=$message.date_add full=1}
 </td>
 <td>{$message.message|nl2br}</td>
   </tr>
  {/foreach}
  </tbody>
 </table>
</div>
{/if}
{if isset($errors) && $errors}
 <div class="error">
  <p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
  <ol>
  {foreach from=$errors key=k item=error}
   <li>{$error}</li>
  {/foreach}
  </ol>
 </div>
{/if}
{else}
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You cannot return merchandise with a guest account'}</p>
{/if}
{if !isset($smarty.get.ajax)}
</div>
</div>
{/if}

Link to comment
Share on other sites

  • 2 weeks later...

¿Ya esta usted recuperado?

 

Escuche que estuvo malito

Lo sigo estando, mi tiempo de vida se agota.

 

Enviame acceso a tu FTP, para modificar ese fichero, que dices que no te salen los cambios.

Link to comment
Share on other sites

Espero que lo de tu vida sea broma :( :(

 

El archivo aqui lo tienes: DESCARGAR

 

Es verdad lo que dije.

 

Prueba esto:

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 7719 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
// <![CDATA[
var baseDir = '{$base_dir_ssl}'; 
//]]>
</script>
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}" method="post" class="submit">
<div>
 <input type="hidden" value="{$order->id}" name="id_order"/>
 <h4>
  {l s='Order placed on'} {dateFormat date=$order->date_add full=0}
  <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/>
 </h4>
</div>
</form>
{if count($order_history)}
<p class="bold">{l s='Follow your order step by step'}</p>
<div class="table_block">
<table class="detail_step_by_step std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="last_item">{l s='Status'}</th>
  </tr>
 </thead>
 <tbody>
 {foreach from=$order_history item=state name="orderStates"}
  <tr class="{if $smarty.foreach.orderStates.first}first_item{elseif $smarty.foreach.orderStates.last}last_item{/if} {if $smarty.foreach.orderStates.index % 2}alternate_item{else}item{/if}">
   <td>{dateFormat date=$state.date_add full=1}</td>
   <td>{$state.ostate_name|escape:'htmlall':'UTF-8'}</td>
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
{/if}
{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'htmlall':'UTF-8'}">{$followup|escape:'htmlall':'UTF-8'}</a>
{/if}
<p class="bold">{l s='Order:'} <span class="color-myaccount">{l s='#'}{$order->id|string_format:"%06d"}</span></p>
{if $carrier->id}<p class="bold">{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</p>{/if}
<p class="bold">{l s='Payment method:'} <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></p>
{if $invoice AND $invoiceAllowed}
<p>
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a .PDF file'}</a>
</p>
{/if}
{if $order->recyclable && isset($isRecyclable) && $isRecyclable}
<p><img src="{$img_dir}icon/recyclable.gif" alt="" class="icon" /> {l s='You have given permission to receive your order in recycled packaging.'}</p>
{/if}
{if $order->gift}
<p><img src="{$img_dir}icon/gift.gif" alt="" class="icon" /> {l s='You requested gift-wrapping for your order.'}</p>
<p>{l s='Message:'} {$order->gift_message|nl2br}</p>
{/if}
<br />
<ul class="address item">
<li class="address_title">{l s='Invoice'}</li>
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
 {if $field_item eq "company" && isset($address_invoice->company)}<li class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_invoice->address2}<li class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<li class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}

{/foreach}
</ul>
<ul class="address alternate_item">
<li class="address_title">{l s='Delivery'}</li>
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
 {if $field_item eq "company" && isset($address_delivery->company)}<li class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_delivery->address2}<li class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<li class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
{$HOOK_ORDERDETAILDISPLAYED}
{if !$is_guest}<form action="{$link->getPageLink('order-follow.php', true)}" method="post">{/if}
<div id="order-detail-content" class="table_block">
<table class="std">
 <thead>
  <tr>
   {if $return_allowed}<th class="first_item"><input type="checkbox" /></th>{/if}
   <th class="{if $return_allowed}item{else}first_item{/if}">{l s='Reference'}</th>
   <th class="item">{l s='Product'}</th>
   <th class="item">{l s='Quantity'}</th>
   <th class="item">{l s='Unit price'}</th>
   <th class="last_item">{l s='Total price'}</th>
  </tr>
 </thead>
 <tfoot>
  {if $priceDisplay && $use_tax}
   <tr class="item">
 <td colspan="{if $return_allowed}6{else}5{/if}">
  {l s='Total products (tax excl.):'} <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}</span>
 </td>
   </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}</span>
   </td>
  </tr>
  {if $order->total_discounts > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total vouchers:'} <span class="price-discount">{displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}</span>
   </td>
  </tr>
  {/if}
  {if $order->total_wrapping > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total gift-wrapping:'} <span class="price-wrapping">{displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}</span>
   </td>
  </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price-shipping">{displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}</span>
   </td>
  </tr>
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid currency=$currency}</span>
   </td>
  </tr>
 </tfoot>
 <tbody>
 {foreach from=$products item=product name=products}
  {if !isset($product.deleted)}
   {assign var='productId' value=$product.product_id}
   {assign var='productAttributeId' value=$product.product_attribute_id}
   {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if}
   <!-- Customized products -->
   {if isset($customizedDatas.$productId.$productAttributeId)}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">{$product.product_name|escape:'htmlall':'UTF-8'}</label>
  </td>
  <td><input class="order_qte_input"  name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if $group_use_tax}
	 {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
    {else}
	 {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
    {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if isset($customizedDatas.$productId.$productAttributeId)}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_customization currency=$currency convert=0}
	 {/if}
    {else}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
	 {/if}
    {/if}
   </label>
  </td>
 </tr>
 {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'}
 <tr class="alternate_item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="customization_ids[{$product.id_order_detail|intval}][]" value="{$customizationId|intval}" /></td>{/if}
  <td colspan="2">
  {foreach from=$customization.datas key='type' item='datas'}
   {if $type == $CUSTOMIZE_FILE}
   <ul class="customizationUploaded">
    {foreach from=$datas item='data'}
	 <li><img src="{$pic_dir}{$data.value}_small" alt="" class="customizationUploaded" /></li>
    {/foreach}
   </ul>
   {elseif $type == $CUSTOMIZE_TEXTFIELD}
   <ul class="typedText">{counter start=0 print=false}
    {foreach from=$datas item='data'}
	 {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
	 <li>{$data.name|default:$customizationFieldName}{l s=':'} {$data.value}</li>
    {/foreach}
   </ul>
   {/if}
  {/foreach}
  </td>
  <td>
   <input class="order_qte_input" name="customization_qty_input[{$customizationId|intval}]" type="text" size="2" value="{$customization.quantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$customization.quantity|intval}</span></label>
  </td>
  <td colspan="2"></td>
 </tr>
 {/foreach}
   {/if}
   <!-- Classic products -->
   {if $product.product_quantity > $product.customizationQuantityTotal}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="ids_order_detail[{$product.id_order_detail|intval}]" value="{$product.id_order_detail|intval}" /></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">
    {if $product.download_hash && $invoice}
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  <img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
	 </a>
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  {$product.product_name|escape:'htmlall':'UTF-8'}
	 </a>
    {else}
	 {$product.product_name|escape:'htmlall':'UTF-8'}
    {/if}
   </label>
  </td>
  <td><input class="order_qte_input" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$productQuantity|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
 </tr>
   {/if}
  {/if}
 {/foreach}
 {foreach from=$discounts item=discount}
  <tr class="item">
   <td>{$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td>{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td><span class="order_qte_span editable">1</span></td>
   <td> </td>
   <td>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}</td>
   {if $return_allowed}
   <td> </td>
   {/if}
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
<br />
{if !$is_guest}
{if $return_allowed}
<p class="bold">{l s='Merchandise return'}</p>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}</p>
<p class="textarea">
 <textarea cols="67" rows="3" name="returnText"></textarea>
</p>
<p class="submit">
 <input type="submit" value="{l s='Make a RMA slip'}" name="submitReturnMerchandise" class="button_large" />
 <input type="hidden" class="hidden" value="{$order->id|intval}" name="id_order" />
</p>
<br />
{/if}
</form>
{if count($messages)}
<p class="bold">{l s='Messages'}</p>
<div class="table_block">
 <table class="detail_step_by_step std">
  <thead>
   <tr>
 <th class="first_item" style="width:150px;">{l s='From'}</th>
 <th class="last_item">{l s='Message'}</th>
   </tr>
  </thead>
  <tbody>
  {foreach from=$messages item=message name="messageList"}
   <tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
 <td>
  {if isset($message.ename) && $message.ename}
   {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'}
  {elseif $message.clastname}
   {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'}
  {else}
   <b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
  {/if}
  <br />
  {dateFormat date=$message.date_add full=1}
 </td>
 <td>{$message.message|nl2br}</td>
   </tr>
  {/foreach}
  </tbody>
 </table>
</div>
{/if}
{if isset($errors) && $errors}
 <div class="error">
  <p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
  <ol>
  {foreach from=$errors key=k item=error}
   <li>{$error}</li>
  {/foreach}
  </ol>
 </div>
{/if}
{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}
{else}
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You can\'t make a merchandise return with a guest account'}</p>
{/if}

Link to comment
Share on other sites

Ya esta, ahora en pedidos no aparece ningun cuadro de comentario

 

¿Lo has quitado por completo? ¿Correcto?

 

Simplemente lo he comentado asi:

 

{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}

 

con los

 

{* codigo a comentar en smarty *}

 

Y asi no se ve.

Link to comment
Share on other sites

Estimado nadie

 

Y hacer esto como lo ve usted?

 

http://www.prestasho...ost__p__1236282

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 7719 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
// <![CDATA[
var baseDir = '{$base_dir_ssl}'; 
//]]>
</script>
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}" method="post" class="submit">
<div>
 <input type="hidden" value="{$order->id}" name="id_order"/>
 <h4>
  {l s='Order placed on'} {dateFormat date=$order->date_add full=0}
  <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/>
 </h4>
</div>
</form>
{if count($order_history)}
<p class="bold">{l s='Follow your order step by step'}</p>
<div class="table_block">
<table class="detail_step_by_step std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="last_item">{l s='Status'}</th>
  </tr>
 </thead>
 <tbody>
 {foreach from=$order_history item=state name="orderStates"}
  <tr class="{if $smarty.foreach.orderStates.first}first_item{elseif $smarty.foreach.orderStates.last}last_item{/if} {if $smarty.foreach.orderStates.index % 2}alternate_item{else}item{/if}">
   <td>{dateFormat date=$state.date_add full=1}</td>
   <td>{$state.ostate_name|escape:'htmlall':'UTF-8'}</td>
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
{/if}
{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'htmlall':'UTF-8'}">{$followup|escape:'htmlall':'UTF-8'}</a>
{/if}
<p class="bold">{l s='Order:'} <span class="color-myaccount">{l s='#'}{$order->id|string_format:"%06d"}</span></p>
{if $carrier->id}<p class="bold">{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</p>{/if}
<p class="bold">{l s='Payment method:'} <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></p>
{if $invoice AND $invoiceAllowed}
<p>
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a .PDF file'}</a>
</p>
{/if}
{if $order->recyclable && isset($isRecyclable) && $isRecyclable}
<p><img src="{$img_dir}icon/recyclable.gif" alt="" class="icon" /> {l s='You have given permission to receive your order in recycled packaging.'}</p>
{/if}
{if $order->gift}
<p><img src="{$img_dir}icon/gift.gif" alt="" class="icon" /> {l s='You requested gift-wrapping for your order.'}</p>
<p>{l s='Message:'} {$order->gift_message|nl2br}</p>
{/if}
<br />
<ul class="address item">
<li class="address_title">{l s='Invoice'}</li>
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
 {if $field_item eq "company" && isset($address_invoice->company)}<li class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_invoice->address2}<li class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<li class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}

{/foreach}
</ul>
<ul class="address alternate_item">
<li class="address_title">{l s='Delivery'}</li>
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
 {if $field_item eq "company" && isset($address_delivery->company)}<li class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_delivery->address2}<li class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<li class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
{$HOOK_ORDERDETAILDISPLAYED}
{if !$is_guest}<form action="{$link->getPageLink('order-follow.php', true)}" method="post">{/if}
<div id="order-detail-content" class="table_block">
<table class="std">
 <thead>
  <tr>
   {if $return_allowed}<th class="first_item"><input type="checkbox" /></th>{/if}
   <th class="{if $return_allowed}item{else}first_item{/if}">{l s='Reference'}</th>
   <th class="item">{l s='Product'}</th>
   <th class="item">{l s='Quantity'}</th>
   <th class="item">{l s='Unit price'}</th>
   <th class="last_item">{l s='Total price'}</th>
  </tr>
 </thead>
 <tfoot>
  {if $priceDisplay && $use_tax}
   <tr class="item">
 <td colspan="{if $return_allowed}6{else}5{/if}">
  {l s='Total products (tax excl.):'} <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}</span>
 </td>
   </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}</span>
   </td>
  </tr>
  {if $order->total_discounts > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total vouchers:'} <span class="price-discount">{displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}</span>
   </td>
  </tr>
  {/if}
  {if $order->total_wrapping > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total gift-wrapping:'} <span class="price-wrapping">{displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}</span>
   </td>
  </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price-shipping">{displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}</span>
   </td>
  </tr>
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid currency=$currency}</span>
   </td>
  </tr>
 </tfoot>
 <tbody>
 {foreach from=$products item=product name=products}
  {if !isset($product.deleted)}
   {assign var='productId' value=$product.product_id}
   {assign var='productAttributeId' value=$product.product_attribute_id}
   {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if}
   <!-- Customized products -->
   {if isset($customizedDatas.$productId.$productAttributeId)}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">{$product.product_name|escape:'htmlall':'UTF-8'}</label>
  </td>
  <td><input class="order_qte_input"  name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if $group_use_tax}
	 {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
    {else}
	 {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
    {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if isset($customizedDatas.$productId.$productAttributeId)}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_customization currency=$currency convert=0}
	 {/if}
    {else}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
	 {/if}
    {/if}
   </label>
  </td>
 </tr>
 {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'}
 <tr class="alternate_item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="customization_ids[{$product.id_order_detail|intval}][]" value="{$customizationId|intval}" /></td>{/if}
  <td colspan="2">
  {foreach from=$customization.datas key='type' item='datas'}
   {if $type == $CUSTOMIZE_FILE}
   <ul class="customizationUploaded">
    {foreach from=$datas item='data'}
	 <li><img src="{$pic_dir}{$data.value}_small" alt="" class="customizationUploaded" /></li>
    {/foreach}
   </ul>
   {elseif $type == $CUSTOMIZE_TEXTFIELD}
   <ul class="typedText">{counter start=0 print=false}
    {foreach from=$datas item='data'}
	 {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
	 <li>{$data.name|default:$customizationFieldName}{l s=':'} {$data.value}</li>
    {/foreach}
   </ul>
   {/if}
  {/foreach}
  </td>
  <td>
   <input class="order_qte_input" name="customization_qty_input[{$customizationId|intval}]" type="text" size="2" value="{$customization.quantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$customization.quantity|intval}</span></label>
  </td>
  <td colspan="2"></td>
 </tr>
 {/foreach}
   {/if}
   <!-- Classic products -->
   {if $product.product_quantity > $product.customizationQuantityTotal}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="ids_order_detail[{$product.id_order_detail|intval}]" value="{$product.id_order_detail|intval}" /></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">
    {if $product.download_hash && $invoice}
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  <img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
	 </a>
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  {$product.product_name|escape:'htmlall':'UTF-8'}
	 </a>
    {else}
	 {$product.product_name|escape:'htmlall':'UTF-8'}
    {/if}
   </label>
  </td>
  <td><input class="order_qte_input" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$productQuantity|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
 </tr>
   {/if}
  {/if}
 {/foreach}
 {foreach from=$discounts item=discount}
  <tr class="item">
   <td>{$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td>{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td><span class="order_qte_span editable">1</span></td>
   <td> </td>
   <td>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}</td>
   {if $return_allowed}
   <td> </td>
   {/if}
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
<br />
{if !$is_guest}
{if $return_allowed}
<p class="bold">{l s='Merchandise return'}</p>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}</p>
<p class="textarea">
 <textarea cols="67" rows="3" name="returnText"></textarea>
</p>
<p class="submit">
 <input type="submit" value="{l s='Make a RMA slip'}" name="submitReturnMerchandise" class="button_large" />
 <input type="hidden" class="hidden" value="{$order->id|intval}" name="id_order" />
</p>
<br />
{/if}
</form>
{if count($messages)}
<p class="bold">{l s='Messages'}</p>
<div class="table_block">
 <table class="detail_step_by_step std">
  <thead>
   <tr>
 <th class="first_item" style="width:150px;">{l s='From'}</th>
 <th class="last_item">{l s='Message'}</th>
   </tr>
  </thead>
  <tbody>
  {foreach from=$messages item=message name="messageList"}
   <tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
 <td>
  {if isset($message.ename) && $message.ename}
   {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'}
  {elseif $message.clastname}
   {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'}
  {else}
   <b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
  {/if}
  <br />
  {dateFormat date=$message.date_add full=1}
 </td>
 <td>{$message.message|nl2br}</td>
   </tr>
  {/foreach}
  </tbody>
 </table>
</div>
{/if}
{if isset($errors) && $errors}
 <div class="error">
  <p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
  <ol>
  {foreach from=$errors key=k item=error}
   <li>{$error}</li>
  {/foreach}
  </ol>
 </div>
{/if}
<a href="enlace" class="button"> {l s='Nadie'} </a>
{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}
{else}
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You can\'t make a merchandise return with a guest account'}</p>
{/if}

Link to comment
Share on other sites

Estimado amigo

 

No veo ningun cambio, respecto al otro code, no parece la caja ni nada mas, la zona de contacto en pedidos no esta

 

Hay un cambio importante...

 

Fijate..

 

He cambiado esto:

 

{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}

 

por esto:

 

<a href="enlace" class="button"> {l s='Nadie'} </a>
{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}

Link to comment
Share on other sites

He copiado el codigo entero pero no hace nada distinto

 

Seguro que lo has dejado asi:

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 7719 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
// <![CDATA[
var baseDir = '{$base_dir_ssl}'; 
//]]>
</script>
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}" method="post" class="submit">
<div>
 <input type="hidden" value="{$order->id}" name="id_order"/>
 <h4>
  {l s='Order placed on'} {dateFormat date=$order->date_add full=0}
  <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/>
 </h4>
</div>
</form>
{if count($order_history)}
<p class="bold">{l s='Follow your order step by step'}</p>
<div class="table_block">
<table class="detail_step_by_step std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="last_item">{l s='Status'}</th>
  </tr>
 </thead>
 <tbody>
 {foreach from=$order_history item=state name="orderStates"}
  <tr class="{if $smarty.foreach.orderStates.first}first_item{elseif $smarty.foreach.orderStates.last}last_item{/if} {if $smarty.foreach.orderStates.index % 2}alternate_item{else}item{/if}">
   <td>{dateFormat date=$state.date_add full=1}</td>
   <td>{$state.ostate_name|escape:'htmlall':'UTF-8'}</td>
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
{/if}
{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'htmlall':'UTF-8'}">{$followup|escape:'htmlall':'UTF-8'}</a>
{/if}
<p class="bold">{l s='Order:'} <span class="color-myaccount">{l s='#'}{$order->id|string_format:"%06d"}</span></p>
{if $carrier->id}<p class="bold">{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</p>{/if}
<p class="bold">{l s='Payment method:'} <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></p>
{if $invoice AND $invoiceAllowed}
<p>
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a .PDF file'}</a>
</p>
{/if}
{if $order->recyclable && isset($isRecyclable) && $isRecyclable}
<p><img src="{$img_dir}icon/recyclable.gif" alt="" class="icon" /> {l s='You have given permission to receive your order in recycled packaging.'}</p>
{/if}
{if $order->gift}
<p><img src="{$img_dir}icon/gift.gif" alt="" class="icon" /> {l s='You requested gift-wrapping for your order.'}</p>
<p>{l s='Message:'} {$order->gift_message|nl2br}</p>
{/if}
<br />
<ul class="address item">
<li class="address_title">{l s='Invoice'}</li>
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
 {if $field_item eq "company" && isset($address_invoice->company)}<li class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_invoice->address2}<li class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<li class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}

{/foreach}
</ul>
<ul class="address alternate_item">
<li class="address_title">{l s='Delivery'}</li>
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
 {if $field_item eq "company" && isset($address_delivery->company)}<li class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_delivery->address2}<li class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<li class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
{$HOOK_ORDERDETAILDISPLAYED}
{if !$is_guest}<form action="{$link->getPageLink('order-follow.php', true)}" method="post">{/if}
<div id="order-detail-content" class="table_block">
<table class="std">
 <thead>
  <tr>
   {if $return_allowed}<th class="first_item"><input type="checkbox" /></th>{/if}
   <th class="{if $return_allowed}item{else}first_item{/if}">{l s='Reference'}</th>
   <th class="item">{l s='Product'}</th>
   <th class="item">{l s='Quantity'}</th>
   <th class="item">{l s='Unit price'}</th>
   <th class="last_item">{l s='Total price'}</th>
  </tr>
 </thead>
 <tfoot>
  {if $priceDisplay && $use_tax}
   <tr class="item">
 <td colspan="{if $return_allowed}6{else}5{/if}">
  {l s='Total products (tax excl.):'} <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}</span>
 </td>
   </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}</span>
   </td>
  </tr>
  {if $order->total_discounts > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total vouchers:'} <span class="price-discount">{displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}</span>
   </td>
  </tr>
  {/if}
  {if $order->total_wrapping > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total gift-wrapping:'} <span class="price-wrapping">{displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}</span>
   </td>
  </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price-shipping">{displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}</span>
   </td>
  </tr>
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid currency=$currency}</span>
   </td>
  </tr>
 </tfoot>
 <tbody>
 {foreach from=$products item=product name=products}
  {if !isset($product.deleted)}
   {assign var='productId' value=$product.product_id}
   {assign var='productAttributeId' value=$product.product_attribute_id}
   {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if}
   <!-- Customized products -->
   {if isset($customizedDatas.$productId.$productAttributeId)}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">{$product.product_name|escape:'htmlall':'UTF-8'}</label>
  </td>
  <td><input class="order_qte_input"  name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if $group_use_tax}
	 {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
    {else}
	 {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
    {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if isset($customizedDatas.$productId.$productAttributeId)}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_customization currency=$currency convert=0}
	 {/if}
    {else}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
	 {/if}
    {/if}
   </label>
  </td>
 </tr>
 {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'}
 <tr class="alternate_item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="customization_ids[{$product.id_order_detail|intval}][]" value="{$customizationId|intval}" /></td>{/if}
  <td colspan="2">
  {foreach from=$customization.datas key='type' item='datas'}
   {if $type == $CUSTOMIZE_FILE}
   <ul class="customizationUploaded">
    {foreach from=$datas item='data'}
	 <li><img src="{$pic_dir}{$data.value}_small" alt="" class="customizationUploaded" /></li>
    {/foreach}
   </ul>
   {elseif $type == $CUSTOMIZE_TEXTFIELD}
   <ul class="typedText">{counter start=0 print=false}
    {foreach from=$datas item='data'}
	 {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
	 <li>{$data.name|default:$customizationFieldName}{l s=':'} {$data.value}</li>
    {/foreach}
   </ul>
   {/if}
  {/foreach}
  </td>
  <td>
   <input class="order_qte_input" name="customization_qty_input[{$customizationId|intval}]" type="text" size="2" value="{$customization.quantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$customization.quantity|intval}</span></label>
  </td>
  <td colspan="2"></td>
 </tr>
 {/foreach}
   {/if}
   <!-- Classic products -->
   {if $product.product_quantity > $product.customizationQuantityTotal}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="ids_order_detail[{$product.id_order_detail|intval}]" value="{$product.id_order_detail|intval}" /></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">
    {if $product.download_hash && $invoice}
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  <img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
	 </a>
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  {$product.product_name|escape:'htmlall':'UTF-8'}
	 </a>
    {else}
	 {$product.product_name|escape:'htmlall':'UTF-8'}
    {/if}
   </label>
  </td>
  <td><input class="order_qte_input" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$productQuantity|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
 </tr>
   {/if}
  {/if}
 {/foreach}
 {foreach from=$discounts item=discount}
  <tr class="item">
   <td>{$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td>{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td><span class="order_qte_span editable">1</span></td>
   <td> </td>
   <td>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}</td>
   {if $return_allowed}
   <td> </td>
   {/if}
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
<br />
{if !$is_guest}
{if $return_allowed}
<p class="bold">{l s='Merchandise return'}</p>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}</p>
<p class="textarea">
 <textarea cols="67" rows="3" name="returnText"></textarea>
</p>
<p class="submit">
 <input type="submit" value="{l s='Make a RMA slip'}" name="submitReturnMerchandise" class="button_large" />
 <input type="hidden" class="hidden" value="{$order->id|intval}" name="id_order" />
</p>
<br />
{/if}
</form>
{if count($messages)}
<p class="bold">{l s='Messages'}</p>
<div class="table_block">
 <table class="detail_step_by_step std">
  <thead>
   <tr>
 <th class="first_item" style="width:150px;">{l s='From'}</th>
 <th class="last_item">{l s='Message'}</th>
   </tr>
  </thead>
  <tbody>
  {foreach from=$messages item=message name="messageList"}
   <tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
 <td>
  {if isset($message.ename) && $message.ename}
   {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'}
  {elseif $message.clastname}
   {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'}
  {else}
   <b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
  {/if}
  <br />
  {dateFormat date=$message.date_add full=1}
 </td>
 <td>{$message.message|nl2br}</td>
   </tr>
  {/foreach}
  </tbody>
 </table>
</div>
{/if}
{if isset($errors) && $errors}
 <div class="error">
  <p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
  <ol>
  {foreach from=$errors key=k item=error}
   <li>{$error}</li>
  {/foreach}
  </ol>
 </div>
{/if}
<a href="enlace" class="button"> {l s='Nadie'} </a>
{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}
{else}
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You can\'t make a merchandise return with a guest account'}</p>
{/if}

 

¿?

Link to comment
Share on other sites

Varias veces, pero no veo el cambio

 

 

Te paso datos para entrar como cliente por privado

 

Pues prueba dejarlo asi:

 

{*
* 2007-2011 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <[email protected]>
*  @copyright  2007-2011 PrestaShop SA
*  @version  Release: $Revision: 7719 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
<script type="text/javascript">
// <![CDATA[
var baseDir = '{$base_dir_ssl}'; 
//]]>
</script>
<form action="{if isset($opc) && $opc}{$link->getPageLink('order-opc.php', true)}{else}{$link->getPageLink('order.php', true)}{/if}" method="post" class="submit">
<div>
 <input type="hidden" value="{$order->id}" name="id_order"/>
 <h4>
  {l s='Order placed on'} {dateFormat date=$order->date_add full=0}
  <input type="submit" value="{l s='Reorder'}" name="submitReorder" class="button exclusive" style="float:right"/>
 </h4>
</div>
</form>
{if count($order_history)}
<p class="bold">{l s='Follow your order step by step'}</p>
<div class="table_block">
<table class="detail_step_by_step std">
 <thead>
  <tr>
   <th class="first_item">{l s='Date'}</th>
   <th class="last_item">{l s='Status'}</th>
  </tr>
 </thead>
 <tbody>
 {foreach from=$order_history item=state name="orderStates"}
  <tr class="{if $smarty.foreach.orderStates.first}first_item{elseif $smarty.foreach.orderStates.last}last_item{/if} {if $smarty.foreach.orderStates.index % 2}alternate_item{else}item{/if}">
   <td>{dateFormat date=$state.date_add full=1}</td>
   <td>{$state.ostate_name|escape:'htmlall':'UTF-8'}</td>
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
{/if}
{if isset($followup)}
<p class="bold">{l s='Click the following link to track the delivery of your order'}</p>
<a href="{$followup|escape:'htmlall':'UTF-8'}">{$followup|escape:'htmlall':'UTF-8'}</a>
{/if}
<p class="bold">{l s='Order:'} <span class="color-myaccount">{l s='#'}{$order->id|string_format:"%06d"}</span></p>
{if $carrier->id}<p class="bold">{l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}</p>{/if}
<p class="bold">{l s='Payment method:'} <span class="color-myaccount">{$order->payment|escape:'htmlall':'UTF-8'}</span></p>
{if $invoice AND $invoiceAllowed}
<p>
<img src="{$img_dir}icon/pdf.gif" alt="" class="icon" />
<a href="{$link->getPageLink('pdf-invoice.php', true)}?id_order={$order->id|intval}{if $is_guest}&secure_key={$order->secure_key}{/if}">{l s='Download your invoice as a .PDF file'}</a>
</p>
{/if}
{if $order->recyclable && isset($isRecyclable) && $isRecyclable}
<p><img src="{$img_dir}icon/recyclable.gif" alt="" class="icon" /> {l s='You have given permission to receive your order in recycled packaging.'}</p>
{/if}
{if $order->gift}
<p><img src="{$img_dir}icon/gift.gif" alt="" class="icon" /> {l s='You requested gift-wrapping for your order.'}</p>
<p>{l s='Message:'} {$order->gift_message|nl2br}</p>
{/if}
<br />
<ul class="address item">
<li class="address_title">{l s='Invoice'}</li>
{foreach from=$inv_adr_fields name=inv_loop item=field_item}
 {if $field_item eq "company" && isset($address_invoice->company)}<li class="address_company">{$address_invoice->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_invoice->address2}<li class="address_address2">{$address_invoice->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}<li class="address_phone_mobile">{$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$invoiceAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}

{/foreach}
</ul>
<ul class="address alternate_item">
<li class="address_title">{l s='Delivery'}</li>
{foreach from=$dlv_adr_fields name=dlv_loop item=field_item}
 {if $field_item eq "company" && isset($address_delivery->company)}<li class="address_company">{$address_delivery->company|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "address2" && $address_delivery->address2}<li class="address_address2">{$address_delivery->address2|escape:'htmlall':'UTF-8'}</li>
 {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}<li class="address_phone_mobile">{$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}</li>
 {else}
   {assign var=address_words value=" "|explode:$field_item}
   <li>{foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}<span class="address_{$word_item}">{$deliveryAddressFormatedValues[$word_item]|escape:'htmlall':'UTF-8'}</span>{/foreach}</li>
 {/if}
{/foreach}
</ul>
{$HOOK_ORDERDETAILDISPLAYED}
{if !$is_guest}<form action="{$link->getPageLink('order-follow.php', true)}" method="post">{/if}
<div id="order-detail-content" class="table_block">
<table class="std">
 <thead>
  <tr>
   {if $return_allowed}<th class="first_item"><input type="checkbox" /></th>{/if}
   <th class="{if $return_allowed}item{else}first_item{/if}">{l s='Reference'}</th>
   <th class="item">{l s='Product'}</th>
   <th class="item">{l s='Quantity'}</th>
   <th class="item">{l s='Unit price'}</th>
   <th class="last_item">{l s='Total price'}</th>
  </tr>
 </thead>
 <tfoot>
  {if $priceDisplay && $use_tax}
   <tr class="item">
 <td colspan="{if $return_allowed}6{else}5{/if}">
  {l s='Total products (tax excl.):'} <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency}</span>
 </td>
   </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price">{displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency}</span>
   </td>
  </tr>
  {if $order->total_discounts > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total vouchers:'} <span class="price-discount">{displayWtPriceWithCurrency price=$order->total_discounts currency=$currency}</span>
   </td>
  </tr>
  {/if}
  {if $order->total_wrapping > 0}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total gift-wrapping:'} <span class="price-wrapping">{displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency}</span>
   </td>
  </tr>
  {/if}
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: <span class="price-shipping">{displayWtPriceWithCurrency price=$order->total_shipping currency=$currency}</span>
   </td>
  </tr>
  <tr class="item">
   <td colspan="{if $return_allowed}6{else}5{/if}">
 {l s='Total:'} <span class="price">{displayWtPriceWithCurrency price=$order->total_paid currency=$currency}</span>
   </td>
  </tr>
 </tfoot>
 <tbody>
 {foreach from=$products item=product name=products}
  {if !isset($product.deleted)}
   {assign var='productId' value=$product.product_id}
   {assign var='productAttributeId' value=$product.product_attribute_id}
   {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if}
   <!-- Customized products -->
   {if isset($customizedDatas.$productId.$productAttributeId)}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">{$product.product_name|escape:'htmlall':'UTF-8'}</label>
  </td>
  <td><input class="order_qte_input"  name="order_qte_input[{$smarty.foreach.products.index}]" type="text" size="2" value="{$product.customizationQuantityTotal|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$product.customizationQuantityTotal|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if $group_use_tax}
	 {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
    {else}
	 {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
    {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
    {if isset($customizedDatas.$productId.$productAttributeId)}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_customization currency=$currency convert=0}
	 {/if}
    {else}
	 {if $group_use_tax}
	  {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
	 {else}
	  {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
	 {/if}
    {/if}
   </label>
  </td>
 </tr>
 {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'}
 <tr class="alternate_item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="customization_ids[{$product.id_order_detail|intval}][]" value="{$customizationId|intval}" /></td>{/if}
  <td colspan="2">
  {foreach from=$customization.datas key='type' item='datas'}
   {if $type == $CUSTOMIZE_FILE}
   <ul class="customizationUploaded">
    {foreach from=$datas item='data'}
	 <li><img src="{$pic_dir}{$data.value}_small" alt="" class="customizationUploaded" /></li>
    {/foreach}
   </ul>
   {elseif $type == $CUSTOMIZE_TEXTFIELD}
   <ul class="typedText">{counter start=0 print=false}
    {foreach from=$datas item='data'}
	 {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field}
	 <li>{$data.name|default:$customizationFieldName}{l s=':'} {$data.value}</li>
    {/foreach}
   </ul>
   {/if}
  {/foreach}
  </td>
  <td>
   <input class="order_qte_input" name="customization_qty_input[{$customizationId|intval}]" type="text" size="2" value="{$customization.quantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$customization.quantity|intval}</span></label>
  </td>
  <td colspan="2"></td>
 </tr>
 {/foreach}
   {/if}
   <!-- Classic products -->
   {if $product.product_quantity > $product.customizationQuantityTotal}
 <tr class="item">
  {if $return_allowed}<td class="order_cb"><input type="checkbox" id="cb_{$product.id_order_detail|intval}" name="ids_order_detail[{$product.id_order_detail|intval}]" value="{$product.id_order_detail|intval}" /></td>{/if}
  <td><label for="cb_{$product.id_order_detail|intval}">{if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}</label></td>
  <td class="bold">
   <label for="cb_{$product.id_order_detail|intval}">
    {if $product.download_hash && $invoice}
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  <img src="{$img_dir}icon/download_product.gif" class="icon" alt="{l s='Download product'}" />
	 </a>
	 <a href="{$link->getPageLink('get-file.php', true)}?key={$product.filename|escape:'htmlall':'UTF-8'}-{$product.download_hash|escape:'htmlall':'UTF-8'}{if isset($is_guest) && $is_guest}&id_order={$order->id}&secure_key={$order->secure_key}{/if}" title="{l s='download this product'}">
	  {$product.product_name|escape:'htmlall':'UTF-8'}
	 </a>
    {else}
	 {$product.product_name|escape:'htmlall':'UTF-8'}
    {/if}
   </label>
  </td>
  <td><input class="order_qte_input" name="order_qte_input[{$product.id_order_detail|intval}]" type="text" size="2" value="{$productQuantity|intval}" /><label for="cb_{$product.id_order_detail|intval}"><span class="order_qte_span editable">{$productQuantity|intval}</span></label></td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.product_price_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.product_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
  <td>
   <label for="cb_{$product.id_order_detail|intval}">
   {if $group_use_tax}
    {convertPriceWithCurrency price=$product.total_wt currency=$currency convert=0}
   {else}
    {convertPriceWithCurrency price=$product.total_price currency=$currency convert=0}
   {/if}
   </label>
  </td>
 </tr>
   {/if}
  {/if}
 {/foreach}
 {foreach from=$discounts item=discount}
  <tr class="item">
   <td>{$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td>{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}</td>
   <td><span class="order_qte_span editable">1</span></td>
   <td> </td>
   <td>{if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0}</td>
   {if $return_allowed}
   <td> </td>
   {/if}
  </tr>
 {/foreach}
 </tbody>
</table>
</div>
<a href="enlace" class="button"> {l s='Nadie'} </a>
<br />
{if !$is_guest}
{if $return_allowed}
<p class="bold">{l s='Merchandise return'}</p>
<p>{l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}</p>
<p class="textarea">
 <textarea cols="67" rows="3" name="returnText"></textarea>
</p>
<p class="submit">
 <input type="submit" value="{l s='Make a RMA slip'}" name="submitReturnMerchandise" class="button_large" />
 <input type="hidden" class="hidden" value="{$order->id|intval}" name="id_order" />
</p>
<br />
{/if}
</form>
{if count($messages)}
<p class="bold">{l s='Messages'}</p>
<div class="table_block">
 <table class="detail_step_by_step std">
  <thead>
   <tr>
 <th class="first_item" style="width:150px;">{l s='From'}</th>
 <th class="last_item">{l s='Message'}</th>
   </tr>
  </thead>
  <tbody>
  {foreach from=$messages item=message name="messageList"}
   <tr class="{if $smarty.foreach.messageList.first}first_item{elseif $smarty.foreach.messageList.last}last_item{/if} {if $smarty.foreach.messageList.index % 2}alternate_item{else}item{/if}">
 <td>
  {if isset($message.ename) && $message.ename}
   {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'}
  {elseif $message.clastname}
   {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'}
  {else}
   <b>{$shop_name|escape:'htmlall':'UTF-8'}</b>
  {/if}
  <br />
  {dateFormat date=$message.date_add full=1}
 </td>
 <td>{$message.message|nl2br}</td>
   </tr>
  {/foreach}
  </tbody>
 </table>
</div>
{/if}
{if isset($errors) && $errors}
 <div class="error">
  <p>{if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :</p>
  <ol>
  {foreach from=$errors key=k item=error}
   <li>{$error}</li>
  {/foreach}
  </ol>
 </div>
{/if}
{* <form action="{$link->getPageLink('order-detail.php', true)}" method="post" class="std" id="sendOrderMessage">
 <p class="bold">{l s='Add a message:'}</p>
 <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
 <p class="textarea">
  <textarea cols="67" rows="3" name="msgText"></textarea>
 </p>
 <p class="submit">
  <input type="hidden" name="id_order" value="{$order->id|intval}" />
  <input type="submit" class="button" name="submitMessage" value="{l s='Send'}"/>
 </p>
</form> *}
{else}
<p><img src="{$img_dir}icon/infos.gif" alt="" class="icon" /> {l s='You can\'t make a merchandise return with a guest account'}</p>
{/if}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...