Close

[SOLVED] Recently Viewed Products Images

prateek.shah
8 years ago
#9637 Quote
Avatar
  • 28
Hi all,

Is it possible to show images in recently viewed products block? Currently I dont get images; See snapshot below.

http://s3.postimg.org/ipx8cyr6r/rvi.jpg

The _ColumnsTwo.cshtml has this...

@Html.Action("RecentlyViewedProductsBlock", "Product", new { productThumbPictureSize = 64 })
nikola.dragiev
8 years ago
#9638 Quote
Avatar
  • Moderator
  • 154
Hello,

Usually they are hidden with css, according to the design of the theme. If you want to show them just paste this css code into your Custom Head Styles textfield. It is located in the nopCommerce Administration -> Plugins -> Nop Allure Theme -> Settings

.side-2 .block .list li {
  overflow: hidden;
}
.side-2 .block .list .product-picture {
  display: block;
  float: left;
}
.side-2 .block .list .product-name {
  margin-left: 80px;
}
.side-2 .block .list .product-picture,
.side-2 .block .list .product-name {
  border: none;
}
.side-2 .block .list .product-picture:after,
.side-2 .block .list .product-name:after {
  display: none;
}
Best regards,
Nikola Dragiev
Nop-Templates.com
prateek.shah
8 years ago
#9671 Quote
Avatar
  • 28
Perfect!

Many thanks.
Pratik