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-ASP Shopping Cart Customer Forum

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

 All Forums
 VPCart Forum
 Customization
 Adding text to top of cat pages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

paddy
Starting Member

Ireland
18 Posts

Posted - November 03 2008 :  09:35:21  Show Profile  Reply with Quote
Hi, I want to add a sentence of text at the top of my category pages,

i.e 'click on the images below to view further [product name] products'

Does anyone know how to achieve this??

Cheers
Paddy

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 04 2008 :  03:51:13  Show Profile  Reply with Quote
Hi Paddy,

You will need to create a template file in a text or html editor (YourCategoryHeader.htm) upload this file to your site and go to your Admin --> Edit Categories. Click on the record you want this header in and find the field Cat Extra. Type in the name of your template here. If you want different headers for different categories you will need to create separate templates for each. Save the record and view your category page.

Hope this helps,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  07:30:51  Show Profile  Reply with Quote
How do I create the template file?

I have tried what you have said although all my template file is a html file with some text at the top, is this right?
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 11 2008 :  08:45:46  Show Profile  Reply with Quote
Yes, your template should only contain html.
You can either use tags to format the text (<b> text here</b> etc) or use some of the classes defined in the shop.css file. If you need help making the template, just ask. I'm sure one of us in here will help you out.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  09:40:15  Show Profile  Reply with Quote
I have made the template. Just made a html file in dreamweaver with relevant text at the top but it doesn't seem to be working after following your simple instructions.

This is all my template file is ('SeansCategoryHeader.html')


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
For a full range of items, select the product catogories below.
</body>

</html>

have done this, uploaded it to site.

gone to cat - edit cat

selected cat

in cat extra text box put 'SeansCategoryHeader.html'

However, the text is not showing at the top of the cat page when I view it...

Any Ideas?

Cheers
Paddy


Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  09:43:57  Show Profile  Reply with Quote
jsut so were both on the same lengh, its http://www.steel-city.co.uk/shopdisplaycategories.asp?id=1&cat=Bags

this page
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 11 2008 :  10:21:38  Show Profile  Reply with Quote
Hi,

I think the template is fine. You should check in the Admin Panel that you have the following fields set up for category templates: (search for xcategory in Cart Setup)

xcategorydisplaytemplate = tmp_categorytemplate.htm

xcategorydisplaytext = Yes

xcategoryproductsonly = Yes

xcategoryproducttemplates = Yes

xcategoryusetemplate = Yes

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  10:59:34  Show Profile  Reply with Quote
xcategoryproducttemplates was set to no. I have now Set to yes. But still the text is not showing at the top of the category page.
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 11 2008 :  11:14:38  Show Profile  Reply with Quote
Perhaps it's the name of the template file that's causing problems. Remove the 'l' of .html and upload the file again. Change the Cat Extra field in the category record to the new name and Update the record.

If this still does not work, perhaps someone else can shed some light on it, or contact the support guys.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  11:42:10  Show Profile  Reply with Quote
argh it still isnt working :(

How do I get in touch with the support guys?
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - November 11 2008 :  11:53:53  Show Profile  Reply with Quote
Before you contact them, did you put the template file name into the Cat Extra field with the quote marks round it like you posted in here:
'SeansCategoryHeader.htm' ?
If you did, you will need to remove them.

If this is not the case, then just click the helpdesk tab at the top of this page. You'll need your software purchase order number to send them a message.

Regards,



Carrol
www.deanston-electrical.co.uk
Go to Top of Page

paddy
Starting Member

Ireland
18 Posts

Posted - November 11 2008 :  12:00:04  Show Profile  Reply with Quote
nah I dint do that, will maybe give em a call tommorow. Cheers
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000