Hi All,
I have located the two files that I need to edit I think which are including code:
public_html/includes/templates/bootstrap/sideboxes/tpl_search_header.php
<?php
/**
* Side Box Template: Searchbox for column header
*
* BOOTSTRAP v3.7.0
*
* @copyright Copyright 2003-2020 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: DrByte 2020 May 16 Modified in v1.5.7 $
*/
$content = '<span id="callus">CALL US : 02-8003-5915</span>';
/*
$content .=
zen_draw_form('quick_find_header', zen_href_link(FILENAME_SEARCH_RESULT, '', $request_type, false), 'get', 'class="form-inline"') .
zen_draw_hidden_field('main_page', FILENAME_SEARCH_RESULT) .
zen_draw_hidden_field('search_in_description', '1') .
zen_hide_session_id() .
'<div class="input-group">' .
zen_draw_input_field('keyword', '', 'placeholder="' . HEADER_SEARCH_DEFAULT_TEXT . '" aria-label="' . HEADER_SEARCH_DEFAULT_TEXT . '" ') .
'<div class="input-group-append">' .
zen_image_submit(BUTTON_IMAGE_SEARCH, HEADER_SEARCH_BUTTON) .
'</div>' .
'</div>' .
'</form>';
*/
I want to disable the search function in the header bar(top) and keep the wording CALL US : 02-8003-5915 .Not knowing how to code it out I need assistance on what I need to do
The other file is:
public_html/includes/templates/bootstrap/sideboxes/tpl_ajax_search_header.php
<?php
// -----
// Part of the Bootstrap template for Zen Cart. Renders the AJAX version
// of the search-header.
//
// Bootstrap v3.6.0
//
$content = '<ul class="navbar-nav ml-auto">' . PHP_EOL;
$content .= ' <li class="nav-item"><a href="javascript:void(0);" role="button" id="search-icon" class="nav-link" aria-label="' . BUTTON_SEARCH_ALT . '"><i class="fas fa-2x fa-search"></i></a></li>' . PHP_EOL;
$content .= '</ul>' . PHP_EOL;
Any help would be appreciated


Reply With Quote
