X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Importing sample catalog after installation (https://forum.x-cart.com/showthread.php?t=77232)

vasilis 10-02-2019 11:37 AM

Importing sample catalog after installation
I have been searching about a way to import the sample catalog after installation.

Do I use CLI in combination with the utils:loadYaml command?
I have used the command:
php xc5 utils:loadYaml xlite_demo.yaml
inside the /sql directory and I get a 'Could not open input file: xc5' error.

From what I have noticed, the yaml files that contain sample catalog data are located in the sql folder and must be the following:


in combination with importing the product_attributes.sql dump file for the product attributes.

cflsystems 10-02-2019 11:55 AM

Re: Importing sample catalog after installation
from store root directory

php xc5 utils:loadYaml sql/file.yaml

Just specify the path to the file

All times are GMT -8. The time now is 10:00 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.