Christian.Isai Posted April 17, 2014 Share Posted April 17, 2014 I've created new fields on the manufacturers ( 4 of them 2 of them are translatable) /** @var string Region */ public $laregion; /** @var string address */ public $ladireccion; /** @var string website */ public $website; /** @var string Is from quebec? */ public $quebec; the fields appear and everthing works ok, information is stored in databes in all of them without any issue. but when I want to get them in manufacturer-list both variables that have multiple languages are not accesible in product list (they do appear on each manufacturer page). but the other 2 do appear can you explain me why? $manufacturers Smarty_Variable Object (3) ->value = Array (1) 0 => Array (12) id_manufacturer => "5" name => "test test" date_add => "2014-04-16 15:20:04" date_upd => "2014-04-16 16:19:36" active => "1" website => "website.com" quebec => "0" description => "<p>test</p>" short_description => "<p>test</p>" nb_products => "0" link_rewrite => 0 image => "en-default" ->nocache = false ->scope = "file:C:\wamp\www\prestashop/themes/Ma..." Thanks for your help. Link to comment Share on other sites More sharing options...
Christian.Isai Posted April 17, 2014 Author Share Posted April 17, 2014 I found my own solution (I kinda feel stupid now..)in the getmanufacturers function you have to ask for those columns.. SELECT m.*, ml.`description`, ml.`short_description`, ml.`laregion`,ml.`ladireccion` Thanks Link to comment Share on other sites More sharing options...
vekia Posted April 19, 2014 Share Posted April 19, 2014 thank you for information that you found a solution and of course for sharing it to our community topic marked as solved and your answer as a solution thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now