View Single Post
  #1  
Old 07-24-2016, 04:36 PM
 
garys garys is offline
 

Newbie
  
Join Date: Jul 2016
Posts: 5
 

Default Importing Products Automatically

I would like to import product information automatically (v5.2.15) but I must be missing a step here.

Creating the correct .csv file is no problem. I uploaded that file using FTP to the /var/import folder. When I run the Import function from within the administration section after uploading, it doesn't even prompt me to browse for a file name, presumably because a valid file is already sitting there waiting to be processed. It just goes ahead and processes the uploaded file. This tells me that the file is in the correct location and the format is also correct.

I have read the "Configuring your server to run scheduled X-Cart tasks" page (http://kb.x-cart.com/pages/viewpage.action?pageId=7504112) and this seems to be what I want to do.

When I ran the "php console.php --target=cron" command in my SSH console, it looked like it successfully processed 2 steps. One of them was "Event listener (DB)" and the other one had to do with creating the XML sitemap.

When I looked at my catalog, the product that I was trying to import was not there.

I then tried the Import function again and it processed the file successfully.

Now, I also ran across some information about the TASKS table in the database. Do I have to add a record to that table to tell it that I want to import the data automatically? If not, what could I be doing wrong here?

Any help would be appreciated.

Thank you.
__________________
5.2.15
Reply With Quote