Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

help please


kitsaras

Recommended Posts

I add the youtude add on in my 2.2 but they show me the youtube window in left of my product info.

 

i want to allign it in center so please anyone can help me in this ???

 

my product_info code

 

<?php
   }
   if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
					<table cellpadding="0" cellspacing="0" class="product box_width_cont">
						<tr><td class="line_h"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td></tr>
						<tr><td height="17"></td></tr>
					</table>
<?php
   } else {
?>
					<table cellpadding="0" cellspacing="0" class="product box_width_cont">
						<tr><td class="line_h"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td></tr>
						<tr><td height="17"></td></tr>
					</table>

<!-- this part of code i want to allign it in center 
<?php
   }
if (DISPLAY_EXTRA_VIDEOS == 'true'){
    if ($product_check['total'] >= 1) {
      include (DIR_WS_INCLUDES . 'products_extra_videos.php');
    }
   } 
?>
<!-- this part of code i want to allign it in center

	<!-- 
	<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
         <tr class="infoBoxContents"><td>
		 -->
etc ..

 

 

thanx a lot!

Link to comment
Share on other sites

SOLVED!!

 

<?php
   }
?>
					<table cellpadding="0" cellspacing="0" class="product box_width_cont">
						<tr><td class="line_h"><?php if (DISPLAY_EXTRA_IMAGES == 'true'){
                                                         if ($product_check['total'] >= 1) {
                                     include (DIR_WS_INCLUDES . 'products_extra_images.php');
                                     }
                                    } 
                                                     if (DISPLAY_EXTRA_VIDEOS == 'true'){
                                                        if ($product_check['total'] >= 1) {
                                     include (DIR_WS_INCLUDES . 'products_extra_videos.php');
                                     }
                                    }  ?></td></tr>
						<tr><td height="17"></td></tr>
					</table>

Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...