Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 12-22-2007 13:22:23

Perkster
Member
From: Parksville BC Canada
Registered: 10-05-2004
Posts: 349
Website

Product Index Title

I have asked this before but didnt get an answer and would like to find a way to do this.  My Product Index pages are getting indexed well in SE's but all have the identical title ==> Linux CD Shop - Product Index.  This is for all letters A to Z.  As I have found by placing the actual HTML code for product index at the bottom of all my pages SE's like Yahoo are picking up on it.  But...  I would like to make each "Title" unique.

Is this possible in CCP6?  To make Linux CD Shop - Product Index - A so on and so....

Also I see in HTML code that it uses the default keywords and description.  Now,  It would be very nice to be able to display a unique set of keywords and description for each of these pages.  Possibly just the Cats that display these products?  Is this possible?


Mike Perks
Linux CD Shop - /shop for Linux distributions

ReviewLinux.Com - Linux OS News & Review Site

Offline

 

#2 02-27-2008 14:17:27

binibi
Member
Registered: 02-24-2008
Posts: 170
Website

Re: Product Index Title

Hi Mike did you manage to solve you problem, because I too am trying to change me product index from a,b,c... to a colour index using words eg Blue, Green, Yellow etc.

If you have I'd really love some help on this as I have managed to locate the prodidx code and the product navigation at the top menu


"I eat cos I'm fat & I'm fat cos I eat... Its a vicious circle..."

Offline

 

#3 02-27-2008 14:45:16

Perkster
Member
From: Parksville BC Canada
Registered: 10-05-2004
Posts: 349
Website

Re: Product Index Title

No I haven't solved it...  Still the default setup..


Mike Perks
Linux CD Shop - /shop for Linux distributions

ReviewLinux.Com - Linux OS News & Review Site

Offline

 

#4 06-09-2008 06:28:16

e-tradecounter
Member
From: Harlow / Essex
Registered: 05-29-2008
Posts: 30
Website

Re: Product Index Title

Does anyone have any suggestions how to change this - as we'd like to use the Product Index to list manufacturers rather then a,b,c etc

Offline

 

#5 11-28-2008 11:56:14

housecat
Member
Registered: 11-15-2007
Posts: 32

Re: Product Index Title

Hi have found a solution to adding the letters into the product index titles.

I have adapted code from this post about changing titles & descriptions so they are unique.



If you replace your current title code with something like below it should work.

Look specifically at the prodidx case

Code:

<?php
//Script for custom titles where generic titles are used

$proddisp = $this->globals('ecom.prod_proddetail');
$prodname = $this->xhtml_encode($proddisp['name']);
$ref = $_GET['ref'];

switch ($ns_id) {

    case 'emailfriend':
    print "<title>Tell a friend about: $prodname</title>";
    break;
    
    case 'viewcart':
    print "<title>Current Shopping Cart Contents</title>";
    break;
    
    case 'contact':
    print "<title>Contact Us</title>";
    break;

     case 'prodidx':
     //Note if SEO is not turned on then the line below should be: if($ref == "")
    if($ref == "KHXCseo")
     {
          //this displays default product index title when clicked on from menu
          print "<title>Product Index</title>";
     } else {
          //this displays product index title with letter added when a letter is clicked on
          print "<title>Product Index: $ref</title>";
     }
    break;


    default:
    print "<title>$metatitle</title>";
}
?>

Offline

 

Board footer