skeeks/cms-shop

Интернет магазин для SkeekS CMS

Installs: 4 207

Dependents: 20

Suggesters: 0

Security: 0

Stars: 14

Watchers: 9

Forks: 5

Type:yii2-extension

3.1.5.21 2024-05-06 09:18 UTC

This package is auto-updated.

Last update: 2024-05-06 09:18:56 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist skeeks/cms-shop "*"

or add

"skeeks/cms-shop": "*"

Configuration app

'components' =>
[
    'admin' => [
        'dashboards'         => [
            'Shop' =>
            [
                'skeeks\cms\shop\dashboards\ReportOrderDashboard'
            ]
        ],
    ],

    'shop' => [
        'class'         => 'skeeks\cms\shop\components\ShopComponent',
    ],

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

    'urlManager' => [
        'rules' => [
            '~shop-cart'                             => 'shop/cart',
            '~shop-<_a:(checkout|payment)>'          => 'shop/cart/<_a>',
            '~shop-<_a:(finish)>'                    => 'shop/order/<_a>',
            '~shop-order/<_a>'                       => 'shop/order/<_a>',
        ]
    ],
],

'modules' =>
[
    'shop' => [
        'class'         => 'skeeks\cms\shop\Module',
    ]
]

Pay systems

  • paypal
  • robokassa
  • Yandex kassa
  • Tinkoff

Links

skeeks!
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com