Jump to content

[SOLUCIONADO] Eliminar recuadro de descripción de articulos


Recommended Posts

He encontardo esto para quitar la descripcion del block features, pero no me funciona. Hago los cambios que pone y no pasa nada, incluso elimino el contenido del fichero /modules/homefeatured/homefeatured.tpl y no pasa nada. Alguien sabe si hay que tocar algo mas que el homefeatured.tpl o reiniciar algo ?



Based on this layout design, we will modify the FEATURED PRODUCTS block. If you want to edit the homefeatured module, go to /modules/homefeatured/homefeatured.tpl.
If you do not want the description on the FEATURED PRODUCTS block, you will have to perform the the following steps:


1. Comment the following portion of the homefeatured.tpl file. Insert {* and *} in the starting and at the end of it respectively:


{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}



{$product.description_short|strip_tags|truncate:130:'...'}



A ver si alguien me puede ayudar que llevo una semana con esto.

Gracias de ante mano.
Link to comment
Share on other sites

jpcalvo -> ¿Eliminas el homefeatured.tpl y no te da ningún error? Tienes activada la cache de PrestaShop por lo que no debieras ver ningún cambio que hagas en los .tpl. Para activar la cache (y así poder probar las modificaciones realmente) debes ir a config/smarty.config.inc.php y poner $smarty->force_compile a true.

applebong -> En el homefeatured.tpl debes eliminar esto:

                    
{$product.description_short|strip_tags|truncate:130:'...'}

Link to comment
Share on other sites

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