Download the PHP package black-lamp/blcms-shop without Composer
On this page you can find all versions of the php package black-lamp/blcms-shop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download black-lamp/blcms-shop
More information about black-lamp/blcms-shop
Files in black-lamp/blcms-shop
Informations about the package blcms-shop
Applying migrations: !Important: this migrations must be applied after Dectrium-User module migrations.
For cart module:
Configuration for Imagable module:
Add module to your backend config
Add module to your frontend config
If you need some console import scripts:
REQUIRES
- PHP-version: 7.0 or later
- PHP-extensions: file-info, imagick, intl
Roles and its permissions:
attributeManager
- addAttributeValue
- deleteAttribute
- saveAttribute
- viewAttributeList
countryManager
- saveCountry
- viewCountryList
- deleteCountry
currencyManager
- updateCurrency
- viewCurrencyList
- deleteCurrency
deliveryMethodManager
- saveDeliveryMethod
- viewDeliveryMethodList
- deleteDeliveryMethod
filterManager
- deleteFilter
- saveFilter
- viewFilterList
orderManager
- deleteOrder
- deleteOrderProduct
- viewOrder
- viewOrderList
orderStatusManager
- saveOrderStatus
- viewOrderStatusList
- deleteOrderStatus
productAvailabilityManager
- saveProductAvailability
- viewProductAvailabilityList
- deleteProductAvailability
productManager
- createProduct
- createProductWithoutModeration
- deleteOwnProduct
- deleteProduct
- updateOwnProduct
- updateProduct
- viewCompleteProductList
- viewProductList
productPartner
- accessAdminPanel
- createProduct
- createProductWithoutModeration
- deleteOwnProduct
- deleteProduct
- updateOwnProduct
- updateProduct
- viewCompleteProductList
- viewProductList
shopCategoryManager
- saveShopCategory
- viewShopCategoryList
vendorManager
- saveVendor
- viewVendorList
- deleteVendor
shopAdministrator extends permissions from all managers.
WIDGETS
Recommended products
Example:
Also you may use bl\cms\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:
REPORTS
- "Class 'Imagick' not found"
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
- /shop/vendor
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}
All versions of blcms-shop with dependencies
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-seo Version 0.1.*
black-lamp/yii2-imagable Version 1.*
black-lamp/yii2-email-templates Version ^3.0.0
2amigos/yii2-tinymce-widget Version *
kartik-v/yii2-widgets Version *
marqu3s/yii2-summernote Version dev-master
evgeniyrru/yii2-slick Version 1.0.1