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

Search module issue

Started by geraldkoo, September 03, 2015, 09:10:56 AM

Previous topic - Next topic

Studio 42

Something is not logic 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">
AND :

<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="category" />
<input type="hidden" name="virtuemart_category_id" value="<?php echo $category_id?>"/>

Or this sould be a POST method
or remove hidden in double and  use a get

current final link is YOURSHOP/onlineshop/alle-produkte/search?keyword=bailey&limitstart=0&option=com_virtuemart&view=category and is not very SEF/user friendly

GJC Web Design

there is no setting for it.. look in the template of the search module to try and figure why it takes this url

it is normally something like

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

have you manually set the cat id in the module?  if all cats I assume set to 0
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