├── .bowerrc ├── .gitignore ├── LICENSE.md ├── README.md ├── Vagrantfile ├── backend ├── assets │ └── AppAsset.php ├── codeception.yml ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ ├── params.php │ └── test.php ├── controllers │ ├── BrandController.php │ ├── CategoryController.php │ ├── OrderController.php │ ├── OrderItemController.php │ ├── ProductController.php │ ├── ProductImageController.php │ ├── SiteController.php │ └── UserController.php ├── models │ ├── .gitkeep │ ├── BrandSearch.php │ ├── CategorySearch.php │ ├── OrderItemSearch.php │ ├── OrderSearch.php │ ├── ProductImageSearch.php │ ├── ProductSearch.php │ ├── SiteSettings.php │ ├── UploadForm.php │ └── UserSearch.php ├── runtime │ └── .gitignore ├── tests │ ├── _bootstrap.php │ ├── _data │ │ ├── .gitignore │ │ └── login_data.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ ├── FunctionalTester.php │ │ └── UnitTester.php │ ├── functional.suite.yml │ ├── functional │ │ ├── LoginCest.php │ │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ │ └── _bootstrap.php ├── views │ ├── brand │ │ ├── _form.php │ │ ├── create.php │ │ ├── index.php │ │ ├── update.php │ │ └── view.php │ ├── category │ │ ├── _form.php │ │ ├── create.php │ │ ├── index.php │ │ ├── update.php │ │ └── view.php │ ├── layouts │ │ └── main.php │ ├── order │ │ ├── _form.php │ │ ├── index.php │ │ ├── update.php │ │ └── view.php │ ├── product │ │ ├── _form.php │ │ ├── create.php │ │ ├── index.php │ │ ├── update.php │ │ └── view.php │ ├── site │ │ ├── error.php │ │ ├── index.php │ │ └── login.php │ └── user │ │ ├── _form.php │ │ ├── _search.php │ │ ├── index.php │ │ ├── update.php │ │ └── view.php └── web │ ├── .gitignore │ ├── assets │ └── .gitignore │ ├── css │ └── site.css │ ├── favicon.ico │ └── robots.txt ├── codeception.yml ├── common ├── codeception.yml ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ ├── params.php │ └── test.php ├── fixtures │ └── User.php ├── mail │ ├── layouts │ │ ├── html.php │ │ └── text.php │ ├── passwordResetToken-html.php │ └── passwordResetToken-text.php ├── models │ ├── Brand.php │ ├── Category.php │ ├── LoginForm.php │ ├── Order.php │ ├── OrderItem.php │ ├── Product.php │ ├── ProductImage.php │ └── User.php ├── tests │ ├── _bootstrap.php │ ├── _data │ │ └── user.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ └── UnitTester.php │ ├── unit.suite.yml │ └── unit │ │ └── models │ │ └── LoginFormTest.php └── widgets │ └── Alert.php ├── composer.json ├── composer.lock ├── console ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php ├── controllers │ └── .gitkeep ├── migrations │ ├── m130524_201442_init.php │ └── m171215_143509_shop2_init.php ├── models │ └── .gitkeep └── runtime │ └── .gitignore ├── environments ├── dev │ ├── backend │ │ ├── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ └── index.php │ ├── common │ │ └── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ ├── console │ │ └── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ ├── frontend │ │ ├── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ └── index.php │ ├── yii │ ├── yii_test │ └── yii_test.bat ├── index.php └── prod │ ├── backend │ ├── config │ │ ├── main-local.php │ │ └── params-local.php │ └── web │ │ └── index.php │ ├── common │ └── config │ │ ├── main-local.php │ │ └── params-local.php │ ├── console │ └── config │ │ ├── main-local.php │ │ └── params-local.php │ ├── frontend │ ├── config │ │ ├── main-local.php │ │ └── params-local.php │ └── web │ │ └── index.php │ └── yii ├── files for your website should be uploaded here! ├── frontend ├── assets │ └── AppAsset.php ├── codeception.yml ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ ├── params.php │ └── test.php ├── controllers │ ├── CartController.php │ ├── CatalogController.php │ └── SiteController.php ├── models │ ├── ContactForm.php │ ├── PasswordResetRequestForm.php │ ├── ResetPasswordForm.php │ └── SignupForm.php ├── runtime │ └── .gitignore ├── tests │ ├── _bootstrap.php │ ├── _data │ │ ├── login_data.php │ │ └── user.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ ├── FunctionalTester.php │ │ └── UnitTester.php │ ├── acceptance.suite.yml.example │ ├── acceptance │ │ ├── HomeCest.php │ │ └── _bootstrap.php │ ├── functional.suite.yml │ ├── functional │ │ ├── AboutCest.php │ │ ├── ContactCest.php │ │ ├── HomeCest.php │ │ ├── LoginCest.php │ │ ├── SignupCest.php │ │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ │ ├── _bootstrap.php │ │ └── models │ │ ├── ContactFormTest.php │ │ ├── PasswordResetRequestFormTest.php │ │ ├── ResetPasswordFormTest.php │ │ └── SignupFormTest.php ├── views │ ├── cart │ │ ├── list.php │ │ └── order.php │ ├── catalog │ │ ├── detail.php │ │ └── list.php │ ├── layouts │ │ └── main.php │ └── site │ │ ├── about.php │ │ ├── contact.php │ │ ├── error.php │ │ ├── index.php │ │ ├── login.php │ │ ├── requestPasswordResetToken.php │ │ ├── resetPassword.php │ │ └── signup.php └── web │ ├── .gitignore │ ├── assets │ └── .gitignore │ ├── css │ ├── bootstrap1.css │ ├── fasthover.css │ ├── flexslider.css │ ├── jquery.countdown.css │ ├── popuo-box.css │ ├── site.css │ └── style.css │ ├── favicon.ico │ ├── js │ ├── bootstrap-3.1.1.min.js │ ├── easyResponsiveTabs.js │ ├── imagezoom.js │ ├── jquery.countdown.js │ ├── jquery.flexisel.js │ ├── jquery.flexslider.js │ ├── jquery.magnific-popup.js │ ├── jquery.min.js │ ├── jquery.wmuSlider.js │ ├── minicart.js │ └── script.js │ └── robots.txt ├── init ├── init.bat ├── requirements.php ├── vagrant ├── config │ ├── .gitignore │ └── vagrant-local.example.yml ├── nginx │ ├── app.conf │ └── log │ │ └── .gitignore └── provision │ ├── always-as-root.sh │ ├── once-as-root.sh │ └── once-as-vagrant.sh └── yii.bat /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "vendor/bower" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/Vagrantfile -------------------------------------------------------------------------------- /backend/assets/AppAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/backend/assets/AppAsset.php -------------------------------------------------------------------------------- /backend/codeception.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/backend/codeception.yml -------------------------------------------------------------------------------- /backend/config/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/avs123a/yii2-shop-demo/HEAD/backend/config/.gitignore -------------------------------------------------------------------------------- /backend/config/bootstrap.php: -------------------------------------------------------------------------------- 1 |