deroxonweb Posted April 3, 2012 Share Posted April 3, 2012 Hello Sir/Madam, Could somebody teach me how to remove the link at product description? I have the code as: <p class="product_desc"><a class="product_descr" href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.description_short}</a></p> I would like to display only the product description content, but remove the link related. Please advice and help. Thank you very much. Best regards, Derox Link to comment Share on other sites More sharing options...
tdr170 Posted April 3, 2012 Share Posted April 3, 2012 Based on this line of code remove the text in red, this part creates the link. <p class="product_desc"><a class="product_descr" href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.description_short}</a></p> Link to comment Share on other sites More sharing options...
deroxonweb Posted April 4, 2012 Author Share Posted April 4, 2012 Thank you very much tdr170. I solved the problem finally. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 No problem Please mark post as [solved]. Link to comment Share on other sites More sharing options...
webtintin Posted March 10, 2013 Share Posted March 10, 2013 HI, on Prestashop 1.4.8.3 to remove the link to the Product Description at STEP 01 you have to modify the file in your theme : shopping-cart-product-line.tpl The line to modify are the following : <td class="cart_description"> <h5><a class="product_link" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.name|escape:'htmlall':'UTF-8'}</a></h5> {if isset($product.attributes) && $product.attributes}<a class="product_descr" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'htmlall':'UTF-8'}">{$product.attributes|escape:'htmlall':'UTF-8'}</a>{/if} </td> in <td class="cart_description"> <h5><a class="product_link" >{$product.name|escape:'htmlall':'UTF-8'}</a></h5> {if isset($product.attributes) && $product.attributes}<a class="product_descr">{$product.attributes|escape:'htmlall':'UTF-8'}</a>{/if} </td> SOLVED 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