1.0.1 • Published 3 years ago

@redvanworkshop/sfcc-catalog-pricebook v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Logo

SFCC Catalog Pricebook

Create Salesforce Commerce Cloud Pricebook XML from Catalog XML

Installation

You can install this package via NPM:

npm install -g sfcc-catalog-pricebook

Usage

The most common usage will look like this:

sfcc-catalog-pricebook -i /path/to/catalog.xml

FLAGS:

NameParamAliasRequiredDefault ValueDefinition
Input--input-iYesPath to SFCC Catalog XML File
Output--output-oNopricebook.xmlPath to save XML file ( Defaults to Current Directory )
Name--name-nNoName of Pricebook ( Defaults to Catalog Name )
ID--idNoID of Pricebook ( Defaults to Catalog Name )
Description--description-dNoDescription of Pricebook
Currency--currency-cNoUSDCurrency of Pricebook
Min Amount--min-amount-mNo4.99Minimum amount generated for a product in the pricebook
Max Amount--max-amount-xNo589.99Maximum amount generated for a product in the pricebook

EXAMPLES:

sfcc-catalog-pricebook -i /path/to/catalog.xml

sfcc-catalog-pricebook -i /path/to/catalog.xml -n custom-name
sfcc-catalog-pricebook --input /path/to/catalog.xml --name custom-name

sfcc-catalog-pricebook -i /path/to/catalog.xml -o /path/to/pricebook.xml
sfcc-catalog-pricebook --input /path/to/catalog.xml --output /path/to/pricebook.xml

sfcc-catalog-pricebook -i /path/to/catalog.xml -n custom-name -o /path/to/pricebook.xml
sfcc-catalog-pricebook --input /path/to/catalog.xml --name custom-name --output /path/to/pricebook.xml

Troubleshooting

Need help on how to run this tool? Just run the command without options to see example usage & instruction.

sfcc-catalog-pricebook