Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

near finshed, installing image contribution


everbeta

Recommended Posts

/catalog/product_info.php

Find :

<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>

</tr>

<?php

} else {

After Add :

if (DISPLAY_EXTRA_IMAGES == 'true'){

if ($product_check['total'] >= 1) {

include (DIR_WS_INCLUDES . 'products_extra_images.php');

}

}

 

 

 

the above is the last one, based on some suggestions, i find the file on www folder when FTP to my server.

however, there is no "else {" in the file, do i find the wrong file??

 

thanks

Link to comment
Share on other sites

I tried to modify the "else" statement in bold, but it does not work, here it is the orginal isntructions.

 

 

/catalog/product_info.php

Find :

<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>

</tr>

<?php

} else {

 

After Add :

if (DISPLAY_EXTRA_IMAGES == 'true'){

if ($product_check['total'] >= 1) {

include (DIR_WS_INCLUDES . 'products_extra_images.php');

}

}

Link to comment
Share on other sites

/catalog/product_info.php

Find :

<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>

</tr>

<?php

} else {

After Add :

if (DISPLAY_EXTRA_IMAGES == 'true'){

if ($product_check['total'] >= 1) {

include (DIR_WS_INCLUDES . 'products_extra_images.php');

}

}

Link to comment
Share on other sites

Well I can't remember exactly, but I think I had the exact same problem. In the end I gave up and decided to use the one suggested in the HTML document. Its the BOF one in the form window:

BOF - Custom hack for extra images

 

I didn't use the clumsey rows and columns system they and OSC had either, so I only used the code in the first box. The second box had something to do with horizontal placement, I ignored that :). With a single DIV container, I let my page arrange the extra images automatically via CSS.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...