OXID Community Forum

> International Forums > Modules > how to get product details with respect to language
Login
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread: how to get product details with respect to language


Reply
 
Thread Tools Display Modes
#Top   #1  
Old 02-28-2012, 06:41 AM
awaisqarni awaisqarni is offline
Member
Join Date: Feb 2012
Posts: 50
awaisqarni is on a distinguished road
Question how to get product details with respect to language

hi All, I am here again :-)
I want to know that is there any way to get product detail with respect to language? For example a product say, "My Product" is available in 2 languages, in "English and German".
In English it has name "My Product" and in German it has "My Product- DE" and same other details like, product link, images, short description, long description.

I have seen the database structure and I have seen structure like "OXTITLE, OXTITLE1, OXTITLE2", no indication that which title is in which language. If I want to get the German title of the product then which column to fetch and same for other language specific columns?
Is there any way? How can I do this task?
Reply With Quote
#Top   #2  
Old 02-28-2012, 06:46 AM
Hebsacker's Avatar
Hebsacker Hebsacker is online now
Moderator
Join Date: Feb 2009
Location: Freie Republik Hohenlohe
Posts: 11,481
Hebsacker is on a distinguished road
Default AW: how to get product details with respect to language

check the language settings in backend and search for their language ID
__________________
Ray
www.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche
www.haller-stahlwaren.de____________________._____Tipps zum Forum
_________________________________________._____Forum für Dummies
Reply With Quote
#Top   #3  
Old 02-28-2012, 07:02 AM
awaisqarni awaisqarni is offline
Member
Join Date: Feb 2012
Posts: 50
awaisqarni is on a distinguished road
Default Re: AW: how to get product details with respect to language

Quote:
Originally Posted by Hebsacker View Post
check the language settings in backend and search for their language ID
First where to search ids of the language? Second you mean that I put language id with title? if 0 them title, if 1 then title1....etc. Is it?
Reply With Quote
#Top   #4  
Old 02-28-2012, 08:03 AM
Hebsacker's Avatar
Hebsacker Hebsacker is online now
Moderator
Join Date: Feb 2009
Location: Freie Republik Hohenlohe
Posts: 11,481
Hebsacker is on a distinguished road
Default AW: how to get product details with respect to language

go to Backend -> Master Settings -> Languages and click on one of them

You will find the Language ID then in the details tab, right above the field "Sorting".

And yes - language ID 0 ist oxtitle, language ID 1 ist oxtitle_1 and so on.
__________________
Ray
www.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche
www.haller-stahlwaren.de____________________._____Tipps zum Forum
_________________________________________._____Forum für Dummies
Reply With Quote
Reply

Bookmarks

Tags
details, language, product, respect

« Previous Thread | Next Thread »
Thread Tools
Display Modes

Nicht Sichtbar
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oberkategorien in der details.tpl und product.tpl auslesen gajel Templates und Design 3 02-08-2012 10:35 AM
Product search by product description (oxartextends) tmikla Newbies 5 05-25-2011 04:48 PM
language-depending blocks (if language == en or smth. like that) demetrius Templates and Design 2 12-21-2010 05:03 PM
Can a language be removed from a product? spurvis Newbies 10 11-16-2010 02:29 PM
Change backend language (/out/admin/nl)? New standard language Anne M Administration 6 03-14-2010 08:12 PM

All times are GMT +1. The time now is 05:58 AM.