Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

You may laugh at how silly this may seem, but its just been bothering me. I loaded the extra Images contribution to my 2.2RC2 store, and one thing that bugs me is the seeming lack of attention to proper grammar in the new section where the extra images appear.

 

Take this page for example, it is a product in my store:

 

http://www.dirtyimpreza.com/catalog/product_info.php?cPath=21&products_id=33

 

I have multiple images of the item, so the pictures appear below. I don't like the way the text says "extra Images" with a lowercase "e" in extra, and a capital "I" for images. I would like to change this text to say "Additional Images"

 

I think that if i were to edit catalog/includes/products_extra_images.php i might be able to change this text?

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

 

Based on Extra images 1.4 from Mikel Williams

Thanks to Mikel Williams, StuBo, moosey_jude and Randelia

Modifications: Xav [email protected]

 

*/

 

 

$products_extra_images_query = tep_db_query("SELECT products_extra_image, products_extra_images_id FROM " . TABLE_PRODUCTS_EXTRA_IMAGES . " WHERE products_id='" . $product_info['products_id'] . "'");

if (tep_db_num_rows($products_extra_images_query) >= 1){

$rowcount_value=4; //number of extra images per row

$rowcount=1;

?>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<TR>

<TD>

<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

<TR>

<TD CLASS="infoBoxHeading" align ="center">

<?php echo (TEXT_EXTRA_IMAGES); ?>

</td>

</tr>

</TABLE>

 

Where can I change the defined TEXT_EXTRA_IMAGES value?

Edited by dirtyimpreza
Posted

Aaron,

 

When you installed the contribution, no doubt you added a language file or changed the language file for product_info.php. In the language file, you will see the define ('TEXT_EXTRA_IMAGES', 'extra Images') so once you find it you can change one the text.

 

 

It WILL be in the languages/english.php or languages/english/product_info.php files.

 

 

 

Chris

Posted

 

It WILL be in the languages/english.php or languages/english/product_info.php files.

 

Chris

 

Chris.

 

Thanks for your help, indeed the text i was looking for was in the languages/english.php file.

 

Changed the line to define('TEXT_EXTRA_IMAGES', ' Additional Product Images '); and i'm a happy camper. Thank you for your help sir!!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...