Jump to content

How to I remove the "Reference" and "Available Stock" on my site?


Recommended Posts

  • 4 months later...

i do understand that i need to edit product.tpl

i just dont know what exactly i should comment out there, not even sure if that is what i need to do :\

 

i've tried with this bit of it, but didnt help. i commented out the whole section

 

 

<p id="availability_statut"{if ($product->quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display:none;"{/if}>

<span id="availability_label">{l s='Availability:'}</span>

<span id="availability_value"{if $product->quantity <= 0} class="warning_inline"{/if}>

{if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if}

</span>

Link to comment
Share on other sites

  • 1 year later...
Comment out these lines in product.tpl

 

Or you can completely delete them.

 

Or just delete them from your mind. Whichever method works for you.

 

<!--

 

<p id="product_reference"{if empty($product->reference) || !$product->reference} style="display: none;"{/if}>

<label>{l s='Model'} </label>

<span class="editable" itemprop="sku">{if !isset($groups)}{$product->reference|escape:'html':'UTF-8'}{/if}</span>

</p>

{capture name=condition}

{if $product->condition == 'new'}

                {l s='New'}

{elseif $product->condition == 'used'}

                {l s='Used'}

{elseif $product->condition == 'refurbished'}

                {l s='Refurbished'}

{/if}

{/capture}

<p id="product_condition"{if !$product->condition} style="display: none;"{/if}>

<label>{l s='Condition'} </label>

<span class="editable" itemprop="condition">{$smarty.capture.condition}</span>

</p>

 

-->

  • Like 1
Link to comment
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
×
×
  • Create New...