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
 Reverse Title tag
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

28 Posts

Posted - December 27 2012 :  15:16:13  Show Profile  Visit zacharybroyles's Homepage  Reply with Quote
Normally our shop shows in the cart
STORE NAME - Category Name
for the Page Title, ala All American Christmas Co. - Mini Lights

I would like it to show the reverse of this, Mini Lights - All American Christmas Co. Thoughts?

Senior Member

United Kingdom
1898 Posts

Posted - December 29 2012 :  08:03:43  Show Profile  Visit devshb's Homepage  Reply with Quote
It's all in shopheaders.asp, in that file, do a search for:
there are 3 functions which setup those tags, one for categories, one for products, one for content, you'd change the logic in all 3 of those functions, so that lines like this:

SetSess "Dynamictitle",GetConfig("xtitle") & " - " & RemoveHtmlheaders(tempname, "<br />")

are changed to this:

SetSess "Dynamictitle",RemoveHtmlheaders(tempname, "<br />")&" - "&GetConfig("xtitle")

a while ago we also coded up a fail-safe function so that before it outputs the generated title tag, it makes sure that xtitle is stripped off the start, and moved to the end (if it's not already on the end)

we've also got some notes on some seo related things to think about etc:

and a more detailed note about the title tag swapping etc:

Simon Barnaby
[email protected]
Follow us on Twitter: http://twitter.com/bigyellowzone
Web Design, Online Marketing and VPASP addons

Edited by - devshb on December 29 2012 08:26:37
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000