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
 Shopexd page title
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Steve2507
VP-ASP Expert

590 Posts

Posted - April 23 2007 :  07:32:23  Show Profile  Reply with Quote
When an item is enlarged the page title of the shopexd page becomes the product name, which is great.

Does anyone know of a way to add in another field to this?

To explain - presently the title tag is
<title><%shopdynamictitle "title"%> in the UK</title>


When a product is enlarged the
<%shopdynamictitle "title"%>
part is replaced with the product name.

What I would like to do is replace it with two field, the product name and another field, where a furhter short description would be held, e.g. pother1.

If you had a product called "widgets" and the second field had "in green and red". Then the page title would be "widgets in green and red".

You could change the name of the product to "widgets in green and red" but really I don't want to change the product names themselves.

My reasoning for doing this is that it would help with SEO.

Thanks


Steve
www.clixgalore.co.uk/AffSelectProgram.aspx?AdvProgID=7911
www.temptationsdirect.co.uk

Steve2507
VP-ASP Expert

590 Posts

Posted - April 23 2007 :  07:56:43  Show Profile  Reply with Quote
Don't worry, solved it already.

In the shopheaders.asp file I changed the SetupdynamicProduct sub by adding in the following code:
'********************START MY CODE********************
Dim tempfollow
tempfollow=rs("pother1")
tempfollow= " " & tempfollow
'********************END MY CODE********************


before
tempname=rs("cname")


and
'********************START MY CODE********************
   tempname=tempname & tempfollow
'********************END MY CODE********************


after
tempname=rs("cname")



Steve
www.clixgalore.co.uk/AffSelectProgram.aspx?AdvProgID=7911
www.temptationsdirect.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000