Close

Disabling the built-in Featured Products in favor of just a JCarousel

embryo
11 years ago
#1311 Quote
Avatar
  • 55
I configured a JCarousel to show the featured products on my main page at the bottom...that works great, but I can't figure out how to disable the other "default" Featured products that also display on the main page.

Thanks-
Steve
IvanStoyanov
11 years ago
#1312 Quote
Avatar
  • Moderator
  • 269
embryo wrote:
I configured a JCarousel to show the featured products on my main page at the bottom...that works great, but I can't figure out how to disable the other "default" Featured products that also display on the main page.

Thanks-
Steve


Hi Steve,

There is no option in nopCommerce to disable the featured products that are shown on the home page (except not setting any featured products).
To hide the featured products you need to change the source code of the Home page.

Go to Views/Home in your nopCommerce folder and open Index.cshtml with Visual Studio or Notepad.
Find the following code:

@Html.Action("HomepageProducts", "Catalog")
        <div class="clear">
        </div>

and replace it with:

@*@Html.Action("HomepageProducts", "Catalog")
        <div class="clear">
        </div>*@


Or you can just delete it.

Have a great day!

Ivan Stoyanov
Thank you for choosing our products! Your feedback is important to us!
embryo
11 years ago
#1315 Quote
Avatar
  • 55
I did see that, but wasn't sure if just commenting it out of the view would be enough.

Thanks Ivan!