guillenqn Posted June 11, 2012 Share Posted June 11, 2012 Los teléfonos de mis tiendas aparecen 2 veces. ¿Cómo lo edito? Link to comment Share on other sites More sharing options...
shacker Posted June 16, 2012 Share Posted June 16, 2012 raro, fijate el archivo stores.tpl de tu template Link to comment Share on other sites More sharing options...
nadie Posted June 16, 2012 Share Posted June 16, 2012 Sustituye el stores.tpl de la plantilla por defecto, por el de la tuya y cuéntanos. Link to comment Share on other sites More sharing options...
guillenqn Posted June 16, 2012 Author Share Posted June 16, 2012 raro, fijate el archivo stores.tpl de tu template Sustituye el stores.tpl de la plantilla por defecto, por el de la tuya y cuéntanos. Son los dos TPL iguales, creo que tengo que editar esto: {if $simplifiedStoresDiplay}{if $stores|@count} <p>{l s='Here are the details of our stores, feel free to contact us:'}</p> {foreach from=$stores item=store} <div class="store-small"> {if $store.has_picture}<p><img src="{$img_store_dir}{$store.id_store}-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /></p>{/if} <p> <b>{$store.name|escape:'htmlall':'UTF-8'}</b><br /> {$store.address1|escape:'htmlall':'UTF-8'}<br /> {if $store.address2}{$store.address2|escape:'htmlall':'UTF-8'}{/if}<br /> {$store.postcode} {$store.city|escape:'htmlall':'UTF-8'}{if $store.state}, {$store.state}{/if}<br /> </p> </div> {/foreach} {/if} {else} Link to comment Share on other sites More sharing options...
nadie Posted June 16, 2012 Share Posted June 16, 2012 Revisa el fichero /controllers/StoresController.php Y revisa por ejemplo esto: $newnode->setAttribute('phone', $store['phone']); Link to comment Share on other sites More sharing options...
nadie Posted June 16, 2012 Share Posted June 16, 2012 Revisa también el fichero /js/stores.js por si las moscas. Link to comment Share on other sites More sharing options...
nadie Posted June 16, 2012 Share Posted June 16, 2012 Revisa esto: http://www.prestashop.com/forums/topic/1210[spam-filter]store-locator-use-email-address-notes-field/ Link to comment Share on other sites More sharing options...
guillenqn Posted June 16, 2012 Author Share Posted June 16, 2012 Editando el storescontroller elimine la línea del phone pero igual sale en el front el texto "telefono null" Link to comment Share on other sites More sharing options...
Recommended Posts