How to Upload Product Pictures with a Script

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Anyone that can help:

I'm currently using nopCommerce 3.7 and I wrote a VBA script to upload products, link them to Categories and Manufacturers.  The script also sets up the UrlRecord.  So far so good, I have a local folder with pictures for all products, how can I upload them ? Do I need to insert them in the database ?

Regards
7 years ago
This will depend on how you have your media settings configured in the nop admin area.
If you are set to store images in the file system, you can just upload your images via script or FTP or whatever.
If it is set to store images in the database, you'd have to include a function in your script to convert the images to BLOB's while inserting into the nop database.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.