Red Bridge Internet is a San Francisco WordPress Consulting firm specializing in WordPress websites and WordPress Plugin Development. We're the ones you have been searching for.

Link osCommerce infoBox Heading

The osCommerce infoBox arrows are far too small to effectively communicate a linkable area. Instead, I’d think many would just like to make the infoBox title linkable. To accomplish this do the following:

=> open file /includes/classes/boxes.php
=> find the 2 $right_corner if statements (around line 112 and 118)
=> comment these 2 if statements out
=> then add the following lines:

$right_corner = tep_image(DIR_WS_IMAGES . ‘infobox/corner_right.gif’)

$headingTitle = ”;
$headingTitle = $contents[0]['text'];

if ($right_arrow == true) {
$headingTitle = ‘‘ . $headingTitle . ‘‘;

}

=> in the info_box_contents array
=> find: ‘text’ => $contents[0]['text']),
=> replace with: ‘text’ => $headingTitle),

That should be all there is to change the osCommerce infoBox headings to links the title instead of using the arrow.

* Note: I’d already modified this file to always print the right corner box. In any other case, keep the second right_arrow “if” statement and remove only the append of $right_arrow.

Incoming search terms:

  • infoboxheading
  • oscommerce infoboxheading
  • infoboxheading oscommerce
  • change info box heading oscommerce
  • oscommerce infoboxheading turn off product name links
  • oscommerce remove arrow infobox
  • oscommerce title of the box
  • related:oscommerce
  • WHERE IS INFOBOX HEADING
  • oscommerce infobox

Related posts:

  1. osCommerce Popular Contributions Lists
  2. Link to an iFrame with Joomla
  3. osCommerce Purchase Without Account Database Error
  4. Add Product Name to Breadcrumb in osCommerce

Leave a Reply