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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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. |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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 } |
|
#3
| |||
| |||
| It wasn't quite what I was looking for, but it put me on the right track. Thanks for the assist. |
|
#4
| |||
| |||
| any time (yay 50 posts!) |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I want to get rid of new products box for month etc | gasketking | osCMax v2 Installation issues | 0 | 10-31-2005 07:58 AM |
| No new products this month, but I want to display some anywa | Willum | osCMax v2 Installation issues | 1 | 09-09-2005 06:46 AM |
| Display price in New Products for <Month> | neil | osCMax v1.7 Discussion | 0 | 04-25-2005 09:39 PM |
| All products showing up in New Products for the Month | BuckroeBill | osCMax v1.7 General Mods Discussion | 0 | 02-20-2005 10:45 AM |
| New products for the month problem | maxi032 | osCommerce 2.2 Modification Help | 0 | 05-28-2003 03:20 AM |