Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

arranging "what's new" product page


need osc help

Recommended Posts

Posted

Is there a way to manually arrange the home page "what's new" pictures. There are in the order I've added the item (date and time), and I don't like that order at all. I want to choose what pictures to see based on season. Also, I want to mix it up. I'd like to show a picture from each category as the first few pictures. The only way I see right now of re-arranging them is to totally delete the item and re-add it to have it show at the top. A lot of work! Does anyone know how to re-arrange them manually?

Posted

I find that removing the whats new module and creating my own table with images and text that links to my product info id is easier. line 314 index.php

 

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

 

remove code in red and add your table with product and images.

 

your code for image and info link would look something like this

 

<a href=<?=tep_href_link('product_info.php', 'products_id=63')?>><img src=images/apples.gif width=251 height=88 border=0></a><br><p align="center">this is my text</p>

Archived

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

×
×
  • Create New...