navrats Posted September 3, 2010 Posted September 3, 2010 ok what i want to do is move the text that appears when product date expected to come back in stock. at the moment it is at the bottom of the page, but i figure its better to have it at the top near where it says out of stock. my question is though how can i move it so that it does nt cause errors. here is bottom bit of code: <tr> <td style="padding:0px 5px; "><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } if (tep_not_null($product_info['products_url'])) { ?> <tr> <td class="main" style="padding:0px 5px; "><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td> </tr> <?php } if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } ?> <tr> <td><?php include(DIR_WS_MODULES . FILENAME_MATCHING_PRODUCTS_MANUFACTURERS); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td height="38"><?php if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_also_purchased(3600); } else { // include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> </td> </tr> so which bits would i leave at the bottom and what would i move. { } its these brackets i am worried about. any help is appreciated. : )
Recommended Posts
Archived
This topic is now archived and is closed to further replies.