Jump to content

Recommended Posts

Hi!

 

I need to alter a topseller module in the way that it would display NEW products instead of TOP SALE products, all other things being equal.

Is this feasible with less efforts or it would demand strong php skills? Could anyone share any advice on how to do this?

 

Thanks in advance!

Edited by vega17 (see edit history)
Link to comment
Share on other sites

Hi,

Unfortunately, you really need some php skills to do it. Basically, you have to edit the blockbestsellers.php files at the point where it gets best sales. BUT you can't just edit the query, since if I recall correctly it's using a custom method of the product class... no maybe it's another class. At any rate, if I remember correctly, you'll have to add your own method inside the module and call it. You should better create a new module with the new products list and best sales display

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...