chrometweaks.org

Has anyone tried iPage's reseller program?

Click Here To View All Answers...


My first question is Has anyone tried iPage's reseller program? Thanks in advance for any comment. My 2nd question... Anyone help me on how to search also in product description? I try it but osc coding confused me (I'm beginner in osc)...

Comments (58)

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

Comment #1

Tim ... close..

Here is the entire code for my search.php. It allows search in description..

Replace your search.php with this, and it will search descriptions also..

<?php.

/*.

 $Id: search.php,v 1.22 2003/02/10 22:31:05 hpdl Exp $.

 osCommerce, Open Source E-Commerce Solutions.

 http://www.oscommerce.com.

 Copyright (c) 2003 osCommerce.

 Released under the GNU General Public License.

*/.

?>.

<! search //>.

         <tr>.

           <td>.

<?php.

 $info_box_contents = array();.

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

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

 $info_box_contents = array();.

 $info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),.

                              'align' => 'center',.

                              'text' => tep_draw_hidden_field('search_in_description','1')tep_draw_input_field('keywords', '', 'size="10" maxlength="30" style="width: '(BOX_WIDTH-30)'px"')'&nbsp;'tep_hide_session_id()tep_image_submit('button_quick_find.gif', BOX_HEADING_SEARCH)'<br>'BOX_SEARCH_TEXT'<br><a href="'tep_href_link(FILENAME_ADVANCED_SEARCH)'"><b>'BOX_SEARCH_ADVANCED_SEARCH'</b></a>');.

 new infoBox($info_box_contents);.

?>.

           </td>.

         </tr>.

<! search_eof //>..

Comment #2

Rex - Thanks for the code clip - I've tried it and it works great..

A simple upgrade that has an enormous upside as it provides for utilizing all your product attributes found in the descriptions in customer searches...

Comment #3

Teejaycom,.

Actually, they are both correct. The only thing you're doing is setting it as a field, then using the form to put it into the URL..

I'm putting it into the url to begin with. So, in essence I 1-upped you to start with...

Comment #4

Thanks for the help this made all the difference for me. I must learn php and give some support back..

Comment #5

Anyone help me on how to search also in product description? I try it but osc coding confused me (I'm beginner in osc)...

Comment #6

In includes/boxes/search.php.

Around line 23 should be.

X_contents[] = array('form' => tep_draw_form('quick_find', tep_href_lin(FILENAME_AD...., '', 'NON.

Well, in the '' between the filename and nonssl put.

Search_in_description=1.

That should do it...

Comment #7


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