Jump to content

Nagarajan

New Member
  • Posts

    2
  • Joined

  • Last visited

About Nagarajan

Nagarajan's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I tried also to use this code: $product = Capsule::table('tblproducts') ->join('tblpricing', 'tblproducts.id', '=', 'tblpricing.relid') ->where('tblpricing.type', '=', 'product') ->where('tblproducts.id', $PID) ->where('tblpricing.currency', 1) ->select('tblproducts.*', 'tblpricing.*') ->first(); $productname_translation = Capsule::table('tbldynamic_translations') ->where('related_id',$PID) ->where('language','russian') ->select('tbldynamic_translations.translation') ->get(); $ProductNameIRussian = $productname_translation[0]->translation; Buy it is not correct. It is not product name in Russian.
  2. Hello, The default language is English. I also activated Russian language and the product name is translated into Russian. In the line below, I get the name of the product in English: $ProductName = Product::getProductName(100, '', 'ru'); Please guide me?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated