0

I have to display best selling products list, just confused what is the best practice.

Create Module & CMS Page

Getting best selling values from database using products id display product image, name, price, add to cart. For doing this which practice is best

1) Create module :

Create module like following practice,
https://www.pierrefay.com/magento-training/create-a-controller-tutorial.html

2) CMS Page :

Create .phtml file inside the theme/template/page/my_code/best_selling_list.phtml and getting template value in cms page using

{{block type="core/template" template="page/my_code/best_selling_list.phtml"}}

Both are dedicated new URL, What is the best practice?

Your Answer

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

Browse other questions tagged or ask your own question.