Import Shop with a lot of images

Phoca Cart - complex e-commerce extension
machack
Phoca Member
Phoca Member
Posts: 13
Joined: 27 Mar 2017, 12:59

Import Shop with a lot of images

Post by machack »

Hi there - is there a possibility to import images into phocacart, i can handle the raw data using mysql, but i have problems with the images. What would be the best way to handle images for each product?
Thank you
machack
Phoca Member
Phoca Member
Posts: 13
Joined: 27 Mar 2017, 12:59

Re: Import Shop with a lot of images

Post by machack »

Answering my own question:
I have now setup code which uses phoca PhocacartProduct::storeProduct (found in product_import.php)
that works very well, even thumbnails are created automatically when the image is copied in the phocacartproducts directory first.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Import Shop with a lot of images

Post by Jan »

Hi, Ok, thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
Rnomis
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 16 Mar 2022, 20:55

Re: Import Shop with a lot of images

Post by Rnomis »

This is a problem I am having with over 200 images to load. It would be great if you could share your method with us. My sql skills are not as good as yours!
Thanks
Simon
Post Reply