Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

3 easy questions! ( i think)


Recommended Posts

1.When adding product text in admin, i want to have the text various colours. what coding do i put in here with the product description to achieve this?


2. I want to remove the border that is always around the continue and back buttons at the bottom of the pages. how?


3. I want to move the add to cart and back buttons to the top of the page on the product vieweing page. easy?


i'll add a bonus question!


4. How is the click to enlarge option removed from the images!

Link to comment
Share on other sites

1.) use HTML tags


4.) Open "product_info.php"


Find this:


<script language="javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>


Change it to this:


<img src="images/<? echo $product_info['products_image']; ?>" title="<? echo addslashes($product_info['products_name']); ?>">

Link to comment
Share on other sites


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

  • Create New...