Volusion Configuration Variables

January 10th, 2011

Tags:

Here’s a tip on how to design your Volusion template file without using the full URL. We do this internally so that we can recycle and reuse some of our HTML code for our clients.

The two tags we use the most are Config_ImagesFolder and Config_FullStoreURL . What do they do? Fairly simple stuff but makes URL writing much faster.

1. Config_ImagesFolder is the path to your template images. It ultimately takes this v/vspfiles/templates/NAME OF YOUR TEMPALTE/images/ and compresses it down to something much easier to use.

2. Config_FullStoreURL is the path to your store and it will change based on either a HTTP or HTTPS request. It takes http://www.YOUR SITE NAME.com/ and https://www.YOUR SITE NAME.com/ and compresses into a nice safe variable of sorts.

Let us give a couple template HTML examples so this is 100% clear.

Let’s say we have a store template called “schawel”. We have an image that I want to link back to a certain page. The long and sometimes problematic way of doing this would like like this example:

<a href="http://www.schawel.com/some-page-a/123.htm" title="some page"><img src="vspfiles/templates/schawel/images/template/logo.png" alt="logo" /></a>

With the Volusion attribute tags or config variables we can turn it into this…

<a href="Config_FullStoreURLsome-page-a/123.htm" title="some page"><img src="Config_ImagesFolder/images/template/logo.png" alt="logo" /></a>

These tags also called many other things in online (e.g. Volusion forum) all of which are more or less correct.

Volusion Configuration Variables

Volusion Template Variables

Volusion Attribute Tags

You can see all the Volusion tags (both as married attributes and free standing meaning you can use them in articles) at http://support.volusion.com/article/navigation-menu-customization

Questions, rants, raves?

4 Comments (Leave a Reply)

  1. schawel (January 31, 2011)

    Can you give me an example of your writing?

  2. schawel (January 31, 2011)

    We tried to PM you but your email does not work.

  3. Jason (January 26, 2011)

    This is a great example. I am creating a new Volusion template now and I am wondering where is the best place to learn how to create the template and other files for Volusion? Their website is not very thorough for designing a template yourself.

  4. emt training (January 19, 2011)

    If you are open to having a guest blog poster please reply and let me know. I will provide you with unique content for your blog, thanks.

Leave a Reply

(* required)
( * required - will not be published)