Magento How to sort latest product by created date and new from date
16394
single,single-post,postid-16394,single-format-standard,ajax_fade,page_not_loaded,,qode-theme-ver-5.9,wpb-js-composer js-comp-ver-4.3.4,vc_responsive

Magento How to sort latest product by created date and new from date

frame14_1

28 Jul Magento How to sort latest product by created date and new from date

Magento How to sort latest product by created date and new from date

Here is a quick tip to sort/order latest product by both created date and new from date.

Created At date is automatically added when you add a new product. However, you have to set New from Date manually while adding or editing product.

You may have product with same new from date. And, then you need created at date to sort the latest product.

Here is the code to sort/order product by both created date and new from date:-

 

Jenny Tran
hatran260612@gmail.com
No Comments

Post A Comment