Skip to content

sfccdevops/sfcc-catalog-inventory

Repository files navigation

Project Support

If you or your company enjoy using this project, please consider supporting my work and joining my discord. 💖

Become a GitHub Sponsor Become a Patreon Sponsor Donate via PayPal Join Discord Community


Logo

SFCC Catalog Inventory

Create Salesforce Commerce Cloud Inventory XML from Catalog XML

Installation

You can install this package via NPM:

npm install -g @sfccdevops/sfcc-catalog-inventory

Usage

The most common usage will look like this:

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

FLAGS:

Name Param Alias Required Definition
Input -i --input Yes Path to SFCC Catalog XML File
Output -o --output No Path to save XML file ( Defaults to Current Directory )
Name -n --name No Name of Inventory List ( Defaults to Catalog Name )

EXAMPLES:

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

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

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

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

Troubleshooting

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

sfcc-catalog-inventory

About the Author

Peter Schmalfeldt is a Certified Senior Salesforce Commerce Cloud Developer with over 20 years of experience building eCommerce websites, providing everything you need to design, develop & deploy eCommerce applications for Web, Mobile & Desktop platforms.

Disclaimer

The trademarks and product names of Salesforce®, including the mark Salesforce®, are the property of Salesforce.com. SFCC DevOps is not affiliated with Salesforce.com, nor does Salesforce.com sponsor or endorse the SFCC DevOps products or website. The use of the Salesforce® trademark on this project does not indicate an endorsement, recommendation, or business relationship between Salesforce.com and SFCC DevOps.