Hi there,
How can i have items under Coming Soon but without the date?
Thank you
Hi there,
How can i have items under Coming Soon but without the date?
Thank you
Copy the default template file:
/includes/templates/template_default/templates/tpl_modules_upcoming_products.php
to your template and override directory:
/includes/templates/your_template_dir/templates/tpl_modules_upcoming_products.php
And customize the display to not show the date ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks a lot!
Ajeh,
I managed to get rid of the date for the item but i don't know how to get rid of the "date expected" on the top right.
www.animestrike.co.uk for reference.
Also, how do i make the center box (new products for february etc.) to have the same heading as upcoming products?
Thank you
You appear to have a mess ...
I am on a Notebook at 1600 x 1024 ... not a pretty sight ...
Try this instead, I only commented out the code I did not remove anything:
PHP Code:
<?php
/**
* Module Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_upcoming_products.php 2834 2006-01-11 22:16:37Z birdbrain $
*/
?>
<!-- bof: upcoming_products -->
<fieldset>
<legend><?php echo TABLE_HEADING_UPCOMING_PRODUCTS; ?></legend>
<table border="0" width="100%" cellspacing="0" cellpadding="2" id="upcomingProductsTable" summary="table contains a list of products that are due to be instock soon and the dates the items are expected">
<caption>These items will be in stock soon</caption>
<tr>
<th scope="col" id="upProductsHeading"><?php echo TABLE_HEADING_PRODUCTS; ?></th>
<!-- <th scope="col" id="upDateHeading"><?php echo TABLE_HEADING_DATE_EXPECTED; ?></th> -->
</tr>
<?php
$row = 0;
while (!$expected->EOF) {
$row++;
if (($row / 2) == floor($row / 2)) {
echo ' <tr class="rowEven">' . "\n";
} else {
echo ' <tr class="rowOdd">' . "\n";
}
echo ' <td ><a href="' . zen_href_link(zen_get_info_page($expected->fields['products_id']), 'products_id=' . $expected->fields['products_id']) . '">' . $expected->fields['products_name'] . '</a></td>' . "\n" .
// ' <td align="right" >' . zen_date_short($expected->fields['date_expected']) . '</td>' . "\n" .
' </tr>' . "\n";
$expected->MoveNext();
}
?>
</table>
</fieldset>
<!-- eof: upcoming_products -->
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Bookmarks