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

VM search module conflict with new categories

Started by mark.cylons, July 10, 2014, 22:40:50 PM

Previous topic - Next topic

mark.cylons

I am using virtuemart 2.0.26d and joomla 2.5.17

Everytime when I add a new Virtuemart category my search module stops working. It changes link:

index.php/hr/vm-search/search?keyword=proba&limitstart=0&option=com_virtuemart&view=category&plugin_search=1   to
index.php/hr/categories/search?keyword=proba&limitstart=0&option=com_virtuemart&view=category&plugin_search=1.

From the link I can see that it changes /vm-search/ to /categories/.
Everytime I have to start Repair Database from my hosting cpanel. And then I need to add products that are not included in my backup database. Is there any chance that I can change that link in database and where?

GJC Web Design

It is just a POST to the category view in the module

<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">

if you test with the JPoute remove does it work/not break?

e.g.

<form action="<?php echo 'index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ?>" method="get">

must be related to a menu item (or lack of) somewhere for the root cat view?
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

mark.cylons

Thanks for answer, but unfortunately it did not work. I tried to change listed link in file /public_html/modules/mod_virtuemart_search/tmpl/default.php and there is the same problem again. When I write some term, it shows me a few items in quick view for that root words (in my case it shows 6 items), but when I press enter so I can see all the results with that root words it shows only categories. Why is that?

GJC Web Design

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

mark.cylons

I mean when I write ex. dress it shows me few dresses below search module, but when I press Enter it does not show me dresses but all categories. Im my language dress is haljiina.

GJC Web Design

this isn't the standard VM search module - contact who ever sold you this...
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

mark.cylons

Thanks for your help and thank you for your time. I figured out that I have installed VM Search Autocomplete. I will contact them for support!