Jump to content

New Product - Cool Hack


SWcoins.com

Recommended Posts

Hello all,

 

Not sure if many may find this useful.... but I had a bit of a problem... see I wanted the new product module block to show the oldest - newst products first... That way after the time is up where products are no longer consider new it moves on to the second to oldest etc....

 

I found that if you edit file:

classes/Product.php

 

around line 2033

if (empty($order_way)) $order_way = 'DESC';

to

if (empty($order_way)) $order_way = 'ASC';

Save.

 

I am sure there is a way to edit the function call in thew new product block module... but since

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...