Skip to main content
page last edited on 5 September 2017

Loading YAML files

This article applies to the specific versions of software: X-Cart 5.0 - 5.2
Version: 5.4 and early


We highly advise to use the X-Cart command line tool to load YAML files. This guide is deprecated and considered uneffective.

This guide describes how developers can load updated YAML file of your module without running the command line tool.

Sometimes developers cannot use X-Cart CLI tool, because for some reason they cannot run console commands. They can still accomplish other tasks that are eased by macros except loading YAML file. This guide shows a way to load YAML file without having to uninstall/reinstall the module.


We need to create simple PHP script as follows:Â


require_once '';

$path = 'path/to/your/yaml/file.yaml';


and run it through the browser. Of course $path variable must contain an actual path to your YAML file.