Jump to content
Sign in to follow this  
HeidiG

Varens tilstand

Recommended Posts

Jeg vil gerne, på varesiden slette varens tilstand. Altså ny, brugt osv. da det ikke er relevant for min webshop eftersom alle varer er nye.

 

Jeg har i produkt.tpl funder og slette følgende, som jeg troede ville fjerne det fra siden:
 

Quote

 {if !$product->is_virtual && $product->condition}
   <p id="product_condition">
    <label>{l s='Condition:'} </label>
    {if $product->condition == 'new'}
     <link itemprop="itemCondition" href="https://schema.org/NewCondition"/>
     <span class="editable">{l s='New product'}</span>
    {elseif $product->condition == 'used'}
     <link itemprop="itemCondition" href="https://schema.org/UsedCondition"/>
     <span class="editable">{l s='Used'}</span>
    {elseif $product->condition == 'refurbished'}
     <link itemprop="itemCondition" href="https://schema.org/RefurbishedCondition"/>
     <span class="editable">{l s='Refurbished'}</span>
    {/if}
   

 

Men det har ikke gjort nogen forskel.

Hvad overser jeg???

 

 

Share this post


Link to post
Share on other sites

Hvilken version bruger du?

For i os 1.7 kan man deaktivere det ved oprettelse af varen.

Share this post


Link to post
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More