Avisos
Vaciar todo

Hosting WordPress 70% dto Dominios promo

modificar campos en identity.tpl  

 
oscar
 oscar
Usuario experto

hola buenas,

He eliminado correctamente el tratamiento (Sr./Sra.) y la fecha de nacimiento (y ya no son obligatorios ) en:
El registro principal (themes/mitema/authentication.tpl) también en el One page Checkout (themes/mitema/order-opc-account.tpl)

Es en la parte de "Mi información personal" (themes/mitema/identity.tpl) que no consigo hacer desaparecer el tratamiento (solo pone "Titulo" ya que Sr. / Sra. estan eliminados) y tampoco la fecha de nacimiento, las dos no son obligatorias, pero no quiero que se visualicen.

He probado en eliminar, comentar de varias maneras (, {* *}) el codigo que se encarga del tratamiento y la fecha, incluso he añadido texto para ver si las modificaciones que realizo en identity.tpl se visualizan, pero no hay manera, incluso he eliminado todo el código contenido entre

que lo que haria seria quitar todos los campos y me aparecen todos, también he borrado varias veces la caché en parametros avanzados del prestashop y tb en el navegador, pero no hay manera, es como si no estuviera modificado el archivo correcto .....

Mi pregunta és como hacer que mis modificaciones en identity.tpl surgan efecto? Porque las demas modificaciones (authentication.tpl y order-opc-new-account.tpl) si han funcionado y a la primera?

Utilizo el template PANDA http://themeforest.net/item/panda-responsive-prestashop-theme/9750650?ref=tantan199

Asi es como tengo el código en identity.tpl :

{*
* 2007-2014 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 license@prestashop.com 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
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}

{capture name=path}
getPageLink('my-account', true)|escape:'html':'UTF-8'}">
{l s='My account'}


{$navigationPipe}


{l s='Your personal information'}

{/capture}

{l s='Your personal information'}

{include file="$tpl_dir./errors.tpl"}
{if isset($confirmation) && $confirmation}

{l s='Your personal information has been successfully updated.'}
{if isset($pwd_changed)}
{l s='Your password has been sent to your email:'} {$email}{/if}

{else}

{l s='Please be sure to update your personal information if it has changed.'}

*{l s='Required field'}

getPageLink('identity', true)|escape:'html':'UTF-8'}" method="post" class="std">

<!--


{foreach from=$genders key=k item=gender}

{/foreach}

-->

hay alguien ahi?

<!--

-
{foreach from=$days item=v}
{$v}  
{/foreach}

{*
{l s='January'}
{l s='February'}
{l s='March'}
{l s='April'}
{l s='May'}
{l s='June'}
{l s='July'}
{l s='August'}
{l s='September'}
{l s='October'}
{l s='November'}
{l s='December'}
*}

-
{foreach from=$months key=k item=v}
{l s=$v} 
{/foreach}

-
{foreach from=$years item=v}
{$v}  
{/foreach}

-->

{if isset($newsletter) && $newsletter}

{/if}
{if isset($optin) && $optin}

{/if}
{if $b2b_enable}

{l s='Your company information'}


{/if}

Citar
Respondido : 02/03/2016 7:02 pm
Jhon
 Jhon
Soporte CMS Webempresa Moderator

Hola

Debes estar haciendo mal alguna modificación, sin embargo lo mejor sería ocultar estos campos por CSS y evitar tocar estos archivo .tpl

Tienes que decirnos la url de tu sitio web y enviar un usuario registrado para el front-end en caso ser necesario para ver la factibilidad de ocultar los campos por CSS.

PD. si quieres enviar todo el archivo era mejor que lo comprimas en formato .zip y lo adjuntes

ResponderCitar
Respondido : 02/03/2016 9:18 pm

optimiza-automaticamente-todas-las-imagenes-de-tu-wordpress