Jump to content

Remove the condition new etc text


verhoejw

Recommended Posts

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.

Link to comment
Share on other sites

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 by verhoejw
Link to comment
Share on other sites

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} *}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...