Download the PHP package portedcheese/product-variation without Composer

On this page you can find all versions of the php package portedcheese/product-variation. 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 product-variation

Product Variation

Description

Добавление вариаций к товарам и заказов

Install

php artisan migrate

php artisan vendor:publish --provider="PortedCheese\ProductVariation\ServiceProvider" --tag=public --force

php artisan make:product-variation
                        {--all : Run all}
                        {--models : Export models}
                        {--observers : Export observers}
                        {--controllers : Export controllers}
                        {--policies : Export and create rules}
                        {--only-default : Create default rules}
                        {--scss : Export scss}
                        {--vue : Export vue}

Config

NEW_ORDER_NOTIFY_EMAIL - Адрес куда уходят уведомления о новом заказе для клиента

Выгрузить конфигурацию:

php artisan vendor:publish --provider="PortedCheese\ProductVariation\ServiceProvider" --tag=config

Переменные конфигурации:

enableVariations(true) - Включить вариации
productVariationAdminRoutes(true) - Использовать роуты для управления вариациями из пакета
ordersSiteRoutes(true) - Использовать роуты для сайта из пакета
orderStatesAdminRoutes(true) - Использовать роуты для управления сатусами заказа из пакета
orderAdminRoutes(true) - Использовать роуты для управления заказами из пакета
measurementAdminRoutes(true) - Использовать роуты для управления измерениями из пакета
variationFacade - Класс фасада для действий с вариациями

orderFacade - Класс фасада для действий с заказами
productVariationResource - Класс для фасада вариаций

orderNumberHasLetter - Номер заказа с буквой в начале
orderDigitsLength - длина цифровой части номера заказа

clientNotifyEmail(NEW_ORDER_NOTIFY_EMAIL, false) - Адрес куда уходят уведомления о новом заказе для клиента
enableClientNotification(true) - Включить уведомления о заказе для клиента
enableUserNotification(true) - Включить уведомления о заказе для пользователя

enablePriceFilter(true) - Включить фильтрацию по ценам
priceFilterKey(product_price) - Ключ для фильтра по цене
enablePriceSort(true) - Включить сортировку по цене
priceSortReplaceNull(1000000000) - Значение цены когда цены нет, для помещения пустых товаров в конец списка

enableVariationSpecifications(false) - Включить характеристики для вариаций

All versions of product-variation with dependencies

PHP Build Version
Package Version
Requires portedcheese/category-product Version ^3.0
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 portedcheese/product-variation contains the following files

Loading the files please wait ....