Celestino Rey aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
..
.gitignore aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
README.md aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
additional-license-add-on-legacy-prices.json aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
package-lock.json aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
package.json aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө
plans.mjs aaa3a426f4 Primer commit para que funcione en mi host 3 сар өмнө

README.md

A nodejs tool for reading plans prices from csv files and creating JSON objects.

Run yarn install in order to install the dependencies.

The scripts will put the output results into the output folder.

Create localized and group plan pricing

Command node plans.mjs -f fileName -o outputdir - generates two json files:

  • localizedPlanPricing.json for /services/web/config/settings.overrides.saas.js
  • groups.json for /services/web/app/templates/plans/groups.json

The input file can be in .csv or .json format

  • .csv csv format
  • .json json format from the recurly_prices.mjs --download script output