News:

Looking for documentation? Take a look on our wiki

Main Menu

VM search module no result

Started by TAIWAR, May 27, 2014, 19:08:54 PM

Previous topic - Next topic

TAIWAR

VM2026d

I use VM search module I don't understand I haven't got result...

I ve already looked on http://forum.virtuemart.net/index.php?topic=120126.0 but no result...

TAIWAR



GJC Web Design

how can anyone help without a live url? crystal ball perhaps?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

TAIWAR


TAIWAR

I put rewrite URL SEF : no and save , then I put it to yes and save and it works well I can use the search VM but only for few minute.
Then I try again later and it doesnt work I have to put again rewrite URL SEF to no save and yes save .... ? whats wrong ???

GJC Web Design

Could be BECAUSE your on local host and the settings you have in your apache setup ... I would think that if the search didn't work there would be dozens of posts here complaining - have you tried on a live site?

The search basically uses the category model with filtering - so what is passed in the url is what makes it work .. check the difference in urls b4 and after.. etc
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

TAIWAR

I don't know what is the problem, often it works and often it doesn't work...
it depend on search sometimes when I have for ex :
/caissettes-et-napperons/search.html?keyword=tulipe&limitstart=0&option=com_virtuemart&view=category
it works

I don't know if it could be the refresh because sometime when I make a search it always the same category id...
/caissettes-et-napperons.html?keyword=moule&search=true&view=category&option=com_virtuemart&virtuemart_category_id=20
/poches-et-douilles.html?keyword=tulipe&search=true&view=category&option=com_virtuemart&virtuemart_category_id=20

GJC Web Design

Are you talking about the search module or the search VM view?????

in my testing search module stays on virtuemart_category_id=0 unless u enable Search Filter Category in the module

AFAIK if you start a search with the search VIEW in a category that category id is attached to the query ( e.g. the virtuemart_category_id=20 ) on the rest of the searches by this line in components/com_virtuemart/views/category/view.html.php

if ($categoryId === -1 and $virtuemart_manufacturer_id === -1){
$categoryId = ShopFunctionsF::getLastVisitedCategoryId();
}


GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukolar

I have te same problem for months and I don't know what to do. To do fresh install Joomla and import this DB or how to fix this.
My page: http://www.montessori-materials.si/index.php/zaznavane1
whatever I write in search box i get message No result (...). I don't have checked SEO Disabled in VM configuration. Everything else working OK.

If I check SEO Disabled in VM configuration then search is working! But doesn't work choosing how many items I want to show on one page and doesn't work buttons for next pages and ALL the TIME showing me just first page in category!?

Can anybody help, PLEASE. Thank you.
Uros

GJC Web Design

with simple SEO (no for VM seo disbled + Joomla Search Engine Friendly URLs -> yes - rewrite -> no)
I get urls like index.php/shop/search?keyword=hammer&limitstart=0&option=com_virtuemart&view=category

you have /index.php/search/0/?keyword=bells&search=true&limitstart=0&category=0&option=com_virtuemart&view=category

have you got a menu somewhere to com_virtuemart - hidden or otherwise?

what is this weird '0'  ?

You can see it in the search module action url
what is your Use Product and Category IDs setting on the vm seo tab?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukolar

Thanks for reply. I have in VM SEO tab:
Use Product and Category IDs enabled, so now I removed and now I don't have this /0/,

when I disable SEO (I check checkbox in SEO tab in VM) then I get URL like this and IT'S WORKING!
http://www.montessori-materials.si/index.php/view/category/search/true/limitstart/0/virtuemart_category_id/0?keyword=mmm006&search=true&limitstart=0&category=0&option=com_virtuemart&view=category

with SEO enabled (I didn't check checkbox in SEO tab in VM) I get this and IS NOR WORKING!
http://www.montessori-materials.si/index.php/search?keyword=mmm006&search=true&limitstart=0&category=0&option=com_virtuemart&view=category

?
Thank you
Uros

GJC Web Design

but the normal setting (for me anyway) in Joomla sef on/VM SEF on
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ukolar

So do you have any idea how to solve this problem?
Thanks.
Uros

jjk

Quote from: ukolar on August 23, 2014, 11:51:53 AM
whatever I write in search box i get message No result (...).

In your case I think your problem is related to your Google translation, which is not working. It says something like "failed to load the given url". I doubt that a Google translation extension works correctly with VirtueMart. If you want a multilingual shop, you should use the multilingual capabilities built into Joomla and VirtueMart.
The VirtueMart Search module normally works language specific. One search module for Slovenian, one search module copy for English, etc. If you ask the search module to search for a slovenian word in the english database table, it will not find it.

I would suggest that you read some tutorials about how to set up a multilingual shop, like for example this one:
http://docs.virtuemart.net/tutorials/multilingual-store/99-multilanguage-setup.html
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations