jump to navigation

Batch Update Images in Americommerce May 8, 2008

Posted by engjake in Americommerce.
Tags: , , , ,
add a comment

I’ve decided i’m going to blog here about how to use Americommerce from time to time. More for my own benefit than anyone elses. I’ve been using Americommerce for a little overĀ a year and the software is capable of all kinds of things that i don’t even know how to use yet. And since they are growing, i sometimes can’t find answers to my questions in the help section or knowledgebase. And honestly sometimes, I just need it in laymans terms to understand it. Since i use their system for several websites I am sure I will be trying to fix something on one site that have already fixed on another – but i guaruntee there will be times that I forget what I did to fix the issue. So, I’m blogging about it so when that happens i can search my own blog and find the answer to my own question. Maybe someone else can benefit as well.

So here is the first thing I figured out after monkeying with it and finally speaking to Eric at Americommerce about it.

I’ve been wanting to update a whole category with thumbnails to see if the page loads any faster. Right now, I use one large image on the admin of Americommerce and specify the thumb size in the site template. This works very well, but I was curious if the generation of thumbs slows down the speed since as the page loads it is stretched out and then shrinks to the right size as it generates (as if it’s starting out with huge images so the page is really wide). Actually I know that is the issue because I spoke to Stefan about it and he explained that is why it starts out wide.

So i exported the products, added the file names to the thumb image field and uploaded the file. Then I uploaded the thumb images. I could not get the site to update and start using the new file names for the thumbs. So i exported again and noticed that my thumb file names had been change from [for example] k-1005sm.jpg, to smk-1005.jpg. I was baffled so I tried multiple times. Still the site was using the large images to generate the thumbs and my file names kept getting changes. I spoke with Eric and he explained the problem. Apparently as the images are processed and cached a field is created in the database called ItemImage. In that field is the file names for main image and thumb, as well as their alt tags. Since this column had already been populated it was overwriting my new file names I had imported. So, i deleted this field, imported the file again with my correct file names and now it works like a charm. Thanks Eric.

You can see the results here: Dynasty Cabinet Knobs

The end result however is that so far the pages do not seem to load any faster with thumbs rather than the auto-gen images. So I’m not going to go through 5k products and add thumbs to them all for no speed gain. But I’m glad to know that if I update a bunch of images at once, that ItemImage column in the export file could be the culprit if I’m having issues. This is not a bad thing, it’s just understanding the system.

updates… who needs ‘em! April 3, 2008

Posted by engjake in business.
Tags: , ,
add a comment

everyone unfortunately. I love it when I have to update something and it’s a seemless process; but seriously, how often does that happen? For the last two hours I have been trying to get some coupon codes and package discount programs to work on our shopping cart system to no avail. They worked fine before our update earlier in the week. Now, they suddenly don’t. Something is keeping the number of items in the cart from registering so the discount is not applied. I guess i’ll be calling the software provider tomorrow to try and figure that one out.

There is a good chance that a lot of the time it is me causing the problem. I recently upgraded another wordpress blog i have and it took me way longer than it should have. WordPress has been one of the easier installs and upgrades I have ever done. As it turns out, i was doing the upgrade wrong. This reminds me of the first few years building The Plan Collection. I would constantly run into problems and get Justin on IM to see if he could help me out. It was almost always “the path.” You’d think I would have learned. But ot seemed like every time he’d say, “did you check the path?” and most of the time it was.

This time, i’m 99% sure it’s the software causing the issue-not me. But i’ve been wrong before. Just ask my wife.