Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    104
    Plugin Contributions
    0

    Default Remove Entry_Price_Range on Advanced Search Page

    How do I remove (or comment-out) Entry_Price_Range and Entry_Date_Range boxes from the Advanced Search Page?

    Thanks.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Remove Entry_Price_Range on Advanced Search Page

    You are jumping on your horse and riding madly off in all directions, aren't you?

    Get familiar with the developer's toolkit under tools in the admin control panel. Enter a variable or constant in the bottom left block, select admin and cart, and click on the search button.

    You'll find this invaluable.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Aug 2006
    Posts
    104
    Plugin Contributions
    0

    Default Re: Remove Entry_Price_Range on Advanced Search Page

    Thanks for your reply.

    I entered "Entry_Price_Range" into the developer's toolkit, where you instucted.

    This is what appeared.

    "/home/public_html/catalog/includes/languages/classicx/english/advanced_search.php

    Line #21 : define('ENTRY_PRICE_RANGE', 'Search by Price Range');


    /home/public_html/catalog/includes/languages/english/advanced_search.php

    Line #21 : define('ENTRY_PRICE_RANGE', 'Search by Price Range');

    /home/public_html/catalog/includes/templates/template_default/templates/tpl_advanced_search_default.php
    "
    Line #46 : <legend><?php echo ENTRY_PRICE_RANGE; ?></legend>"

    Now, to comment-out these lines, I tried a few things unsuccessfully.
    I tried commenting-out these lines with this <!-- --> and then tried this // and then this /* */.

    Obviously, I'm not doing something correctly.

    Any assistance would be greatly appreciated. Thanks.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,700
    Plugin Contributions
    11

    Default Re: Remove Entry_Price_Range on Advanced Search Page

    In the includes\templates\template_default\templates\tpl_advamced+search_defaut.php, around line 46, change
    <fieldset class="floatingBox back">
    <legend><?php echo ENTRY_PRICE_RANGE; ?></legend>
    <fieldset class="floatLeft">
    <legend><?php echo ENTRY_PRICE_FROM; ?></legend>
    <?php echo zen_draw_input_field('pfrom'); ?>
    </fieldset>
    <fieldset class="floatLeft">
    <legend><?php echo ENTRY_PRICE_TO; ?></legend>
    <?php echo zen_draw_input_field('pto'); ?>
    </fieldset>
    </fieldset>
    <!--- <fieldset class="floatingBox back">
    <legend><?php /**echo ENTRY_PRICE_RANGE; */?></legend>
    <fieldset class="floatLeft">
    <legend><?php /**echo ENTRY_PRICE_FROM; */?></legend>
    <?php /**echo zen_draw_input_field('pfrom'); */?>
    </fieldset>
    <fieldset class="floatLeft">
    <legend><?php /**echo ENTRY_PRICE_TO; */?></legend>
    <?php /**echo zen_draw_input_field('pto'); */?>
    </fieldset>
    </fieldset> --->
    Be sure to save the file into you override directory to not lose it later. After this storm passes, we'll look at alignment.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  5. #5
    Join Date
    Aug 2006
    Posts
    104
    Plugin Contributions
    0

    Default Re: Remove Entry_Price_Range on Advanced Search Page

    Thanks alot for your help. I greatly appreciate your time and expertise.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 5 Sep 2014, 01:05 PM
  2. Remove Advanced Search
    By Inxie in forum General Questions
    Replies: 6
    Last Post: 6 Jan 2014, 09:53 PM
  3. Remove 'Search Help [?]' from advanced search
    By boy1da in forum General Questions
    Replies: 0
    Last Post: 8 Nov 2010, 09:53 PM
  4. Remove 'Search by Date Added' field from advanced search page?
    By gaffettape in forum General Questions
    Replies: 7
    Last Post: 24 Jan 2010, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg