Arhive categorie: Magento

PhpStorm Magento2 urn resolve

I managed to do a fix for the urn (xsi element from xml files in Magento2) and this is important to forward.

XML Schema Resolution in PHP Storm with URNs (Quick Note)

As seen in the upper blog post the problem of unrecognised urn by PHPSTORM

So, accordingly to the latest updated as mentioned “a new CLI command ‘dev:urn-catalog:generate’. (Okay, you can see Eugene pointed it out in comments below!) You should probably save your current .idea/misc.xml file, but I just ran the following command from my project root directory”

Fix urn unrecognised by PhpStorm
bin/magento dev:urn-catalog:generate .idea/misc.xml

Now if you look inside your project folder in .idea/misc.xml – it should be populated, if not check permissions.

Certificate Magento – tot ce trebuie sa stii pentru a trece examenul

Lucrez de ceva timp in Magento 1.9 CE.  De multe ori am zis ca imi voi aloca timp pentru a studia ce ar trebui sa cunosc pentru a putea deveni un developer certificat Magento. Am adunat cate ceva si vreau sa va expun si voua in cazul in care sunteti interesati.

Mai intai ar trebui sa va hotarati care dintr cele 4 certificati ati vrea sa le obtineti. Acestea le puteti gasi aici:


Magento Certified Solution Specialist

Magento Certified Solution Specialist

Magento Solution Specialists who achieve this certification have demonstrated a thorough understanding of Magento’s functionality to ecommerce business goals according to best practices



Front End Developer Certification

Front End Developer Certification

Now it’s time to prove you’re a well-trained Magento front end developer! Demonstrate your understanding of Magento’s theming components and the ability to modify the user interface according to best practices.

Certified Developer and Developer Plus

Certified Developer and Developer Plus

Developers who pass one of the exams can use the valued Magento Certified Developer credential in marketing their services. There are two exams in the Magento Certified Developer portfolio.


Magento Moderated Certification Study Group (Social Learning)

Study for the Magento Developer Certification exam with help from the Magento team!



In momentul scrierii acestui articol examenul consta in intrebari din Magento 1.9 CE si Magento 1.3, 1.4 EE. Ok ce trebuie sa stii pentru a putea trece examenul:

  1. Chestii de baza 6% din examen
  2. Cursul requesturilor (Request flow) 7% din examen
  3. Randare (rendering) 7% din examen
  4.  Modul de lucru cu baze de date in magento 13% din examne
  5. Modelul EAV , predominant in Magento, sau Entity-Attribute-Value – 10% din examen
  6. Adminhtml – 7% din examen
  7. Catalog si tot ce insemna produse, atribute, seturi de atribute – 10% din examen
  8. Checkout cam 16% din examen
  9. Vanzari si client – 11% din examen
  10. Functionalitati avansate – 13% din examen
  11. Editia pentru intreprinderi EE – 9% din examen
  12. Intrebari capcana – 8% din examen

Practic trebuie sa stii tot…nu te poti baza pe o singura parte din magento deoarece procentele sunt foarte apropiate – chiar daca sa spune checkout are 16% si notiunile de baza doar 6%. Mai multe detalii gasiti aici

Multe din notiunile pe care trebuie sa le stii le gasiti explicate mult mai in detaliu prin articole specifice aici:

Un document foarte bun care desi are 80 de pagini subiectele nu sunt tratate indeajuns de bine pentru a putea sustine examenul dar sunt foarte sigur ca asta este punctul de pornire.


in caz ca nu functioneaza -> sursa directa,-265,690

Alte linkuri utile:

Desigur Alan Storm:


Creeaza foreign key in installer magento

In installerul modului presupunem ca ati creat un tabel –

$installer = $this;


$moduleTableName = $installer->getTable('mymodule/mymodule');
if($installer->getConnection()->isTableExists($moduleTableName) != true) {
    $table = $installer->getConnection()

Pe una din coloanele create doriti sa creati un foreign key -> asemanator

->addColumn('created_at', Varien_Db_Ddl_Table::TYPE_DATETIME, null, array(
    'nullable'  => false,
), 'Created at')

exista (->addForeignKey())

    'product_id', $installer->getTable('catalog/product'), 'entity_id',
    Varien_Db_Ddl_Table::ACTION_CASCADE, Varien_Db_Ddl_Table::ACTION_CASCADE


Adauga breadcrumb in cont magento

Cauta in pachetul tau de tema magento /app/design/frontend/your_interface/your_theme/layout/ fisierul local.xml

< ?xml version=“1.0”?>
<layout version=“0.1.0”>

ATENTIE! Trebuiesc sterse tagurile <default></default>

Adaugati pentru panoul de control

< ?xml version=“1.0”?>
<layout version=“0.1.0”>

<customer_account translate=“label”>

    <reference name=“breadcrumbs”>
        <action method=“addCrumb”>
                <link />/
        <action method=“addCrumb”>
            <crumbname>My Account</crumbname>
                <label>My Account</label>
                <title>My Account</title>
                <link />/customer/account/

Ar trebui sa vedeti acum: