Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

SEO Page Title - Free Modification Rate Topic   * * * * - 3 votes

 
  • Mongoose
  • Senior Member
  • Members
  • Join Date: 08-Mar 13
  • 991 posts

Posted 26 January 2017 - 11:25 AM #21

@eCom Labs

 

Is this still relevant for V4.3.8 and above or is this something to implement only on previous versions of CS Cart ?

 

Otherwise doing this modification yourself will this not hamper future upgrades and or opting for specific SEO addons like the 4Sprung SEO Mega Tool ?

 

Yours truly,


running CS Cart V4.10.3.SP1 


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19830 posts

Posted 26 January 2017 - 02:30 PM #22

Is this still relevant for V4.3.8 and above or is this something to implement only on previous versions of CS Cart ?

 

Otherwise doing this modification yourself will this not hamper future upgrades and or opting for specific SEO addons like the 4Sprung SEO Mega Tool ?

 

It should work on all 4.2.x, 4.3.x and 4.4.x versions

 

But please note if 3rd party addons use the index:title hook in this file, your changes will not be used. It will be required to correct 3rd party addons in this case


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • crazyshark20
  • Junior Member
  • Members
  • Join Date: 19-Aug 09
  • 309 posts

Posted 26 January 2017 - 09:59 PM #23

ecomlabs

I do not want the customer to see in title just google yandex etc. see it while browsing the site. Soo where should I place the code??

 

if i use index.tpl customer sees too. :(

 

Thanks for helping.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19830 posts

Posted 27 January 2017 - 07:52 AM #24

ecomlabs

I do not want the customer to see in title just google yandex etc. see it while browsing the site. Soo where should I place the code??

 

if i use index.tpl customer sees too. :(

 

Thanks for helping.

 

Not sure if it is possible. May be another person will help you here


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3848 posts

Posted 27 January 2017 - 10:49 AM #25

ecomlabs

I do not want the customer to see in title just google yandex etc. see it while browsing the site. Soo where should I place the code??

 

if i use index.tpl customer sees too. :(

 

Thanks for helping.

 

Sounds like you want to use a meta name.?  If so, use the meta.tpl.



 
  • Antars
  • Member
  • Members
  • Join Date: 18-Sep 11
  • 44 posts

Posted 21 February 2017 - 08:23 PM #26

i have created folder
design/themes/cscart-boilerplate-master/templates/addons/my_changes/hooks/index/
and added

title.override.tpl
with the following content:

 

{if $page_title && $controller != 'products' && $controller != 'categories'}
		{$page_title|escape:"html"}
{else}
	{foreach from=$breadcrumbs|array_reverse item=i name="bkt"}
		
{if !$smarty.foreach.bkt.last} {if !$smarty.foreach.bkt.first} - {/if}{$i.title|strip_tags}{/if}

	{/foreach}
	{if !$skip_page_title && $location_data.title}{if $breadcrumbs|count > 1} - {/if}{$location_data.title}{/if}
{/if}

but i don't see any changes in the title.

Did i do something wrong?
My changes addon is enabled



 
  • Antars
  • Member
  • Members
  • Join Date: 18-Sep 11
  • 44 posts

Posted 21 February 2017 - 09:00 PM #27

oh, nevermind. just needed to clear cache