fonimon Posted June 11, 2019 Share Posted June 11, 2019 I am trying to expand the info of the article so that I get the description in the articles of the category, I have added in product.tpl several lines saying that I want to leave "description" but I get the html tags I want to expand it with a table but it does not appear Link to comment Share on other sites More sharing options...
NemoPS Posted June 14, 2019 Share Posted June 14, 2019 Can you take a screenshot of the part you are trying to edit? It's not clear if you want to change the product page or the product list Link to comment Share on other sites More sharing options...
fonimon Posted June 17, 2019 Author Share Posted June 17, 2019 {block name='product_description'} {if $page.page_name == 'index'} <itemprop="description">{$product.description|strip_tags:'UTF-8'|truncate:250:'...'} {else} <itemprop="description">{$product.description|strip_tags:'UTF-8'|truncate:250:'...'} {/if} {/block} I have a problem, I want to put in the thumbnail of the product description, in the category a table, but when I put the html of the table in the description tab, in the frontoffice I get the html tags. When editing the file _partials / miniature / product.tpl in the block {block name = 'product_description'} I put <itemprop = "description"> {$ product.description | strip_tags: 'UTF-8' | truncate: 250: '...'} so that I do not get the HTML tags, but the text comes out without formatting or style and it is not seen with a table format. How can I do it? Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now