Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Titles

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-04-2005, 02:47 PM
 
robble robble is offline
 

Newbie
  
Join Date: Apr 2005
Posts: 6
 

Default Product Titles

Hello everyone.

I have searched the forum as best as I could and have not arrived at the answer I am looking for.

I am using XCART version 4.0.13, and am looking for a way to have only the actual product name title discplay on the individual product pages instead of the product, category and shop format.

To boot, it would also be nice to have only the category name as the category title and not include the Shop name as well on those pages.

Any takes?

Thanks,
Todd
__________________
Wedding Planning Guide
Web Hosting

Version 4.0.13 [unix]
Reply With Quote
  #2  
Old 07-05-2005, 05:59 AM
 
instinctual instinctual is offline
 

eXpert
  
Join Date: Nov 2003
Posts: 247
 

Default talking about

What are you talking about - the actual title of the pages or the breadcrumbs or....?
__________________
Instinctual
8,000 feet up in the Rocky Mountains of Colorado
X-Cart Versions 3.5.x - 4.0.x

IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind.
Reply With Quote
  #3  
Old 07-05-2005, 08:59 PM
 
robble robble is offline
 

Newbie
  
Join Date: Apr 2005
Posts: 6
 

Default

The actual title of the page. In SEO options it allows for :

Prod :: Cat :: Shop name. I would prefer to only have:

For all index related / root pages:

Store name

For categories:

Category name only.

For individual products:

Product name only.

Is this possible/

Thanks in advance!

Todd
__________________
Wedding Planning Guide
Web Hosting

Version 4.0.13 [unix]
Reply With Quote
  #4  
Old 07-07-2005, 02:38 PM
 
instinctual instinctual is offline
 

eXpert
  
Join Date: Nov 2003
Posts: 247
 

Default ok

Ok, yeah, you need to modify skin1/customer/home.tpl - something like this would do the trick.


Code:
<TITLE> {if $main eq "product"} {if $product.product ne ''} {$product.product} {$category_name} {/if} {else} {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {if not %position.first%}{$location[position].0|escape} {else} Main title of site for homepage and root pages{/if}{if not %position.last%} {/if}{/section}{else}{section name=position loop=$location step=-1}{$location[position].0|escape}{if not %position.last%} {/if}{/section} {/if} {/if} </TITLE>
__________________
Instinctual
8,000 feet up in the Rocky Mountains of Colorado
X-Cart Versions 3.5.x - 4.0.x

IF you xcart, THEN you prosper, ELSE you fail. ELSEIF xcart fails, THEN you fix it, all the WHILE {loop}\'ing {section}\'s to feed your $smarty mind.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:12 PM.

   

 
X-Cart forums © 2001-2020