<?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_SPECIALS); new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS)); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product["products_id"]) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br><s>' . $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) . '</span>'); new infoBox($info_box_contents); ?> PHP: I need this link modified: <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product["products_id"]) . '"> PHP: Right now the .tep_href_link(FILENAME_PRODUCT_INFO is pulling my URL to put in place there but i dont want it to. How would i remove that from this code without breaking the link. I want it to look like this: <a href="/ .........
Hey there, OSC is a nightmare You'd be better off doing something like: '<a href="/products_link_here.php?products_id=' . $random_product["products_id"] . '">' . PHP: That should do the trick, I highly recommend that you don't touch the tep_* functions as it'll end up breaking your entire shopping cart one way or another. Best of luck with the nightmare that is OSC Francisco