Jump to content

Display a module in a page


Recommended Posts

Hi,

At first, sorry for my english, i'm not fluent.

I want to add some link in the main menu, like "new products". When i click on the link, i want to display only the new products module on a new blank page. Is this possible or is there another solution to display those new products without all other modules on the homepage ?

Thanks a lot for your return, 😉

Link to comment
Share on other sites

8 hours ago, Nishith Nesdiya said:

Hello,

native  prestashop already provide the new product page you need add those page in main menu.

Thank you 

You can use this @Pixango And remember, Prestashop also have more controllers to show products and you can use for different a purpose 

https://github.com/PrestaShop/PrestaShop/tree/develop/controllers/front/listing

 

Link to comment
Share on other sites

  • 2 weeks later...
On 3/23/2024 at 7:57 AM, ricardopxl said:

You can use this @Pixango And remember, Prestashop also have more controllers to show products and you can use for different a purpose 

https://github.com/PrestaShop/PrestaShop/tree/develop/controllers/front/listing

 

Hi,

Can you explain how it works ? I uploaded the best product controller file in my controller folder. But now, what do i have to do to create a link in the module to display those best products in the front page ?

Thanks a lot for your return,

Link to comment
Share on other sites

5 hours ago, Pixango said:

Hi,

Can you explain how it works ? I uploaded the best product controller file in my controller folder. But now, what do i have to do to create a link in the module to display those best products in the front page ?

Thanks a lot for your return,

Hi..
you not need create any custom module for new products, best selling product and discount products. prestashop already provide those page default. Please check demo here 

https://prestashoppe.in/prestashop/best-sales
https://prestashoppe.in/prestashop/prices-drop
https://prestashoppe.in/prestashop/new-products

Here is list page in admin please look this image 

 

Capture.JPG

Edited by Nishith Nesdiya (see edit history)
  • Like 1
Link to comment
Share on other sites

Yep ! I found those pages. This is my first prestashop website. It takes time but so far I have been able to do everything I wanted without paid module.

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