Appear code in search results

GK User
Mon Feb 03, 2014 10:37 am
Joomla 2.5.17 and virtuemart 2.0.24c

Hello all,

When customer realize a search, appear the following code: $category_id = JRequest::getInt ('virtuemart_category_id', 0); ?> For example:

Image

Also i´ve seen that they categories appear before products results. How can I remove it?

Image

Thanks in advance
User avatar
Expert Boarder

teitbite
Mon Feb 03, 2014 10:44 am
Hi

Please tell me the exact url to the page this error can be seen and please tell me what is the template version.
User avatar
Moderator

GK User
Mon Feb 03, 2014 11:45 am
HelloTeitbite

The url is with an example http://www.bizzis.es/productos/search?keyword=mmr&limitstart=0&option=com_virtuemart&view=category

The template version is Gavern v.2.17
User avatar
Expert Boarder

teitbite
Tue Feb 04, 2014 1:19 pm
Hi

I do not see this part of the code in template's override, but please send me an ftp access, so I'll make sure it's not comming from template and fix it.
User avatar
Moderator

GK User
Sun Feb 09, 2014 8:23 pm
Hello Teitbite

i sent a PM with this issue

Regards
User avatar
Expert Boarder

teitbite
Mon Feb 10, 2014 6:40 pm
Hi

Sorry for delay. It was a duplicated line in /html/com_virtuemart/category/default.php

Code: Select all
          $category_id  = JRequest::getInt ('virtuemart_category_id', 0); ?>
             $category_id  = JRequest::getInt ('virtuemart_category_id', 0); ?>


I've removed one of them and problem is gone.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.