Add store_description field for SEO
This commit is contained in:
@@ -271,6 +271,7 @@ return array(
|
||||
'Store logs into text file' => 'Store logs into text file',
|
||||
'Store logs into text file, up to a certian size, then a new file is created' => 'Store logs into text file, up to a certian size, then a new file is created',
|
||||
'Store name' => 'Store name',
|
||||
'Store description' => 'Store description',
|
||||
'Street Address' => 'Street Address',
|
||||
'Street Address ' => 'Street Address ',
|
||||
'Strictly use the requested language' => 'Strictly use the requested language',
|
||||
|
||||
@@ -271,6 +271,7 @@ return array(
|
||||
'Store logs into text file' => 'Conserver les logs dans des fichiers texte',
|
||||
'Store logs into text file, up to a certian size, then a new file is created' => 'Sauvegarder les logs dans un fichier texte. A partir d\'une certaine taille un nouveau fichier est créé',
|
||||
'Store name' => 'Nom du magasin',
|
||||
'Store description' => 'Description du magasin',
|
||||
'Street Address' => 'Adresse',
|
||||
'Street Address ' => 'Rue',
|
||||
'Strictly use the requested language' => 'Utiliser strictement la langue demandée',
|
||||
|
||||
@@ -160,6 +160,7 @@ return array(
|
||||
'Store logs into text file' => 'Archiviare i log in un file di testo',
|
||||
'Store logs into text file, up to a certian size, then a new file is created' => 'Archiviare i log in un file di testo, fino ad una certa dimensione, dopo viene creato un nuovo file',
|
||||
'Store name' => 'Nome del negozio',
|
||||
'Store description' => 'Descrizione del negozio',
|
||||
'Street Address' => 'Indirizzo',
|
||||
'Street Address ' => 'Indirizzo ',
|
||||
'Strictly use the requested language' => 'Utilizzare rigorosamente la lingua richiesta',
|
||||
|
||||
@@ -36,6 +36,7 @@ class ConfigStoreController extends BaseAdminController
|
||||
// Hydrate the store configuration form
|
||||
$configStoreForm = new ConfigStoreForm($this->getRequest(), 'form', array(
|
||||
'store_name' => ConfigQuery::read("store_name"),
|
||||
'store_description' => ConfigQuery::read("store_description"),
|
||||
'store_email' => ConfigQuery::read("store_email"),
|
||||
'store_business_id' => ConfigQuery::read("store_business_id"),
|
||||
'store_phone' => ConfigQuery::read("store_phone"),
|
||||
|
||||
@@ -29,6 +29,13 @@ class ConfigStoreForm extends BaseForm
|
||||
"for" => "store_name"
|
||||
)
|
||||
))
|
||||
->add("store_description", "text", array(
|
||||
"label" => Translator::getInstance()->trans('Store description'),
|
||||
"label_attr" => array(
|
||||
"for" => "store_description"
|
||||
),
|
||||
"required" => false
|
||||
))
|
||||
->add("store_email", "text", array(
|
||||
"constraints" => array(
|
||||
new Constraints\NotBlank(),
|
||||
|
||||
Reference in New Issue
Block a user