PHP code example of skeeks / cms-import-csv-shop-content

1. Go to this page and download the library: Download skeeks/cms-import-csv-shop-content library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

skeeks / cms-import-csv-shop-content example snippets



'components' =>
    [
        'cmsImport' => [
            'handlers'     =>
            [
                'skeeks\cms\importCsvShopContent\ImportCsvShopContentHandler' =>
                [
                    'class' => 'skeeks\cms\importCsvShopContent\ImportCsvShopContentHandler'
                ]
            ]
        ],

        'i18n' => [
            'translations' =>
            [
                'skeeks/importCsvShopContent' => [
                    'class'             => 'yii\i18n\PhpMessageSource',
                    'basePath'          => '@skeeks/cms/importCsvShopContent/messages',
                    'fileMap' => [
                        'skeeks/importCsvShopContent' => 'main.php',
                    ],
                ]
            ]
        ]
    ]