{"id":4050,"date":"2010-08-12T15:29:28","date_gmt":"2010-08-12T13:29:28","guid":{"rendered":"https:\/\/www.artera.net\/it\/blog\/?p=4050"},"modified":"2023-02-27T14:56:15","modified_gmt":"2023-02-27T14:56:15","slug":"come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento","status":"publish","type":"post","link":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/","title":{"rendered":"Come creare un modulo per aggiungere attributi alle categorie di Magento"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignleft size-full wp-image-708\" src=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg\" alt=\"Logo-magento\" width=\"171\" height=\"47\" \/>Dopo aver visto, attraverso diversi <a href=\"https:\/\/www.artera.net\/it\/blog\/tag\/magento\">tutorial<\/a>, come sfruttare a pieno le funzionalit\u00e0 gi\u00e0 incluse nel nostro e-commerce <strong>Magento<\/strong>, vediamo ora quali sono gli strumenti messi a disposizione dall&#8217;applicazione per <strong>estendere le sue funzionalit\u00e0<\/strong> standard. Impareremo a realizzare un <strong>modulo<\/strong> per aggiungere un attributo alle categorie del nostro negozio online.<\/p>\n<h3>Gli attributi in Magento<\/h3>\n<p>Aggiungere <strong>attributi<\/strong> ai <strong>prodotti<\/strong> del nostro catalogo \u00e8 una pratica usuale per chi lavora con Magento, e tale pratica \u00e8 agevolata da un&#8217;apposita interfaccia del back-office del nostro ecommerce.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-4064\" src=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/08\/gestione-attributi.png\" alt=\"gestione-attributi\" width=\"600\" height=\"231\" \/><\/p>\n<p>Sfortunatamente, attraverso tale interfaccia, \u00e8 possibile\u00a0gestire\u00a0solamente gli attributi dei prodotti. Nel caso si voglia aggiungere un attributo ad altri elementi (es. catagorie, clienti&#8230;) l&#8217;unica strada percorribile \u00e8 quella della realizzazione di un <strong>modulo<\/strong> (o <strong>estensione<\/strong>) che con delle semplici righe di codice si occupi della creazione di tale attributo.<\/p>\n<h3>La struttura del nostro modulo<\/h3>\n<p>Il nostro modulo sar\u00e0 composto da una serie di files. Di seguito l&#8217;elenco di quelli che andremo a creare.<\/p>\n<ol>\n<li>app\/etc\/modules\/Artera_CategoriesAttributes.xml<\/li>\n<li>app\/code\/local\/Artera\/CategoriesAttributes\/etc\/config.xml<\/li>\n<li>app\/code\/local\/Artera\/CategoriesAttributes\/sql\/ categoriesattributes_setup\/mysql4-install-0.1.0.php<\/li>\n<\/ol>\n<p>Vediamo ora passo per passo il contenuto dei singoli file.<\/p>\n<h4>app\/etc\/modules\/Artera_CategoriesAttributes.xml<\/h4>\n<p>[xml]<br \/>\n&lt;?xml version=&quot;1.0&quot;?&gt;<br \/>\n&lt;config&gt;<br \/>\n    &lt;modules&gt;<br \/>\n        &lt;Artera_CategoriesAttributes&gt;<br \/>\n            &lt;active&gt;true&lt;\/active&gt;<br \/>\n            &lt;codePool&gt;local&lt;\/codePool&gt;<br \/>\n        &lt;\/Artera_CategoriesAttributes&gt;<br \/>\n    &lt;\/modules&gt;<br \/>\n&lt;\/config&gt;<br \/>\n[\/xml]<\/p>\n<p>Obiettivo di questo file \u00e8 quello di &#8220;comunicare&#8221; a Magento la presenza del nostro nuovo modulo. In particolare si precisa che sar\u00e0 contenuto nel &#8220;<strong>codepool<\/strong>&#8221; &#8220;<strong>local<\/strong>&#8220;, che il suo nome \u00e8 &#8220;<strong>CategoriesAttributes<\/strong>&#8221; e che \u00e8 inserito all&#8217;interno del Namespace &#8220;<strong>Artera<\/strong>&#8220;.<\/p>\n<h4>app\/code\/local\/Artera\/CategoriesAttributes\/etc\/config.xml<\/h4>\n<p>[xml]<br \/>\n&lt;?xml version=&quot;1.0&quot;?&gt;<br \/>\n&lt;config&gt;<br \/>\n\t&lt;modules&gt;<br \/>\n\t\t&lt;Artera_CategoriesAttributes&gt;<br \/>\n\t\t\t&lt;version&gt;0.1.0&lt;\/version&gt;<br \/>\n\t\t&lt;\/Artera_CategoriesAttributes&gt;<br \/>\n\t&lt;\/modules&gt;<br \/>\n\t&lt;global&gt;<br \/>\n\t\t&lt;resources&gt;<br \/>\n\t\t\t&lt;categoriesattributes_setup&gt;<br \/>\n\t\t\t\t&lt;setup&gt;<br \/>\n\t\t\t\t&lt;module&gt;Artera_CategoriesAttributes&lt;\/module&gt;<br \/>\n\t\t\t\t&lt;class&gt;Mage_Catalog_Model_Resource_Eav_Mysql4_Setup&lt;\/class&gt;<br \/>\n\t\t\t\t&lt;\/setup&gt;<br \/>\n\t\t\t\t&lt;connection&gt;<br \/>\n\t\t\t\t&lt;use&gt;core_setup&lt;\/use&gt;<br \/>\n\t\t\t\t&lt;\/connection&gt;<br \/>\n\t\t\t&lt;\/categoriesattributes_setup&gt;<br \/>\n\t\t&lt;\/resources&gt;<br \/>\n\t&lt;\/global&gt;<br \/>\n\t&lt;adminhtml&gt;<br \/>\n\t\t&lt;events&gt;<br \/>\n\t\t\t&lt;catalog_category_prepare_save&gt;<br \/>\n\t\t\t\t&lt;observers&gt;<br \/>\n\t\t\t\t\t&lt;categoriesattributes&gt;<br \/>\n\t\t\t\t\t\t&lt;class&gt;categoriesattributes\/observer&lt;\/class&gt;<br \/>\n\t\t\t\t\t\t&lt;method&gt;categorySave&lt;\/method&gt;<br \/>\n\t\t\t\t\t&lt;\/categoriesattributes&gt;<br \/>\n\t\t\t\t&lt;\/observers&gt;<br \/>\n\t\t\t&lt;\/catalog_category_prepare_save&gt;<br \/>\n\t\t&lt;\/events&gt;<br \/>\n\t&lt;\/adminhtml&gt;<br \/>\n&lt;\/config&gt;<br \/>\n[\/xml]<\/p>\n<p>&#8220;<strong>config.xml<\/strong>&#8221; \u00e8 il file di configurazione del nostro modulo attraverso il quale andremo a informare il core di Magento, sulla presenza di un file contenente le istruzioni per la creazione dell&#8217;attributo in questione. Fare molta attenzione: qual&#8217;ora avessimo in precedenza modificato (nel file descritto sopra) il nome del modulo (&#8220;CategoriesAttributes&#8221;) e\/o il namespace (&#8220;Artera&#8221;), tali modifiche vanno apportate anche in questo file.<\/p>\n<h4>app\/code\/local\/Artera\/CategoriesAttributes\/sql\/ categoriesattributes_setup\/mysql4-install-0.1.0.php<\/h4>\n<p>[php]<br \/>\n$installer = $this;<br \/>\n$installer-&gt;startSetup();<br \/>\n$installer-&gt;addAttribute(&#8216;catalog_category&#8217;, &#8216;artera_categoriesattributes_mioattributo&#8217;, array(<br \/>\n\t&#8216;type&#8217;              =&gt; &#8216;decimal&#8217;,<br \/>\n\t&#8216;backend&#8217;           =&gt; &#8221;,<br \/>\n\t&#8216;frontend&#8217;          =&gt; &#8221;,<br \/>\n\t&#8216;label&#8217;             =&gt; &#8216;Nome del mio attributo&#8217;,<br \/>\n\t&#8216;input&#8217;             =&gt; &#8216;text&#8217;,<br \/>\n\t&#8216;class&#8217;             =&gt; &#8221;,<br \/>\n\t&#8216;source&#8217;            =&gt; &#8221;,<br \/>\n\t&#8216;global&#8217;            =&gt; 0,<br \/>\n\t&#8216;visible&#8217;           =&gt; 1,<br \/>\n\t&#8216;required&#8217;          =&gt; 0,<br \/>\n\t&#8216;user_defined&#8217;      =&gt; 0,<br \/>\n\t&#8216;default&#8217;           =&gt; &#8221;,<br \/>\n\t&#8216;searchable&#8217;        =&gt; 0,<br \/>\n\t&#8216;filterable&#8217;        =&gt; 0,<br \/>\n\t&#8216;comparable&#8217;        =&gt; 0,<br \/>\n\t&#8216;visible_on_front&#8217;  =&gt; 0,<br \/>\n\t&#8216;unique&#8217;            =&gt; 0,<br \/>\n\t&#8216;position&#8217;          =&gt; 1,<br \/>\n));<br \/>\n$installer-&gt;endSetup();<br \/>\n[\/php]<\/p>\n<p>Ed ecco finalmente il file con il codice per la creazione dell&#8217;attributo. In questo file andremo a definire che tale attributo sar\u00e0 un attributo di categoria (&#8220;&#8216;<strong>catalog_category<\/strong>&#8216;&#8221;), il suo codice identificativo sar\u00e0 &#8220;<strong>artera_categoriesattributes_mioattributo<\/strong>&#8221; e l&#8217;etichetta del campo mostrato nel back-office sar\u00e0 &#8220;<strong>Nome del mio attributo<\/strong>&#8220;.<\/p>\n<p>Ora che abbiamo preparato correttamente tutti i file, non ci resta che vedere il nostro modulo all&#8217;opera.<br \/>\nColleghiamoci alla lista delle categorie del nostro store (dal menu &#8220;<strong>Catalogo<\/strong>&#8220;, clicchiamo &#8220;<strong>Gestione Categorie<\/strong>&#8220;). Troveremo il nostro nuovo attributo, come illustrato nell&#8217;immagine seguente:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-4160\" src=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/08\/pagina-categoria.png\" alt=\"pagina-categoria\" width=\"600\" height=\"501\" \/><\/p>\n<h3>Come disattivare il modulo<\/h3>\n<p>Qual&#8217;ora volessimo disattivare il modulo appena creato, sar\u00e0 sufficiente collegarsi nella sezione &#8220;<strong>Avanzato<\/strong>&#8221; dal back-end del nostro negozio (Dal men\u00f9 &#8220;<strong>Sistema<\/strong>&#8220;, selezioniamo la voce &#8220;<strong>Configurazione<\/strong>&#8220;. Verso il fondo del men\u00f9 laterale di sinistra, troveremo tale sezione). Come illustrato in figura:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4167\" src=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/08\/lista-estensioni.png\" alt=\"lista-estensioni\" width=\"600\" height=\"204\" \/><\/p>\n<p>in questa sezione troviamo la lista di tutti i moduli installati nel nostro e-commerce, con la possibilit\u00e0 di attivarli o disattivarli.<\/p>\n<h3>Come utilizzare l&#8217;attributo<\/h3>\n<p>Vediamo infine come recuperare il valore del nuovo attributo che abbiamo creato. Ipotizzando di voler stampare a video, all&#8217;interno della lista dei prodotti di una categoria (template catalog\/category\/view.phtml), il valore dell&#8217;attributo appena creato, sar\u00e0 sufficiente inserire queste semplici righe di codice.<\/p>\n<p>[php]$_category-&amp;gt;getData(&quot;artera_categoriesattributes_mioattributo&quot;);[\/php]<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" class=\"alignleft size-full wp-image-708\" src=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg\" alt=\"Logo-magento\" width=\"171\" height=\"47\" \/>Dopo aver visto, attraverso diversi <a href=\"https:\/\/www.artera.net\/it\/blog\/tag\/magento\">tutorial<\/a>, come sfruttare a pieno le funzionalit\u00e0 gi\u00e0 incluse nel nostro e-commerce <strong>Magento<\/strong>, vediamo ora quali sono gli strumenti messi a disposizione dall&#8217;applicazione per <strong>estendere le sue funzionalit\u00e0<\/strong> standard. Impareremo a realizzare un <strong>modulo<\/strong> per aggiungere un attributo alle categorie del nostro negozio online.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[83],"tags":[92,95],"class_list":["post-4050","post","type-post","status-publish","format-standard","hentry","category-ecommerce","tag-magento","tag-tutorial-magento"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera<\/title>\n<meta name=\"description\" content=\"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera\" \/>\n<meta property=\"og:description\" content=\"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/\" \/>\n<meta property=\"og:site_name\" content=\"Artera\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/artera.net\/\" \/>\n<meta property=\"article:published_time\" content=\"2010-08-12T13:29:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-27T14:56:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg\" \/>\n<meta name=\"author\" content=\"Sergio Ravera\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergio Ravera\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/\"},\"author\":{\"name\":\"Sergio Ravera\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#\\\/schema\\\/person\\\/48ffb6b3727677643fbfd3ecf0a10aa0\"},\"headline\":\"Come creare un modulo per aggiungere attributi alle categorie di Magento\",\"datePublished\":\"2010-08-12T13:29:28+00:00\",\"dateModified\":\"2023-02-27T14:56:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/\"},\"wordCount\":802,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2010\\\/03\\\/Logo-magento.jpg\",\"keywords\":[\"Magento\",\"Tutorial Magento\"],\"articleSection\":[\"Ecommerce\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/\",\"url\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/\",\"name\":\"\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2010\\\/03\\\/Logo-magento.jpg\",\"datePublished\":\"2010-08-12T13:29:28+00:00\",\"dateModified\":\"2023-02-27T14:56:15+00:00\",\"description\":\"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2010\\\/03\\\/Logo-magento.jpg\",\"contentUrl\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2010\\\/03\\\/Logo-magento.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/ecommerce\\\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.artera.net\\\/it\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Come creare un modulo per aggiungere attributi alle categorie di Magento\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#website\",\"url\":\"https:\\\/\\\/www.artera.net\\\/it\\\/\",\"name\":\"Artera\",\"description\":\"Swiss Premium Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.artera.net\\\/it\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#organization\",\"name\":\"Artera\",\"url\":\"https:\\\/\\\/www.artera.net\\\/it\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/artera-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.artera.net\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/artera-logo.png\",\"width\":300,\"height\":77,\"caption\":\"Artera\"},\"image\":{\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/artera.net\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/artera\\\/\",\"https:\\\/\\\/www.instagram.com\\\/artera_swiss\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.artera.net\\\/it\\\/#\\\/schema\\\/person\\\/48ffb6b3727677643fbfd3ecf0a10aa0\",\"name\":\"Sergio Ravera\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g\",\"caption\":\"Sergio Ravera\"},\"description\":\"Raised in a family tradition of merchants, my entrepreneurial spirit drove me to launch my first e-commerce venture in 1998. My vision and dedication led, in 2002, to the founding of Artera, now a leading brand in premium managed cloud hosting services. As Chief Executive Officer, I lead DHH Switzerland SA, part of the international DHH S.p.A. group, listed on the Milan Stock Exchange with the reference code (AIM \u2013 ISIN: IT0005203622). It is under this brand that the Artera brand continues to grow and thrive. In addition to my commitment to the business world, I am an active researcher in the field of new technologies, always fascinated by cutting-edge innovations in the industry.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sergioravera\\\/\"],\"url\":\"https:\\\/\\\/www.artera.net\\\/it\\\/author\\\/sergio-ravera\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera","description":"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/","og_locale":"it_IT","og_type":"article","og_title":"\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera","og_description":"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.","og_url":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/","og_site_name":"Artera","article_publisher":"https:\/\/www.facebook.com\/artera.net\/","article_published_time":"2010-08-12T13:29:28+00:00","article_modified_time":"2023-02-27T14:56:15+00:00","og_image":[{"url":"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg","type":"","width":"","height":""}],"author":"Sergio Ravera","twitter_card":"summary_large_image","twitter_misc":{"Scritto da":"Sergio Ravera","Tempo di lettura stimato":"4 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#article","isPartOf":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/"},"author":{"name":"Sergio Ravera","@id":"https:\/\/www.artera.net\/it\/#\/schema\/person\/48ffb6b3727677643fbfd3ecf0a10aa0"},"headline":"Come creare un modulo per aggiungere attributi alle categorie di Magento","datePublished":"2010-08-12T13:29:28+00:00","dateModified":"2023-02-27T14:56:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/"},"wordCount":802,"commentCount":14,"publisher":{"@id":"https:\/\/www.artera.net\/it\/#organization"},"image":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#primaryimage"},"thumbnailUrl":"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg","keywords":["Magento","Tutorial Magento"],"articleSection":["Ecommerce"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/","url":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/","name":"\u2022 Come creare un modulo per aggiungere attributi alle categorie di Magento - Artera","isPartOf":{"@id":"https:\/\/www.artera.net\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#primaryimage"},"image":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#primaryimage"},"thumbnailUrl":"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg","datePublished":"2010-08-12T13:29:28+00:00","dateModified":"2023-02-27T14:56:15+00:00","description":"Leggi dal blog: Come creare un modulo per aggiungere attributi alle categorie di Magento. Contattaci per una partnership! Artera Swiss Premium Hosting news, articoli e notizie interessanti dal mondo digitale.","breadcrumb":{"@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#primaryimage","url":"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg","contentUrl":"https:\/\/www.artera.net\/wp-content\/uploads\/2010\/03\/Logo-magento.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.artera.net\/it\/ecommerce\/come-creare-un-modulo-per-aggiungere-attributi-alle-categorie-di-magento\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.artera.net\/it\/"},{"@type":"ListItem","position":2,"name":"Come creare un modulo per aggiungere attributi alle categorie di Magento"}]},{"@type":"WebSite","@id":"https:\/\/www.artera.net\/it\/#website","url":"https:\/\/www.artera.net\/it\/","name":"Artera","description":"Swiss Premium Hosting","publisher":{"@id":"https:\/\/www.artera.net\/it\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.artera.net\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/www.artera.net\/it\/#organization","name":"Artera","url":"https:\/\/www.artera.net\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/www.artera.net\/it\/#\/schema\/logo\/image\/","url":"https:\/\/www.artera.net\/wp-content\/uploads\/2019\/09\/artera-logo.png","contentUrl":"https:\/\/www.artera.net\/wp-content\/uploads\/2019\/09\/artera-logo.png","width":300,"height":77,"caption":"Artera"},"image":{"@id":"https:\/\/www.artera.net\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/artera.net\/","https:\/\/www.linkedin.com\/company\/artera\/","https:\/\/www.instagram.com\/artera_swiss\/"]},{"@type":"Person","@id":"https:\/\/www.artera.net\/it\/#\/schema\/person\/48ffb6b3727677643fbfd3ecf0a10aa0","name":"Sergio Ravera","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/618f2c20338bb422bd317eae8d6c9c097ba85d3f5a1da18e21ecf5da5ee3a448?s=96&d=mm&r=g","caption":"Sergio Ravera"},"description":"Raised in a family tradition of merchants, my entrepreneurial spirit drove me to launch my first e-commerce venture in 1998. My vision and dedication led, in 2002, to the founding of Artera, now a leading brand in premium managed cloud hosting services. As Chief Executive Officer, I lead DHH Switzerland SA, part of the international DHH S.p.A. group, listed on the Milan Stock Exchange with the reference code (AIM \u2013 ISIN: IT0005203622). It is under this brand that the Artera brand continues to grow and thrive. In addition to my commitment to the business world, I am an active researcher in the field of new technologies, always fascinated by cutting-edge innovations in the industry.","sameAs":["https:\/\/www.linkedin.com\/in\/sergioravera\/"],"url":"https:\/\/www.artera.net\/it\/author\/sergio-ravera\/"}]}},"_links":{"self":[{"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/posts\/4050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/comments?post=4050"}],"version-history":[{"count":4,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/posts\/4050\/revisions"}],"predecessor-version":[{"id":216361,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/posts\/4050\/revisions\/216361"}],"wp:attachment":[{"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/media?parent=4050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/categories?post=4050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.artera.net\/it\/wp-json\/wp\/v2\/tags?post=4050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}