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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

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