Hi!
I need to produce an input CSV file for importing into HikaShop. I've created an export file which is attached to this post.
The data is related to food products and has several custom fields, like EAN code, Ingredients, Original Description, etc., various categories and subcategories.
The products can be sold either in standard cartons or as single items. For this I have created variant which is called Unit (of measure) with two options Scatole (Boxes) and Pezzi (single items).
The original data is all on a Microsoft SQL Server and I can create a simple SELECT query to produce a table with item numbers, descriptions, prices, categories, etc.
However, when I do export from HikaShop product page to see the format of the file to be created, I notice that it's not just a simple table, but some rows are dedicated only to categories and subcategories, while some are specific to variants, etc.
So, I'm a bit confused about producing an input CSV file.
Can you advise how to produce such table using a SQL query? Or any other way to accomplish this task? Also, if possible, I would like to automate importing proc using a CRON job once I figure out the way to produce an import CSV file for HikaShop.
Many thanks in advance!
File Attachment:
File Name:
export.csv
File Size:3 KB