Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Importing sample catalog after installation
 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-02-2019, 11:37 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 733
 

Default 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:

xlite_demo.yaml
xlite_demo_featured.yaml

in combination with importing the product_attributes.sql dump file for the product attributes.
Reply With Quote
  #2  
Old 10-02-2019, 11:55 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,616
 

Default Re: Importing sample catalog after installation

from store root directory

php xc5 utils:loadYaml sql/file.yaml

Just specify the path to the file
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following 2 users thank cflsystems for this useful post:
mvs (10-03-2019), vasilis (10-02-2019)
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:37 AM.

   

 
X-Cart forums © 2001-2018