Skip to content

VitexSoftware/AbraFlexi-pricefixer

Repository files navigation

AbraFlexi-pricefixer

Product price updater for AbraFlexi

PriceFixer

  • 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

wakatime

Commands included

  • abraflexi-pricefixer - fix price of one pricelist item
  • abraflexi-pricefixer-all - fix price of all pricelist items
  • abraflexi-pricefixer-init - prepare AbraFlexi for pricefixer

Configuration

Here are the configuration keys used with AbraFlexi:

  • ABRAFLEXI_PROVIDER - Addressbook Company used to be provider
  • ABRAFLEXI_USERNAME - AbraFlexi username
  • ABRAFLEXI_PASSWORD - AbraFlexi password
  • ABRAFLEXI_URL - AbraFlexi API URL
  • ABRAFLEXI_COMPANY - AbraFlexi company code
  • ABRAFLEXI_GROUP - Group of Goods for sets of items
  • EASE_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-init command 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:

run

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

Written for MojaVoda.sk

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.

MultiFlexi App