Forums / General / Basket translation problem

Basket translation problem

Author Message

Tiziano Zonta

Monday 28 November 2005 12:25:00 am

I'm building an ezshop in 3 languages.I have customized the class Product and also the files basket.tpl,confirmorder.tpl, overview.tpl and orderemail.tpl.
To display the product_code of a product I have write this line in all the files:


{section var=product_item loop=$basket.items}
    
[...]
      
<td class="{$product_item.sequence} product-details">
   {attribute_view_gui attribute=$product_item.item.item_object.contentobject.main_node.data_map.product_code}		
</td>

When I access at the site in Italian language (primary language) the site works fine.
If I access at the site in another language (i.e. en or ru) I can't see the value of the product_code in all the above-mentioned files (basket.tpl,confirmorder.tpl, overview.tpl and orderemail.tpl).

I have also tryed this line but with the same results:


{$product_item.item.item_object.contentobject.main_node.data_map.product_number.content|wash()}

Ɓukasz Serwatka

Monday 28 November 2005 1:03:55 am

Tiziano, which datatype is product code? Is "Disable translation" flag set?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Tiziano Zonta

Monday 28 November 2005 4:09:39 am

product code is a text line and translation flag is enable

Tiziano Zonta

Wednesday 30 November 2005 2:52:58 pm

Nobody can help me?
I'm stuck with this problem