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
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 catmemo for cats with sub-cats
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

38 Posts

Posted - February 09 2009 :  16:09:22  Show Profile  Reply with Quote
Does nayon know how to have the catmemo display in category pages below the sub-category links?

I would like to have my category pages display as follows:


subcat1 subcat2 subcat3


when I do this the only catmemo's that are display are under and for the individual sub-categories.

Any ideas

Starting Member

38 Posts

Posted - February 10 2009 :  16:29:12  Show Profile  Reply with Quote
I received this from support and it's absolutely fantastic. Special kudos to Angelo.

To add CATMEMO text after the sub-category list, please follow these steps:

1. Open shopdisplaycategories.asp using text editor (eg. Notepad).

2. Locate the following code:
(around line 55)

dim categoryid

3. Below that code, add the following code:

dim categorymemo,query

If getconfig("xDisplayCategoryImages")="Yes" or getconfig("xdisplaycategoryfiles")="Yes" Then
query = "select * from categories where categoryid = " & highercategoryid
set rs = dbc.execute(query)
If not rs.EOF Then
categoryMemo = rs("catmemo")
end if
closerecordset rs
exit sub
end if

4. Locate the following code:
(around line 128)

response.write "</table>"

5. Below that code, add the following code:

if getconfig("xdisplaycategoryfiles")="Yes" and categoryMemo <> "" then
response.write CategoryMemo
end if

6. Save the file and check your website to see the changes.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000