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

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

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

What is product-url anyway?

I keep having to field questions about the product-url field, and since it came up yesterday, I figured I'd try to clear up all the confusion about it. So the name product-url suggests that whatever you type in there will become the URL of that product. Unfortunately, this is not the case, or rather, not in the intuitive way. The URL you enter there will be used as the URL for that product in Yahoo Shopping, on the built-in search results page, and on the shopping cart page, however, the URL you type in there DOES NOT actually change the physical URL of the page. What is the URL of a page in a Yahoo Store? In any Yahoo Store built in the store editor, the URL of a page is the store's domain name and the page ID + .html. For example, in my store at www.ytimes.info, I have a page whose id is rtml101, thehrefore, the URL of that page is http://www.ytimes.info/rtml101.html . Why would you want to change the URL? For SEO reasons, it is believed to be better to have a URL tha