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)

Share this post


Link to post
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

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More