HTownBilliards Posted August 16, 2010 Share Posted August 16, 2010 I have a store with approx 2000 products and about 4500 images. I can import all the products all at once without the images but I can't import them all together or I get a 500 Internal Error. Is there a way to import images after you import the products? Everytime I try it doesn't link the image to the product it tries to make the image it's own product. I've also tried splitting it up and doing around 50 at a time with the product info and image but if I ever get an error I have to start all over again.Help, please, anyone? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 16, 2010 Share Posted August 16, 2010 How do you import them?We do not use the built-in import process in PS. We wrote our own and it works flawlessly.We import 24,000 products with images on a regular basis. Link to comment Share on other sites More sharing options...
HTownBilliards Posted August 16, 2010 Author Share Posted August 16, 2010 I'm new to PrestaShop so the only way I know how to do it is through Tools-Import-Products. I upload my CSV file and go from there to import products. Any suggestions? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 16, 2010 Share Posted August 16, 2010 Since I haven't explored the built-in process, no. But I'll take a quick look and see if I can find anything.Now, are you sure that the image directories had the correct permissions? Link to comment Share on other sites More sharing options...
HTownBilliards Posted August 16, 2010 Author Share Posted August 16, 2010 Yes, I think it's just the size of it. It works if I upload a few at a time with the product info all together but it takes a very long time. I'm just looking for a more efficient way of doing it. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 16, 2010 Share Posted August 16, 2010 I don't see anything in there that would cause a 500 except maybe the requirement for the _PS_TMP_IMG_DIR_ directory, does it exist and what are the permissions?You don't get any other errors? Does this happen on each product or just particular ones?Can you show one or two lines of your import file that includes the image links? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 16, 2010 Share Posted August 16, 2010 Yes, I think it's just the size of it. It works if I upload a few at a time with the product info all together but it takes a very long time. I'm just looking for a more efficient way of doing it. 2 things...Make sure that your server allows the directory size as well as the number of files you have.Also, one way we got around a lot of this with one store is to NOT use the ps_image table and put a column in our ps_product table to hold the image path.Then we had to change all our scripts and template code to use this new column .vs getting the images from the ps_image table.On the current store I'm working on, it is going to be downloadable products and they all have the same image. But...We are going to offer over 1.4 million products. We don't want 3 images for each product so I had to modify the code to show only 1 of the 3 default images for each product. 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