Skip to main content

Replacing files in the "Files" area

Legacy stores have a "Files" button in the Yahoo! Store editor. This can be used to upload files to the store, things like pdf files, images, videos, whatever. It used to be that there was a separate "Files" library for the editor and for the published site - just like there is an editor version of your store and a published version. Well, apparently, there were some internal changes recently, and either this is not the case, or there is something with how Yahoo! Store resolves references to the file library.

The issue: if you have a file (say, image.gif) in the file library, and your store has been published, back in the editor if you upload a new version of this existing file with the same name and try to reference it (as /lib/yourstoreid/image.gif, for example), you will see the old, published version, no matter how hard you try. The only solution at this point is to upload the new file and republish the site. After that, you'll see the new version.

Obviously, this makes it pretty hard to test things, especially because we often store JavaScript files or other images in the file library, so now the only way to tweak these files is to either use a different name each time (very tedious!) or to publish your site each time you make a change. Well, I have clients whose store takes over 8 hours to publish, so this latter solution may not be too great in their case. But, it seems we are stuck with this until the next maintenance release.

Comments

This issue has been fixed.

Popular posts from this blog

How to create clean and efficient CSS

In a typical workday, I deal with dozens of yahoo stores and very often I have to tweak, fix, or change CSS used by these stores. While some stores have very clean and easy to follow style sheets or CSS definitions, the vast majority of stores I've seen seem to include complete hack jobs, style sheets put together completely haphazardly, or as an afterthought. While working in such a store, the idea came to me to turn my gripes into a post. So the following is my list of dos and don'ts of good CSS or style design. 1. Externalize your style sheets. This means to save your style sheets into one or more css files, and link to them using the <link rel="stylesheet" type="text/css" href="/lib/yourstoreid/yourstyle.css"> notation, or in Editor V3.0, you can use the LINK operator. 2. Combine your style sheets into as few files as possible. Nothing worse than trying to wade through 6, 8, 10 or more different style sheets to find the color of a l...

Adding custom Yahoo Store fields - Catalog Manager vs. Store Editor

In a non-legacy Yahoo Store, there are two ways to add custom fields: through Catalog Manager under "Manage my Tables" and through the Store Editor, under "Types" (the Store Editor's "Types" are essentially the same as Catalog Manager's "Tables".) Whether you add custom fields from Catalog Manager or from the Store Editor does make a difference as each has its advantages as well as disadvantages. Catalog Manager To me the main advantages of using Catalog Manager to add custom fields are: 1) You can add multiple fields quicker 2) You can later change the field's name and even type 3) You can delete the field if you no longer need it. 4) All the fields that are available in Catalog Manager are included in the data.csv file if you download your catalog. 5) All the fields that are available in Catalog Manager are also included in the catalog.xml datafeed file, which is used by the comparison shopping engines, for example. (See the Search ...

Pre-Season Checkup

With the holiday shopping season fast approaching it's a good idea to do a general checkup on your store to be sure it's ready for prime time. Below are a few things you would want to check, along with a few add-ons that are not too major in scope, but which are often neglected and give you an edge over your competition. Can you Search and Order? Every time we do anything major in a store we test two things: whether searching and adding to cart/ordering works. You can have nice, flashy pictures, cool animation effects, a very quick loading site, anything, but if the store search is broken or you can't add to the cart or can't check out then an ecommerce site is worth nothing. Can you Order? Chances are if your checkout was completely broken you'd know about it by now, but it doesn't have to be totally broken in order to scare away potential customers. So go ahead, go to your site and first do a search and make sure it works. Then, add one or more products ...