2017 © Pedro Peláez
 

library yii2-shop

image

eluhr/yii2-shop

  • Thursday, May 3, 2018
  • by eluhr
  • Repository
  • 1 Watchers
  • 0 Stars
  • 150 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 26 Versions
  • 23 % Grown

The README.md

yii2-shop

composer require eluhr/yii2-shop

Configuration:, (*1)

$common = [
    'aliases' => [
        '@shop' => '@vendor/eluhr/yii2-shop/src',
        '@eluhr' => '@shop',
    ],
    'params' => [
        'yii.migrations' => [
            '@vendor/eluhr/yii2-shop/src/migrations'
        ]
    ],
    'components' => [
        'shop' => [
                    'class' => 'eluhr\shop\components\Shop',
                ],
        'mailer' => [
            'class' => 'yii\\swiftmailer\\Mailer',
            'htmlLayout' => '@shop/views/mail/layouts/html'
        ]
        ,
        'urlManager' => [
            'class' => 'codemix\localeurls\UrlManager',
            'rules' => [
                '/shop/crud' => '/shop/crud/default/index',
                '/shop/category/<id:[0-9]*>' => '/shop/category',
                '/shop/category/<categoryId:[0-9]*>/item/<id:[0-9]*>' => 'shop/item',
                '/shop/order/status/<token:[a-zA-Z0-9]*>' => 'shop/order/status',
            ],
        ]
    ],
    'modules' => [
        'translatemanager' => [
            'root' => [
                '@app/views',
                '@vendor/eluhr/yii2-shop'
            ]
        ]
    ]
];

$shop = [
    'modules' => [
        'shop' => [
            'class' => 'eluhr\shop\Module',
            'sendMail' => true
        ]
    ]
];

return APP_TYPE === "web" ? yii\helpers\ArrayHelper::merge($common,$shop) : $common;

Example for setting, (*2)

Section:    shop:de
Key:        currency
Value:      €

------------

Section:    shop:en
Key:        currency
Value:      $

The Versions

03/05 2018

dev-feature/paypal

dev-feature/paypal

  Sources   Download

The Requires

 

by Elias Luhr

03/05 2018

2.0.0

2.0.0.0

  Sources   Download

The Requires

 

by Elias Luhr

19/04 2018

1.3.8

1.3.8.0

  Sources   Download

The Requires

 

by Elias Luhr

19/04 2018

1.3.7

1.3.7.0

  Sources   Download

The Requires

 

by Elias Luhr

09/11 2017

1.3.6

1.3.6.0

  Sources   Download

The Requires

 

by Elias Luhr

02/11 2017

1.3.5

1.3.5.0

  Sources   Download

The Requires

 

by Elias Luhr

22/09 2017

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Elias Luhr

22/09 2017

1.3.4

1.3.4.0

  Sources   Download

The Requires

 

by Elias Luhr

21/09 2017

1.3.3

1.3.3.0

  Sources   Download

The Requires

 

by Elias Luhr

20/09 2017

1.3.2

1.3.2.0

  Sources   Download

The Requires

 

by Elias Luhr

14/08 2017

1.3.1

1.3.1.0

  Sources   Download

The Requires

 

by Elias Luhr

14/08 2017

1.3.0

1.3.0.0

  Sources   Download

The Requires

 

by Elias Luhr

09/08 2017

1.2.0

1.2.0.0

  Sources   Download

The Requires

 

by Elias Luhr

09/08 2017

1.1.1

1.1.1.0

  Sources   Download

The Requires

 

by Elias Luhr

07/08 2017

1.1.0

1.1.0.0

  Sources   Download

The Requires

 

by Elias Luhr

04/08 2017

1.0.8

1.0.8.0

  Sources   Download

The Requires

 

by Elias Luhr

04/08 2017

1.0.7

1.0.7.0

  Sources   Download

The Requires

 

by Elias Luhr

03/08 2017

1.0.6

1.0.6.0

  Sources   Download

The Requires

 

by Elias Luhr

03/08 2017

1.0.5

1.0.5.0

  Sources   Download

The Requires

 

by Elias Luhr

02/08 2017

1.0.4

1.0.4.0

  Sources   Download

The Requires

 

by Elias Luhr

02/08 2017

1.0.3

1.0.3.0

  Sources   Download

The Requires

 

by Elias Luhr

02/08 2017

1.0.2

1.0.2.0

  Sources   Download

The Requires

 

by Elias Luhr

02/08 2017

1.0.1

1.0.1.0

  Sources   Download

The Requires

 

by Elias Luhr

01/08 2017

1.0.0

1.0.0.0

  Sources   Download

The Requires

 

by Elias Luhr

31/07 2017

0.1.0

0.1.0.0

  Sources   Download

The Requires

 

by Elias Luhr

31/07 2017

0.0.1

0.0.1.0

  Sources   Download

The Requires

 

by Elias Luhr