I currently have a "custom title mod" set up in my customer/home.tpl like this
Code:
{* Custom Title Tag Start *}
{if $main eq "catalog" and $current_category.category eq ""}
Scented Candles Wholesale Candles Unscented Candles Wedding Candles Holders
{section name=position loop=$location step=-1}
{math equation="x-1" x=$smarty.section.position.total assign="secondlast"}
{if $smarty.section.position.iteration ne $smarty.section.position.total}{$location[position].0|escape}{/if}
{if $smarty.section.position.iteration ne $secondlast}{if not %position.last%} {/if} {/if}
{/section}
{elseif $main eq "help"}
{$lng.txt_subtitle_help}
{elseif $main eq "cart"}
{$lng.txt_subtitle_cart}
{elseif $main eq "checkout"}
{$lng.txt_subtitle_checkout}
{elseif $main eq "order_message"}
{$lng.txt_subtitle_thankyou}
{elseif $main eq "wishlist"}
{$lng.txt_subtitle_wishlist}
{elseif $main eq "giftcert"}
{$lng.txt_subtitle_giftcerts}
{elseif $main eq "pages"}
{$page_data.title} - Wholesale Candles Wedding Favors Reed Diffusers
{else}
{section name=position loop=$location step=-1}{$location[position].0|escape}{if not %position.last%} - {/if}{/section}{/if}
{* Custom Title Tag End *}
I have added a new field in the database table xcart_pages called meta_title. I want to change this part
Code:
{elseif $main eq "pages"}
{$page_data.title} - Wholesale Candles Wedding Favors Reed Diffusers
to look more like
Code:
{elseif $main eq "pages"}
{$page_data.meta_title}
so it will display the info from the meta_title field. I'm not sure what php file I need to update so that the meta_title variable will be defined and displayed. Can anyone help with that?