[SOLVED] Adv Search don't filter Categ unpublished

Create unique look and build successful ecommerce website with eShop Joomla template.
GK User
Sun May 03, 2009 8:08 pm
Hello gavick-usres!

In the Advanced Search (eshop.com)you can select "Search All Categories" or you can selcet any categorie. The Bugg: You can select categories, that not active in virtuemart/categories. Where is the problem? Hoppe you can help me and sorry for my SUPERENGLISH.

Servus, Holger
User avatar
Senior Boarder

GK User
Mon May 04, 2009 1:32 am
Hi

Yes you are right.
This will be address to our programmer and an update will be release as soon as possible.
Also, this update may reflect the eshoptrixII template as well.

Thank you for the warning.

Cheers ;)
User avatar
Platinum Boarder

GK User
Mon May 04, 2009 10:23 pm
Please change in index.php file line:
Code: Select all
$query = "SELECT `c`.`category_name` AS `name` , `c`.`category_id` AS `id` FROM `#__vm_category` AS `c` ORDER BY `c`.`category_id`;";


for:
Code: Select all
$query = "SELECT `c`.`category_name` AS `name` , `c`.`category_id` AS `id` FROM `#__vm_category` AS `c` WHERE `c`.`category_publish` = 'Y' ORDER BY `c`.`category_id`;";
User avatar
Administrator

GK User
Tue May 05, 2009 7:03 pm
Cool!!

Thank you!!

Holger
User avatar
Senior Boarder


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