Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cannot find the code..


ronsoto

Recommended Posts

hello all,

 

in the contrib 'header tags for novices':

 

in step three of adding code, it is specified that after this code:

 

// add the products model to the breadcrumb trail

if (isset($HTTP_GET_VARS['products_id'])) {

$model_query = tep_db_query("select products_model from " . TABLE_PRODUCTS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");

if (tep_db_num_rows($model_query)) {

$model = tep_db_fetch_array($model_query);

$breadcrumb->add($model['products_model'], tep_href_link(FILENAME_PRODUCT_INFO, 'cPath=' . $cPath . '&products_id=' . $HTTP_GET_VARS['products_id']));

}

}

 

 

you're to add code after it.. this said, i cannot find the above code in ./includes/application_top.php. i'm running osc v2.2 rc2.

 

i have added the code for the previous two steps which i found right away, i just cannot find the step 3 code. i'm a total noob at this kinda stuff.. but i'm getting better! smile.gif

 

(if needed i can attach a copy of my application_top.php here for you to view.)

 

ron-

Edited by ronsoto
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...