News:

Support the VirtueMart project and become a member

Main Menu

VM 3.0.12: VM Product search does not work

Started by stawebnice, January 14, 2016, 18:15:28 PM

Previous topic - Next topic

stawebnice

Hi,

Please help...
I have just found out that the vm product search module does not return a result page, instead people are taken to category layout with no results...

I moved the search box here for testing:
http://www.sebimoto.com/terms

the results link looks like this, but shows categories:
http://www.sebimoto.com/categoty-layout/eshop-fairings/search?keyword=honda&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0

Is there a way to fix this?

Thanks!

Petra

sandstorm

Hopefully not stating the obvious, but do you have the VM search plugin enabled and configured?
Also disable any you are not using.

I personally don't use the core Virtuemart search module. I tend to use one of these;
Offlajn Ajax live search
Break Design Custom Fields Pro > Which also comes with a modified search module

J3.6.4 / PHP7.0.12
VM3.0.16

stawebnice


GJC Web Design

the plugin isn't used for the VM search .. only the joomla search

the search url is correct

http://www.sebimoto.com/eshop?keyword=EXTREMA&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0

if it didn't find any results it should show->  No result : (EXTREMA) on the normal cat template

R u sure your template (category) is correctly coded?

try with protostar
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

stawebnice

There is no other template to select in virtuemarttemplates.net templates, but I copied files categories.php and default.php into the transform template html/com_virtuemart/category folder and still it does not work so I don't think it is a template issue

even if I disable artio JoomSEF and clear cache, I get this URL>
http://www.test.sebimoto.com/categoty-layout/eshop-fairings/search?keyword=honda&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0

but no result page...only top category layout

GJC Web Design

you need to print out the  $this->products, $this->keyword & $this->categories  to see what is being returned

print 'Debug Line '.__LINE__.' $this->products <pre>'; print_r ($this->products); print "</pre><br />\n";
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

stawebnice

Shall I look for this piece of code? in which file?