jobim Posted April 21, 2015 Share Posted April 21, 2015 Hi, I'm integrating an ERP with prestashop. I'm writing the products directly in the database, but how can I import images from an existing url? Thank you very much, P. 1 Link to comment Share on other sites More sharing options...
rabacik_pl Posted May 1, 2015 Share Posted May 1, 2015 Hi, in my solution: 1- Pictures have names as 'product.reference'.jpg and are puted somwhere by FTP (all pictures in one folder) By php script: 2- I'm looking for images types and dimentions at a table image_type 3- Getting picture by picture from FTP location, resize it to fit dimentions from table, changeing they name to id_product-id_picture_-picture_type.jpg and puuting it to folder PRESTA_BASE/img/p (yes Im using old image storage type) 4- Then I putting image info into prefix_image, prefix_image_lang and prefix_image_shop tables END All working fine for me. I think better solution is use Presta Image controller - but I dont know how. Anyone know?? Link to comment Share on other sites More sharing options...
tuk66 Posted May 5, 2015 Share Posted May 5, 2015 I would use CSV import. Link to comment Share on other sites More sharing options...
rabacik_pl Posted May 6, 2015 Share Posted May 6, 2015 I would use CSV import. It's hard to use with as scheduled job - in my opinion. Specialy with orders import into ERP system. Isnt? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now