Jump to content

PS 1.4 Product Location and Condition on product Page not translating


miaral

Recommended Posts

I added two fields below reference in Product Page as shown in the image. The issue I have is when I switch language the Location and condition label do not translate. The values for condition (new, used, etc.) do not translate either.

 

This is added code for product.tpl

 

<!-- Referencia -->

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

<label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape:'htmlall':'UTF-8'}</span></p>

 

<!-- Ubicacion] -->

<p id="product_location" {if isset($groups) OR !$product->location}style="display: none;"{/if}>

<label for="location">{l s='Location :'} </label><span class="editable">{$product->location|escape:'htmlall':'UTF-8'}</span></p>

 

<!-- Condicion] -->

<p id="condition_content" {if isset($groups) OR !$product->condition}style="display: none;"{/if}>

<label for="condition">{l s='Condition :'} </label><span class="editable">{l s=$product->condition|escape:'htmlall':'UTF-8'}</span></p>

 

I need this labels and condition values (New, Used, etc) to be translated on behalf the selected language. Thanks.

post-323187-0-23388700-1329921041_thumb.jpg

Link to comment
Share on other sites

  • 9 months later...

Eso no puedes traducirlo porque es un valor que esta tomando de la base de datos, puedes traducirlo pero de otra manera, aqui ayude a alguien con un caso igual, mira este post y cualquier cosa me avisas, saludos.

http://www.prestasho...__fromsearch__1

 

Hello. I have seen the possibility in the backoffice translation but the data in the translation seems to be correct and on my front office the value of the condition is always in english instead of french :-(

 

Any ideas ?

Edited by Runan (see edit history)
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...