chrometweaks.org

Do iPage web hosts provide unlimited bandwidth for you?

Click Here To View All Answers...


Got a question... Do iPage web hosts provide unlimited bandwidth for you? Many thanks for any response. Second question of mine... Hi,.

Just want to say this must be the best script in the world I recomende poeple to donate some money to the team..

Anyway my question is, is it possible to add description in to the special box..

I want to have a big special box in the top of the page with some description and image prices etc..

And if how can I do that?.

This is the shop I am bulding just now (.

Http://www.shopcenter.se/butik/.

).

Thanks for all the replys.

Regards Kjell..

Comments (33)

That's a good question. I'm not sure what is the right answer. I'll do some investigation and get back to you if I discover an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Hi, again I will refresh this question every day so I may get an answer..

Is it possible to add description in to the special box..

I want to have a big special box in the top of the page with some description and image prices etc..

And if how can I do that?.

Regards K...

Comment #2

You'll have to mod the existing /catalog/boxes/specials.php code to include in the SQL query and then display the products description in the infoBox. Should take long if you know what your doing..

Good luck..

Comment #3

Thanks Greg,.

For answering my question..

How long will it take if I dont know what I am doing :-).

So that means is no contribution for this one. You are saying at have to make changes in mysql database in specials.php table?.

Is any where I can read about this how to doit?.

Regards K...

Comment #4

Edit includes/boxes/specials.php. Change code from:.

<?php.

/*.

 $Id: specials.php,v 1.31 2003/06/09 22:21:03 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from "TABLE_PRODUCTS" p, "TABLE_PRODUCTS_DESCRIPTION" pd, "TABLE_SPECIALS" s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '"(int)$languages_id"' and s.status = '1' order by s.specials_date_added desc limit "MAX_RANDOM_SELECT_SPECIALS)) {.

?>.

<! specials //>.

         <tr>.

           <td>.

<?php.

   $info_box_contents = array();.

   $info_box_contents[] = array('text' => BOX_HEADING_SPECIALS);.

   new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS));.

   $info_box_contents = array();.

   $info_box_contents[] = array('align' => 'center',.

                                'text' => '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product["products_id"])'">'tep_image(DIR_WS_IMAGES$random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a><br><a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product['products_id'])'">'$random_product['products_name']'</a><br><s>'$currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'</s><br><span class="productSpecialPrice">'$currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'</span>');.

   new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! specials_eof //>.

<?php.

 }.

?>.

To.

<?php.

/*.

 $Id: specials.php,v 1.31 2003/06/09 22:21:03 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

 if ($random_product = tep_random_select("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price, pd.products_description from "TABLE_PRODUCTS" p, "TABLE_PRODUCTS_DESCRIPTION" pd, "TABLE_SPECIALS" s where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '"(int)$languages_id"' and s.status = '1' order by s.specials_date_added desc limit "MAX_RANDOM_SELECT_SPECIALS)) {.

?>.

<! specials //>.

         <tr>.

           <td>.

<?php.

   $info_box_contents = array();.

   $info_box_contents[] = array('text' => BOX_HEADING_SPECIALS);.

   new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS));.

   $info_box_contents = array();.

   $info_box_contents[] = array('align' => 'center',.

                                'text' => '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product["products_id"])'">'tep_image(DIR_WS_IMAGES$random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)'</a><br><a href="'tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='$random_product['products_id'])'">'$random_product['products_name']'</a><br><s>'$currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'</s><br><span class="productSpecialPrice">'$currencies->display_price($random_product['specials_new_products_price'], tep_get_tax_rate($random_product['products_tax_class_id']))'<br>'$random_product['products_description']'</span>');.

   new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! specials_eof //>.

<?php.

 }.

?>..

Comment #5

Hi,.

Just want to say this must be the best script in the world I recomende poeple to donate some money to the team..

Anyway my question is, is it possible to add description in to the special box..

I want to have a big special box in the top of the page with some description and image prices etc..

And if how can I do that?.

This is the shop I am bulding just now (.

Http://www.shopcenter.se/butik/.

).

Thanks for all the replys.

Regards Kjell..

Comment #6

Does any one know? how to do the above..

K...

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.