Jump to content

[SOLVED]How to make the shop name in the browser tab and the name in e-mails appear different?


Recommended Posts

OK, my question may sound weird. Let me try to explain. I added extra text to the shop name in the back office (Preferences > Contact> Shop Name) for SEO purposes, but now that whole long line also appears in e-mails that are sent to customers. Is there any way to make that long name appear only in the browser? I attached an image of what I mean.
Thanks!

32652_lPutFnPT9mJksvJDfmAL_t

Link to comment
Share on other sites

Oh, I didn't think of it from that perspective. Gotcha. It just appeared weird that the shop name is in the end when the home page is open. The home page was the only concern for me - not other pages. Is it possible to edit that just for the home page? Thanks, Rocky.

Link to comment
Share on other sites

I'm not sure of the best way to do that. I guess you could override the metatitle in code. Try changing line 4 of header.tpl in your theme's directory from:

<title>{$meta_title|escape:'htmlall':'UTF-8'}</title>



to:

<title>{if $page_name == 'index'}{l s='Shop Name'}{else}{$meta_title|escape:'htmlall':'UTF-8'}{/if}</title>

Link to comment
Share on other sites

×
×
  • Create New...