VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-Cart StoreFront Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Formating question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

VP-ASP Expert

590 Posts

Posted - February 17 2007 :  14:00:55  Show Profile  Reply with Quote

All over the templates I see various formatting keywords e.g. FORMATHYPERLINKS, FORMATIMAGE.

Where on earth do you change the format of the keywords, they are not in the css file, so where are they?



Senior Member

United Kingdom
1898 Posts

Posted - February 17 2007 :  17:32:34  Show Profile  Visit devshb's Homepage  Reply with Quote
The code for those keywords are (mostly) in the shopfileio.asp file.

But, what we usually do is delete those particular template-fields (which are sort of wrapper template fields which do lots of different things) in the template files, and replace them with the corresponding detailed html/template-fields for the appropriate bits.

For example, we might change this in our tmp_productformat.htm template file:


to have this instead:

<a href="shopexd.asp?id=[catalogid][add_websesslink]">
$<img src="[cimageurl]" border="0"><br>

Most of the relevant html/template-fields for the sub-bits that you'd want to show are in the tmp_product.htm file, so you can copy the relevant bits from that too if you like, eg:

<a href="shopreviewadd.asp?id=[catalogid]">~langratingwrite^</a> | <a href="shopreviewlist.asp?id=[catalogid]">~langratingread^</a><br>

<a href="shoptellafriend.asp?id=[catalogid][add_websesslink]">~langtellafriendheader^</a>

we usually change the templates to have as much html/low-level fields as we can in the templates, and if we need complex conditional logic which isn't already available via a vpasp template-field then we use our "extra template-fields" addon to help build new ones, see also:


that addon is included for free in any of our template-field-related addons, so if you do want the template-field addon then check to see if you'd find any of our template-field addons useful first:

on a related topic, here's some help/notes:
1) How to hide surrounding labels/html when a corresponding value in the database is null:

2) Searching for text strings (very important; windows/xp search is dangerously bad) -

Simon Barnaby
[email protected]
Web Design, Online Marketing and VPASP addons

Edited by - devshb on February 17 2007 17:42:05
Go to Top of Page

VP-ASP Expert

590 Posts

Posted - March 08 2007 :  09:50:09  Show Profile  Reply with Quote

I asked this question ages ago, but still haven't received an answer that I can use.

I basicaly want to make the text larger in the shopdisplaycategories.asp page, so I have to change the formatting of FORMATIMAGE and/or FORMATHYPERLINKS. How the hell do I do it?

Please don't say look in this file or look in that file as I feel I have been through every single file available. Is there anyone out there that can tell me exactly where to look?


Go to Top of Page


4282 Posts

Posted - March 11 2007 :  19:57:45  Show Profile  Visit support's Homepage  Reply with Quote
Hi Steve,

What version are you using? If you can point us to a url as well it would be helpful and some of the developers on here who often help out will be able to point you in the right direction nice and quickly.


VP-ASP Support
Go to Top of Page

Starting Member

9 Posts

Posted - March 20 2007 :  20:36:20  Show Profile  Reply with Quote
Aren't text sizes all cutomised in the shop.css file (thinking out loud)

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000