News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to search products in multiple categories by URL? Joomla 2.5 & VirtueMart 2

Started by blackjet9999, October 11, 2012, 08:35:59 AM

Previous topic - Next topic

blackjet9999

Hi Respective Members,

I'm using Joomla 2.5 and VirtueMart 2

I have 2 Main categories: Computers and Cameras

Inside Computers category, there are 2 sub categories: 1)Laptop  2)Notebook
Inside Cameras category, there are also 2 sub categories: 1)Digital 2) Video

Therefore, when I typed this URL: http://localhost/joomla_test/index.php/search/sony/computers/laptop, it renders a list of products that has the keyword "Sony" under Laptop Sub-category and Computers Main Category.

My question is How to display products with "Sony" Keyword by using the URL that has multiple categories, for example, Video and Laptop?

OR

How can I combine these 2 URL into 1 URL?
1) http://localhost/joomla_test/index.php/search/sony/computers/laptop
2) http://localhost/joomla_test/index.php/search/sony/cameras/video

OR
How can add categories as the query string?
FROM:
         http://localhost/joomla_test/index.php/search?keyword=sony&limitstart=0&option=com_virtuemart&view=category
TO:
         something like http://localhost/joomla_test/index.php/search?keyword=sony&limitstart=0&option=com_virtuemart&view=category&categories=video,laptop

Please show me the way...

Thank you all.

barbaros

Hello guys,

i have the same problem.

I saw in many sites, there is a category dropdown box, and search field beside.
It's possible to choose the category or "all category", and search result brings the item according to the choosen category. 

-------------------------------------------------------------------------------------------
| All Categories      | Product name or keywords                                      |
-------------------------------------------------------------------------------------------

Is there anybody knows how to do that ?