Post by Sm00dE » Thu Feb 28, 2013 4:06 am

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; ?>" />

New member

Posts

Joined
Wed Feb 01, 2012 4:32 am

Post by Reelgames » Wed Apr 17, 2013 6:24 pm

Did you get this sorted as I have the same problem now.

New member

Posts

Joined
Wed May 09, 2012 8:18 pm

Post by Xyph3r » Wed Apr 17, 2013 6:29 pm

to solve that error
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>
and replace with

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>
Have a nice day!

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by max4arab » Sun May 05, 2013 4:24 pm

yesssssssss
thx

New member

Posts

Joined
Tue May 10, 2011 3:04 am

Post by butte » Mon May 06, 2013 2:17 am

If that worked and it stays fixed for you, too, Sm00dE, then go ahead and mark the original title Solved. That'll make it stand out, as well as let us know that it's a done deed.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by MODAYBELLEZA » Wed Aug 07, 2013 6:41 am

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!

Newbie

Posts

Joined
Mon Jun 24, 2013 6:48 pm

Post by kkansh » Thu Jan 09, 2014 2:56 am

Thank you so much

Newbie

Posts

Joined
Sun Aug 18, 2013 5:10 pm

Post by alvintay » Fri Feb 28, 2014 5:12 pm

Xyph3r wrote:to solve that error
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>
solve it, thank you very much.

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>
Have a nice day!

Newbie

Posts

Joined
Tue Dec 24, 2013 2:30 pm
Who is online

Users browsing this forum: No registered users and 70 guests