Download the PHP package albert-gee-ca/yii2-shop without Composer

On this page you can find all versions of the php package albert-gee-ca/yii2-shop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-shop

Yii2-shop module

Powerful E-commerce module for Yii2 framework.

Installation


1. Add extension ti your project:

Run command

or add

to the require section of your composer.json.

2. You should configure "authManager" component in common configuration file:

3. Set "Yii2-multi-lang" component in backend configuration file:

4. Set "Yii2-locale" extension in frontend configuration file:

5. Set Dektrium-user module:

in frontend config:

in backend config:

in common configuration file:

6. Apply migrations:

7. Add configuration for Imagable module in common configuration file:

8. Add module to your backend config

9. Add module to your frontend config

10. Set "Yii2-email-templates" module in frontend configuration file:

https://github.com/black-lamp/yii2-email-templates

11. Set Static-page module:

Add StaticPageManager role to your admin user in auth_assignment table. Create new static pages with page keys "shop" and "cart". In your backend configuration file add this:

REQUIRES

Roles and its permissions:**

attributeManager

countryManager

currencyManager

deliveryMethodManager

orderManager

orderStatusManager

productAvailabilityManager

productManager

productPartner

shopCategoryManager

vendorManager

paymentManager

shopAdministrator extends permissions from all managers.

WIDGETS

Recommended products

Example:

Also you may use albertgeeca\shop\widgets\assets\RecommendedProductsAsset in your view.

Filtration widget

To use the widget, you must have set up relations in the models. For example in model Product:

LOGGING

Your application can record how many people watched a particular product. To enable logging, you must add the following settings in the frontend configuration file:

In it, you specify the number of products, which is stored in the table shop_product_views for one user. This value can be 'all', ie infinitely.

If the 'maxProducts' property value is "all", the "views" of Product object increases by one for a registered user once. Otherwise it will increase by one each time when registered user views product.

TRANSLATIONS

The module has translations on several languages. If there is not your language or if you would like change its on your own, you can configure it in backend or frontend configuration file:

Admin pages

REPORTS

If you use OpenServer with PHP 7, you must install Imagick extension like here http://open-server.ru/forum/viewtopic.php?f=4&t=2897&hilit=imagick

Products displaying

You can select one of two modes: showing products of current category and its children or only current category. Use property $showChildCategoriesProducts in frontend Module class configuration. migration:

Logging This configuration is for Shop module and Cart module.

For enable logging add log component to your common configuration file:

Then apply migration, but only after you will configure your app. The migration will create tables for log targets, which are listed in configuration.

In backend and frontend configuration of your module add

Vendor list

Partner requests email Create new templates 'partner-request-manager' and 'partner-request-partner': /admin/email-templates/default/list

You can use next variables: '{contact_person}', '{company_name}', '{website}', '{message}', '{name}', '{surname}', '{patronymic}', '{info}'

Also create template 'partner-request-accept' without variables.

Information about new product by product partner to manager - template 'new-product-to-manager'. You can use next variables: {productId}, {title}, {ownerId}, {ownerEmail}, {owner}, {link} For sending information abount new product to partner which created this product, add template 'new-product-to-partner' with variables {productId}, {title}, {ownerId}, {ownerEmail}, {owner}, {link}.

If product is moderated and status is 'accept' the mail 'accept-product-to-owner' will be sent. You may use variables: {title}, {ownerEmail}, {owner}, {link}

Links

Dektrium-User module: https://github.com/dektrium/yii2-user


All versions of yii2-shop with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
yiisoft/yii2 Version >=2.0.4
yiisoft/yii2-bootstrap Version *
yii2tech/ar-position Version *
black-lamp/blcms-staticpage Version 0.*
black-lamp/yii2-multi-lang Version ^1.0.0
black-lamp/yii2-locale Version 0.7.6
black-lamp/yii2-seo Version 0.1.*
black-lamp/yii2-imagable Version 1.*
black-lamp/yii2-email-templates Version ^3.0.0
kartik-v/yii2-widgets Version *
marqu3s/yii2-summernote Version 1.0.0
evgeniyrru/yii2-slick Version 1.0.1
rmrevin/yii2-fontawesome Version ~2.17
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package albert-gee-ca/yii2-shop contains the following files

Loading the files please wait ....