2

I want to know about featured product update. I have limited the number of featured product to 25. So, the currently 25 products are showing. Now i added more 25 products as featured product now the total number of featured product is 50. I want to show 25 featured product on home page which have been added recently and previous featured product should automatically goes off from home page. One more thing, there is different sort by options like price, name are available in featured widget but i want to have sort by latest product.

So the question is: How to order the products on homepage by the date I added the "featured" flag?

  • yes @Fabian. I need that only. – Kishor Dec 8 '14 at 6:19
3

The most easy way to achieve this by limiting the number of products to show on featured product category to 25 products. And then you can give correct "position" to sort the newly added products at the top (see screenshot for reference)

see screenshot for reference

  • Actually i have not created any featured product category instead assigned product as featured product from subcategories. But i am trying to implement your solution. Thanks – Kishor Dec 8 '14 at 11:48
  • This is a far better way than using an attribute. Thanks for this great answer! – Fabian Blechschmidt Dec 9 '14 at 8:44
  • Glad I could help! – stevensagaar Dec 9 '14 at 10:01
  • ohh!!! Great idea. Implemented that and it's too easy also... Thanks @stevensagaar – Kishor Dec 11 '14 at 7:55
0

There is no easy way, because you have no date, which represents this change.

But you can add an attribute which is filled with now() when this attribute is updated through an observer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.