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.
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
Offline
In admin under Home > ClickCartPro (GBU) > Settings: Application Settings Menu > Language Strings the last field is where you may alter that wording Emma.
Offline
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 :-)
Offline
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
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? ;-) ;-)
Offline
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
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 ;-)
Offline
It's there. The lines in question look like this:
if (empty($header)) { if ($ns == 'prodshow') {$header = 'Related Items';} else {$header = 'Items';} } else { $header .= ' Featured Items'; } // End of if statement.
Offline
Hi,
<?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.
Offline
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
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
My colleague sorted this, the file you need to look in to change that piece of code is product multi-add display
Ben
Offline