Jump to content

Problem with new-products.php


em.pe

Recommended Posts

If you added your products under "home" category you may show 100 products by increase number of featured products number from "back office > modules> home featured modules". If it is not show latest products you have to edit "homefeatured.php" and add "DATE_ADD" with "DESC"

Link to comment
Share on other sites

So you want the most recently added products to show first?

Or by latest are you trying to show the "older" products first?

The second poster is on the right track... you can modify your new-product.php file to specify the default order for new products. But the easier way might be to change the default order through the BO. The only difference is that by setting it in the BO it will affect all product-list pages, and maybe not just for new products.

Anways to do so, log into BO, click Preference >> Products, scroll down to "Default orderby" and "Default orderway". Set those accordingly.

HTH!

Link to comment
Share on other sites

OH... So even if they aren't "new" per say... you want them to be included within the new-products.php page?

Why can't you just set Number of Days to be considered new to a high number? I personally haven't tried it (ours is set at 45 days)... but I'm sure you could put a very high number in that field. Does it through some error if it's over a certain number of days or something?

Otherwise, you would have to modify the SQL query to pull all products from a set date till today... and you could set that start date to when you first opened your shop or something like that. If you decide to take this route you may want to consider creating a new module... i'm a noob to sql queries so my help would be limited in that area.

HTH!

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