mirror of
https://github.com/VitexSoftware/AbraFlexi-pricefixer.git
synced 2026-04-04 05:30:31 +00:00
Bundle product price updater for AbraFlexi
|
|
||
|---|---|---|
| .github | ||
| .vscode | ||
| bin | ||
| debian | ||
| multiflexi | ||
| src | ||
| tests | ||
| .gitignore | ||
| .php-cs-fixer.dist.php | ||
| abraflexi-pricefixer.svg | ||
| composer.json | ||
| composer.lock | ||
| Containerfile | ||
| example.env | ||
| LICENSE | ||
| Makefile | ||
| mojavoda.png | ||
| phpstan-default-baseline.neon | ||
| phpstan-default.neon.dist | ||
| README.md | ||
| run.png | ||
| social-preview.svg | ||
| WARP.md | ||
AbraFlexi Price Fixer
Product price updater for AbraFlexi
- Fix prices of product bundles in AbraFlexi.
- Count purchase prices for set of producs.
- Set Group of goods for meber of bundles to ABRAFLEXI_GROUP
Commands included
abraflexi-pricefixer- fix price of one pricelist itemabraflexi-pricefixer-all- fix price of all pricelist itemsabraflexi-pricefixer-init- prepare AbraFlexi for pricefixer
Configuration
Here are the configuration keys used with AbraFlexi:
ABRAFLEXI_PROVIDER- Addressbook Company used to be providerABRAFLEXI_USERNAME- AbraFlexi usernameABRAFLEXI_PASSWORD- AbraFlexi passwordABRAFLEXI_URL- AbraFlexi API URLABRAFLEXI_COMPANY- AbraFlexi company codeABRAFLEXI_GROUP- Group of Goods for sets of itemsEASE_LOGGER- List of logging drivers to be used
Please make sure to set these configuration keys appropriately before running the code.
Runing
NOTE: please run
abraflexi-pricefixer-initcommand before first run.
When installed from debian package, the abraflexi-pricefixer command is availble systemwide.
If EASE_LOGGER contain console then colored output is shown:
MultiFlexi
AbraFlexi PriceFixer is ready for run as MultiFlexi application. See the full list of ready-to-run applications within the MultiFlexi platform on the application list page.
Installation
There is repository for Debian/Ubuntu Linux distributions:
sudo apt install lsb-release wget apt-transport-https bzip2
wget -qO- https://repo.vitexsoftware.com/keyring.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg] https://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update
sudo apt install abraflexi-pricefixer

