X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Product Titles (https://forum.x-cart.com/showthread.php?t=14976)

robble 07-04-2005 02:47 PM

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

instinctual 07-05-2005 05:59 AM

talking about
 
What are you talking about - the actual title of the pages or the breadcrumbs or....?

robble 07-05-2005 08:59 PM

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

instinctual 07-07-2005 02:38 PM

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>



All times are GMT -8. The time now is 02:48 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.