I just bought theme 1.5.4.1 but ofcouse i whant to use it on a newest opencart version 1.5.5.1 what i must know what is diffrences from 1.5.4.1 to 1.5.5.1 what to know what to change.
I uploaded 1.5.4.1 theme to opencart 1.5.5.1 and get a single error
Notice: Undefined variable: filter_name in /home/mobilizona/public_html/catalog/view/theme/ribbon/template/common/header.tpl on line 60
on line 60 is this commands:
line 60 <?php if ($filter_name) { ?>
line 61 <input type="text" name="filter_name" value="<?php echo $filter_name; ?>" />
to solve that error
in header.tpl
find
and replace with
Have a nice day!
in header.tpl
find
Code: Select all
<div id="search">
<div class="button-search"></div>
<?php if ($filter_name) { ?>
<input type="text" name="filter_name" value="<?php echo $filter_name; ?>" />
<?php } else { ?>
<input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" />
<?php } ?>
</div>
Code: Select all
<div id="search">
<div class="button-search"></div>
<input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" />
</div>
Opencart Templates, Modules, Themes & Custom Development | ShopThemer
YOU ARE THE BEST!!!!!!!!!! Totaly worked for me and my theme
/catalog/view/theme/beautyshop/template/common/header.tpl on line 447
just replacing this line is now solved!
thanks sooo much!
/catalog/view/theme/beautyshop/template/common/header.tpl on line 447
just replacing this line is now solved!
thanks sooo much!
Xyph3r wrote:to solve that error
in header.tpl
findsolve it, thank you very much.Code: Select all
<div id="search"> <div class="button-search"></div> <?php if ($filter_name) { ?> <input type="text" name="filter_name" value="<?php echo $filter_name; ?>" /> <?php } else { ?> <input type="text" name="filter_name" value="<?php echo $text_search; ?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" /> <?php } ?> </div>
Have a nice day!Code: Select all
<div id="search"> <div class="button-search"></div> <input type="text" name="search" placeholder="<?php echo $text_search; ?>" value="<?php echo $search; ?>" /> </div>
Who is online
Users browsing this forum: No registered users and 70 guests