hebel Posted October 15, 2008 Share Posted October 15, 2008 Hi there, a client has asked me to add keywords into the meta tags on the osCommerce template he's using and possibly a google data feed but to be honest I am a bit confused. I've never used a template before and after looking at some of the pages I'm not sure where to begin. Could someone point me in the right direction? Thanks a lot. Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 15, 2008 Share Posted October 15, 2008 You need to install a meta tags contribution to properly add them to the shop. This thread should get you started. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
hebel Posted October 15, 2008 Author Share Posted October 15, 2008 You need to install a meta tags contribution to properly add them to the shop. This thread should get you started. Jack Thanks Jack. Link to comment Share on other sites More sharing options...
dtox99 Posted October 15, 2008 Share Posted October 15, 2008 i can't install Header Tags SEO V 3.0 on my oscommerce, because i've bought the template from templatemonster.com and the code is altered. i want to know if i can put the meta tags on the header.php? here is my header.php <?php /* $Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url] Copyright © 2003 osCommerce Released under the GNU General Public License */ // check if the 'install' directory exists, and warn of its existence if (WARN_INSTALL_EXISTENCE == 'true') { if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) { $messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning'); } } // check if the configure.php file is writeable if (WARN_CONFIG_WRITEABLE == 'true') { if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) { $messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning'); } } // check if the session folder is writeable if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') { if (STORE_SESSIONS == '') { if (!is_dir(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning'); } elseif (!is_writeable(tep_session_save_path())) { $messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning'); } } } // check session.auto_start is disabled if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) { if (ini_get('session.auto_start') == '1') { $messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning'); } } if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) { if (!is_dir(DIR_FS_DOWNLOAD)) { $messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning'); } } if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } ?> <table cellpadding="0" cellspacing="0" border="0" style="background:url(images/bg.gif) repeat-x top #242424"><tr><td> <!-- start --> <table cellpadding="0" cellspacing="0" border="0" style="width:732px" align="center"> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" style="height:522px;" class="header"> <tr> <td align="center"> <br style="line-height:19px"> <table cellpadding="0" cellspacing="0" border="0" style="width:732px"> <tr> <td align="left"><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image_button('m1.gif')?></a><a href="<?php echo tep_href_link('products_new.php')?>"><?php echo tep_image_button('m2.gif')?></a><a href="<?php echo tep_href_link('specials.php')?>"><?php echo tep_image_button('m3.gif')?></a><a href="<?php echo tep_href_link('account.php')?>"><?php echo tep_image_button('m4.gif')?></a><a href="<?php echo tep_href_link('contact_us.php')?>"><?php echo tep_image_button('m5.gif')?></a><br> <a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'logo.gif')?></a><a href="<?php echo tep_href_link('index.php')?>"></a></td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" style="width:732px"> <tr> <td align="left"><a href="<?php echo tep_href_link('products_new.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'p.jpg')?></a></td> </tr> <tr><td height="12"><?php echo tep_draw_separator('spacer.gif', '1', '1'); ?></td></tr> </table> <table cellpadding="0" cellspacing="0" border="0" style="height:84px; text-align:left; width:732px "> <tr> <td style="width:237px;"> <table cellpadding="0" cellspacing="0" border="0"> <tr><td nowrap class="vam"><?php echo BOX_HEADING_CURRENCIES?>: </td><td style="width:100%"><?php echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get'); reset($currencies->currencies); $currencies_array = array(); while (list($key, $value) = each($currencies->currencies)) { $currencies_array[] = array('id' => $key, 'text' => $value['title']); } $hidden_get_variables = ''; reset($HTTP_GET_VARS); while (list($key, $value) = each($HTTP_GET_VARS)) { if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) { $hidden_get_variables .= tep_draw_hidden_field($key, $value); } } echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width:129px"') . $hidden_get_variables . tep_hide_session_id(); echo '</form>'; ?></td></tr> </table> </td> <td><?php echo tep_image(DIR_WS_IMAGES.'z.gif')?></td> <td><?php echo tep_draw_separator('spacer.gif', '34', '1'); ?></td> <td style="width:235px;"> <table cellpadding="0" cellspacing="0" border="0"> <tr><td nowrap class="vam"><?php echo BOX_HEADING_LANGUAGES?>: </td><td style="width:100%"><?php if (!isset($lng) || (isset($lng) && !is_object($lng))) { include(DIR_WS_CLASSES . 'language.php'); $lng = new language; } $languages_string = ''; reset($lng->catalog_languages); while (list($key, $value) = each($lng->catalog_languages)) { $languages_string .= '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> '; } echo $languages_string; ?></td></tr> </table> </td> <td><?php echo tep_image(DIR_WS_IMAGES.'z.gif')?></td> <td><?php echo tep_draw_separator('spacer.gif', '39', '1'); ?></td> <td style="width:56px"><?php echo tep_image(DIR_WS_IMAGES.'z1.gif')?></td> <td> <table cellpadding="0" cellspacing="0" border="0" style="width:127px"> <tr> <td align="left"><b><?php echo BOX_HEADING_SHOPPING_CART?>:</b><br><a href="<?php echo tep_href_link('shopping_cart.php')?>"><?php echo $cart->count_contents()?> <?php echo BOX_SHOPPING_CART_EMPTY?></a></td> </tr> </table> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td><?php echo tep_image(DIR_WS_IMAGES.'q1.gif')?></td> <td style="width:100%; background: url(images/li_11.jpg)" ><?php echo tep_draw_separator('spacer.gif', '1', '1'); ?></td> <td><?php echo tep_image(DIR_WS_IMAGES.'q2.gif')?></td> </tr> </table> </td> </tr> </table> <!-- end --> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td> </tr> </table> <?php } ?> <!-- start --> </td> </tr> <tr> <td> <table cellpadding="0" cellspacing="0" border="0" style="height:552px; background:url(images/bg2.gif) repeat-x top #151515 "> <tr> <td><?php echo tep_draw_separator('spacer.gif', '18', '1'); ?></td> <td style="width:100%;"> <!-- end --> <?php define(MAX_DESCR_1,'58'); define(MAX_DESCR_BESTS,'19'); define(MAX_DESCR_REVIEWS,'59'); ?> Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2008 Share Posted October 15, 2008 You'll probably have to take this issue to your template provider. Link to comment Share on other sites More sharing options...
dtox99 Posted October 15, 2008 Share Posted October 15, 2008 and also if anyone can help me, how can i add weight in kg to my products to be show on the product details page? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.