A multi-disciplinary designer, photographer and entrepreneur.

Xsilva Web Store

The launch of Xsilva Guru

June 30th, 2007

In an effort to separate some of my work and projects, and to provide a central area for all the requests I have been receiving to do customizations for Xsilva Web Store installations, I decided to create XsilvaGuru.com

I have also moved the last Xsilva posts to this new site, and will be updating it with the latest client news, add-on’s that are being developed and tips and tricks as I come across them.

If you are looking for help, support or a customization for your Xsilva LightSpeed Web Store install, look no further than XsilvaGuru.com.

Xsilva Web Store: Seach Engine Optimization: Lesson One

June 14th, 2007

Our first point of business when setting up our Xsilva Web Store was to make sure that search engines can find us. I have a pretty extensive background in getting sites to rank in the top three of search engines (try lofts for rent in google and you will see what I mean, if you know my projects) and wanted to make sure I can use this knowledge in Xsilva. The first thing I noticed is that SEO in the Xsilva web store is bleak at best. After looking through the code, what Lightspeed exports, and how I can manipulate it I went in and did some work. Now I am not going to expose everything I am doing (I still need clients you know) but I will put up some of the easier gems that really anyone can take advantage of.

So, Lesson One: Product Brand Names and Information in the page title, and content.

This change requires a bit of editing, but is well worth it. When you add a product to the Xsilva Web Store in Lightspeed, you can give it three key words. We standardized all our key words to make sure the first one was always the brand name. So, in the stores index.php file you simply have to add this (in the meta area). I have it set up to know when a product is being called and also have adapted the index file to be product and store aware for this to work:


Posted in Xsilva Web Store | No Comments »

Loading Multiple Product Images in Xsilva Web Store

June 14th, 2007

One of the most requested features from my clients and Lille Boutique is to show multiple photos for each product in Xsilva. Xsilva itself only allows for a single image to be displayed - great if your user knows the product, like an iPod, but if you have clothing or another product that requires multiple views this is for you.

The first thing you need are, well, the photos. For each product view you want, name the images with the product name (you can see the product name when you click on a product - it is in the URL product=NAME) and add a count or identifier that is unified through all the images. I chose NAME_01.jpg, NAME_02.jpg but you can go deeper into that if you have all the same products and want to do more with this hack.

Next step, upload them to the photos directory that is already there and has the Xsilva exported images in it already. Once you are done with that, we need to get into the nitty-gritty. I am sure there might be a better way to do this with some recursion, etc - but this is a method I found that works very well. I am purposefully not including some security code that is used for this to stop any kind of malicious use of these function.

If you are not comfortable with editing PHP, don’t try this. If you don’t know what you are doing and can’t remember what to change with Xsilva updates the web store code, don’t try this.

In xls_product_view.php we are going to create a call to out images, since this php file already knows a few things like out product code, it is relatively easy. Right after all the template calls, but before the $tpl-fetch echo, we are going to add this:


// Added By Alan Wizemann
$dir = "photos";
$prodcode = $_GET[product];
$prodname = strtolower($product->name);
$mfilename = $dir . '/' . $prodcode . '_01.jpg';
$breadcrum = explode(" ", $prodname);
if(file_exists($mfilename)) {
$aw_main = '‘; }
$tpl->set(’aw_main’, $aw_main);

Now we should grab some more images, and make a gallery for the listing:

$photo_count = "5";
for($i; $i< $photo_count; $i++) {
$filename = $dir . '/' . $prodcode . '_0' . $i . '.jpg';
if(file_exists($filename)) {
$aw_gallery .= '‘; }
}
$tpl->set(’aw_gallery’, $aw_gallery);

Now you have to edit the product_detail.tpl file in the template directory that you are using to make sure and call the new template names we created.

Comment out the Xsilva call to their image and replace it with {tag:aw_main}, then,after the form close tag add the folowing:


{tag:aw_gallery}

There you have it. You can see an example of this used on:

Lille Boutique Web Store v2.0

June 12th, 2007

After some grueling work under the hood on Xsilva Lightspeed Web Store, I am proud to announce the next release of the Lille Boutique web store: Click Here To View.I customized the entire look and feel, including overlapping div elements for prices, transparency elements over the main content of the site, background elements on all product listings, multiple images per product, and more.Next projects on this store will be to clean up the check out procedure and add an image zoom tool. Then, as a final addition, a related projects module. 

Xsilva Web Store Customizations

June 12th, 2007

Helping my fiancée open her lingerie boutique has been an exciting adventure. From building out her dressing rooms to setting up her Point of Sale system, it has not only been a learning experience, but fun to help her establish a beautiful business. The Point of Sale system that we chose, through weeks of research, was Xsilva Lightspeed. This very new company offered something that really no one did (under $25,000) - direct linking to a web store, with inventory updates and more.What we came to find out however, is the web store isn’t exactly turn key for the lingerie business. So I will document my changes to Xsilva, and also offer my services to anyone that wants customization.