Glossary Item Box

Squirrelcart v4.4.0

Search Engine Settings

Overview

Squirrelcart has the ability to dynamically change the following information based on what is currently being viewed in your storefront:

PHP Code

To enable this feature in Squirrelcart, the following lines of code must appear inside your <head /> tag:

 <meta name="title"       content="<?php print $Title ?>">
 <meta name="keywords"    content="<?php print $Keywords ?>">
 <meta name="description" content="<?php print $Description ?>">
 <title><?php print $Title ?></title> 

This code is present by default in store.php.  

Settings

The settings to control these fields are on the Store Settings page, in the Search Engine Settings section

Home Page Title
The text in this field is used for the page title when your storefront page is initially loaded.

 

Category Page Title

This field is used to control the page title when viewing a category. You can enter any variable name on the Category record by preceding it with a dollar sign ($) as shown. You can also add any other text to the field as well.

 

Product Page Title

This field is used to control the page title when viewing a product. You can enter any variable name on the Product's record by preceding it with a dollar sign ($) as shown. You can also add any other text to the field as well.

 

Meta Keywords
This field is used to populate the keywords meta tag on the home page.

 

Meta Description
This field is used to populate the description meta tag on the home page.

 

 


© 2001-2014 Lighthouse Development. All Rights Reserved.