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 08-13-2008 05:18:16

makesachange
Member
From: UK
Registered: 02-24-2006
Posts: 253
Website

Changing the name of "related items"

Hi,

I would like to change the text "Related Items" which appears above (not a shock) an item's related items to the text "Things you may also like".  Or something similar.

Could anyone point me in the right direction?

Cheers,
Emma


The Organic and Fair Trade Baby Boutique

Offline

 

#2 08-13-2008 05:35:09

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Changing the name of "related items"

In admin under Home > ClickCartPro (GBU) > Settings: Application Settings Menu > Language Strings the last field is where you may alter that wording Emma.

Offline

 

#3 08-14-2008 08:53:49

makesachange
Member
From: UK
Registered: 02-24-2006
Posts: 253
Website

Re: Changing the name of "related items"

I have found the text for item options, and also some checkout options but not for the related items.  Thanks for the reply Dave as it was helpful, as I've changed this text too, but could you let me know where this other text is?

Thanks :-)


The Organic and Fair Trade Baby Boutique

Offline

 

#4 08-14-2008 08:57:59

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Changing the name of "related items"

Ha, me idiot.  Sorry about that.  The text you seek is in the "Product List Display" XHTML include which you'll find in admin under Home > ClickCartPro (GBU) > Displays: Skins, Menus, XHTML Includes and Messages > Manage XHTML Includes

It's in the "Include File Contents" field not far from the top.

Offline

 

#5 08-14-2008 09:38:55

makesachange
Member
From: UK
Registered: 02-24-2006
Posts: 253
Website

Re: Changing the name of "related items"

Hmm, I can't see it here, either.  I get a list with options in alpha order (meaning that one starting with "I" wouldn't be near the top) and I can't see it in the list.  The first one in the list is:

Update :  Account Confirmation Page : Presents a full account menu.

Am I missing something or is you being an idiot again? ;-) ;-)


The Organic and Fair Trade Baby Boutique

Offline

 

#6 08-14-2008 10:13:34

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Changing the name of "related items"

The field named Include File Contents is seen when you click on update next to Product List Display when looking at the list of XHTML includes.

Offline

 

#7 08-14-2008 10:32:53

makesachange
Member
From: UK
Registered: 02-24-2006
Posts: 253
Website

Re: Changing the name of "related items"

Oh - yes - I see - duh.

Sorry, I mis-read your previous.

So, I found the correct file.  I can't find the text tho.  Have tried pasting it into notepad and searching to no avail.

Who knew it was this complicated ;-)


The Organic and Fair Trade Baby Boutique

Offline

 

#8 08-14-2008 10:47:57

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Changing the name of "related items"

It's there.  The lines in question look like this:

Code:

if (empty($header)) {

     if ($ns == 'prodshow') {$header = 'Related Items';} else {$header = 'Items';}

} else {

     $header .= ' Featured Items';

} // End of if statement.

Offline

 

#9 08-14-2008 10:59:25

west4
Member
From: UK
Registered: 04-16-2008
Posts: 645
Website

Re: Changing the name of "related items"

Hi,

Code:

<?php 

$app       = $this->globals('khxc_display.app');
$ns        = $this->globals('khxc.namespace');
$ref       = $this->globals('khxc.ref');
$eol       = $this->globals('khxc.eol');
$prodlist  = $this->globals('ecom.prod_prodlist');
$incdisp   = $this->globals('ecom.prod_incdisp');
$prodnum   = $this->globals('ecom.prod_prodnum');
$navarray  = $this->globals('ecom.prod_navarray');

$supsort   = $this->globals('ecom.prod_suppress_sort');
$showsort  = $this->globals('khxc_settings.' . $app . '.showsortopts');
if (empty($showsort)) {$supsort = 1;}

$prodcount = count($prodlist);

$header   = $this->globals('ecom.prod_store_header');

if (empty($header)) {

     if ($ns == 'prodshow') {$header = 'Related Items';} else {$header = 'Items';}

} else {

     $header .= ' Featured Items';

} // End of if statement.

RELATED ITEMS is just here...     if ($ns == 'prodshow') {$header = 'Related Items';} else {$header = 'Items';}

change this to if ($ns == 'prodshow') {$header = 'Things you may also like;} else {$header = 'Items';}

Cheers,
Bruce.


I'd rather have a full bottle in front of me, than a full frontal labotomy.

Offline

 

#10 08-14-2008 11:00:30

west4
Member
From: UK
Registered: 04-16-2008
Posts: 645
Website

Re: Changing the name of "related items"

Oops Sorry Dave


I'd rather have a full bottle in front of me, than a full frontal labotomy.

Offline

 

#11 06-05-2009 08:16:48

bk1984
Member
Registered: 05-27-2009
Posts: 95

Re: Changing the name of "related items"

Hi all, I have just done what you said.  I have changed the

if (empty($header)) {

     if ($ns == 'prodshow') {$header = 'Related Items';} else {$header = 'Items';}

} else {

to

if (empty($header)) {

     if ($ns == 'prodshow') {$header = 'What other customers bought';} else {$header = 'Items';}

} else {

and there has been no change to the site, I am missing something?

Ben

Offline

 

#12 06-05-2009 10:48:56

bk1984
Member
Registered: 05-27-2009
Posts: 95

Re: Changing the name of "related items"

I have been looking for about two hours now trying to rectify this, and searched through most of the include XHTMLs various time. I am a bit confused as to why it won't work am I missing something?

Offline

 

#13 06-05-2009 11:26:09

bk1984
Member
Registered: 05-27-2009
Posts: 95

Re: Changing the name of "related items"

My colleague sorted this, the file you need to look in to change that piece of code is product multi-add display

Ben

Offline

 

Board footer