Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

OSCommerce Home Page Modification


Jeb911

Recommended Posts

Posted

How Can I modify my home page so that it doesnt show actual products? Also, I want to add three Image buttons in the center of the page where it normally shows new items - I want three buttons each button will link to a category - i.e Cat1, Cat2, Cat3

 

JEB

Posted
How Can I modify my home page so that it doesnt show actual products? Also, I want to add three Image buttons in the center of the page where it normally shows new items - I want three buttons each button will link to a category - i.e Cat1, Cat2, Cat3

 

JEB

 

remove this :

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

and this :

<td><?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?></td>

and this :

include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS);

 

from index.php

 

Replace with :

<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a>

 

or :

<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT), $cPath_new) . '">' . tep_image_button('your_image.jpg'', IMAGE_BUTTON_CAT1) . '</a>'; ?>

 

david

Archived

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

×
×
  • Create New...