IN:
Code: Select all
/catalog/model/catalog/product.php
Code: Select all
ORDER BY p.date_added
Code: Select all
ORDER BY p.date_available
Code: Select all
/catalog/model/catalog/product.php
Code: Select all
ORDER BY p.date_added
Code: Select all
ORDER BY p.date_available
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
I do.Johnathan wrote:Does somebody disagree with me?
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
I'm in the same side with Johnathan when setting an online store. It is requested that "just arrived items" appear in home page i.e. their data has been already in system but their stock was out, but now back full, and so I change the date as Johnathan's comments. ThanksJohnathan wrote:Thanks for both your considered responses. I see what you mean about date_modified...for my wife and myself, we just change date_available on products that we don't want as latest products to an earlier day. Of course, if you have lots of products appearing on a single day in the future, that's not as useful.
is this the correct way to do it even in 1.5.1.3Johnathan wrote:I think it works a lot better for Latest Products to be based on date_available instead of date_added, since date_available can be changed in the admin. This way products can be created ahead of time and still appear on the correct date as a "latest product". It's an easy fix, too:
IN:REPLACE:Code: Select all
/catalog/model/catalog/product.php
WITH:Code: Select all
ORDER BY p.date_added
Code: Select all
ORDER BY p.date_available
Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Yes me 2..labeshops wrote:From the date of the original post, I would guess this was done for 1.4, not 1.5.
Users browsing this forum: No registered users and 5 guests