Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

adding adsense code on the startpage


1bigworld

Recommended Posts

hello,

 

i would like to add some google adsense code in my

 

/includes/languages/english/index.php

 

(the startpage)

 

just after the introduction text.

 

that means between the introduction text and the whats new products.

 

how do i do this?

 

i have no idea, please help me!

 

the url to my shop is: http://retail.1bigworld.net

 

 

my index.php looks like this:

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '

<strong><font color="#333333">Welcome</font></strong>

<font color="#333333"><strong>to Jewelry </strong></font><strong><font color="#333333">World

Body Jewelry Shop, the body piercing and body jewelry

online shop.<br>

Within the pages of the body jewelry shop, we have all

manner of body piercing jewelry in steel, <br>

titanium, gold, blackline, UV and many more. <br>

Our body jewelry range consists of thousands of different

styles and designs to make your body <br>

piercing REALLY stand out. <br>

We deliver your body jewelry worldwide to the best

conditions. <br>

You can count on us for body piercing advice and information,

and the very best body jewelry <br>

at the lowest prices.</font></strong>

.');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'Welcome to Jewelry World!');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

 

 

 

thanks, patrick

Link to comment
Share on other sites

hello,

 

i would like to add some google adsense code in my

 

/includes/languages/english/index.php

 

(the startpage)

 

just after the introduction text.

 

that means between the introduction text and the whats new products.

 

how do i do this?

 

i have no idea, please help me!

 

the url to my shop is: http://retail.1bigworld.net

 

thanks, patrick

 

I don't use adsense so I can't tell much about it but you might take a look at this contribution first.

If you really want to have it somewhere in your main page you should look into the (catalog)/index.php file and not the language specific index.php within your (catalog)/includes/languages/english directory.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...