Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anyone seen anything like this before?


jasonh1234

Recommended Posts

Posted

Its possible to do that and easy enough just time consuming need to edit the index/default page depending on which version of osc you use. And its corresponding language file

 

And then the new_products.php file to show the category name in the header of the table.

 

By the way the new products table is category specific anyway.

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Posted
Its possible to do that and easy enough just time consuming need to edit the index/default page depending on which version of osc you use. And its corresponding language file

 

And then the new_products.php file to show the category name in the header of the table.

I'm using 2.2ms1 (I'm pretty sure)

Are there any tutorials around for such a conversion? I'm pretty new to PHP here.

 

This is a mock up graphic of what the person I'm building the site for, actually wants. But I don't think it's possible to get the product listing to display like that. I'just need to get OSC to display as closely to that as possible.

 

clientspec.jpg

 

By the way the new products table is category specific anyway.

???

:eh:

 

Not in the version I'm using. I can view new products in two ways.

1. Default on the main catalog page,

2. By clicking the little arrow in the header of the "what's new" infobox

 

Both methods determine what product to display by the dates they were added to the catalog.

Neither of those ways will show new products from only one specific category, let alone a currently selected one.

You've lost me there.

Posted

Hi,

 

I took a look at the deafault.php file from MS1 and found on line 111 the following line of code;

 

            <td><br><?php $new_products_category_id = $current_category_id; include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

 

..... this code specifies that in a nested category (sub category) that the new category id is the current category id eg the sub category then it calls the new_products.php file which in turn displays the new products for that category only!!!

 

On line 321 of default.php we find this code

 

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

 

....which basically is set in the top category/home page where new products are displaed but not category specific!

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Archived

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

×
×
  • Create New...