Jump to content

[SOLVED] Using new fields on manucfacturers


Christian.Isai

Recommended Posts

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

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...