Can anyone tell me what to amend so that the 'New Products for the Month' box does NOT display if there are no new products?
Any help much appreciated.
This is a discussion on 'New Products fro the Month' box disabled if no new products within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Can anyone tell me what to amend so that the 'New Products for the Month' box does NOT display if ...
Can anyone tell me what to amend so that the 'New Products for the Month' box does NOT display if there are no new products?
Any help much appreciated.
You could go through the code and look for the part where it start to display the box.
Then put in an statement with check if there are products, if 0, then don't create the box..
if ($productcount != 0) {
//display box
}
It wasn't quite what I was looking for, but it put me on the right track.
Thanks for the assist.
![]()
any time
(yay 50 posts!)
Bookmarks