verhoejw Posted December 2, 2015 Share Posted December 2, 2015 Hi, I want to remove ( not shown ) the condition line in de product page. What do i need to edit?Ty Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 2, 2015 Share Posted December 2, 2015 In the template file content.product.php, for Foundation near lines 189-192:Find: <tr> <td>{$LANG.common.condition}</td> <td>{$PRODUCT.condition}</td> </tr> Change to: {* <tr> <td>{$LANG.common.condition}</td> <td>{$PRODUCT.condition}</td> </tr> *} This changes this table row into a template comment and will not appear in the final rendered HTML. Quote Link to comment Share on other sites More sharing options...
verhoejw Posted December 2, 2015 Author Share Posted December 2, 2015 (edited) no such code here only this:<h1>{$PRODUCT.name}</h1> <section class="specifics"> {$LANG.catalogue.product_code}: {$PRODUCT.product_code} {if $PRODUCT.stock_level} | {$LANG.catalogue.stock_level}: {$PRODUCT.stock_level} {/if} {if $PRODUCT.manufacturer} | {$LANG.catalogue.manufacturer}: {$MANUFACTURER} {/if} {if $PRODUCT.condition} | {$LANG.common.condition}: {$PRODUCT.condition} {/if} {if $PRODUCT.product_weight > 0} | {$LANG.common.weight}: {$PRODUCT.product_weight}{$CONFIG.product_weight_unit} {/if} </section> Edited December 2, 2015 by verhoejw Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 2, 2015 Share Posted December 2, 2015 This may be a template from a skin that is other than Foundation. Still, the edit is the same:From: {if $PRODUCT.condition} | {$LANG.common.condition}: {$PRODUCT.condition} {/if} To: {* {if $PRODUCT.condition} | {$LANG.common.condition}: {$PRODUCT.condition} {/if} *} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.