News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart Search = queries containing &

Started by stawebnice, November 27, 2020, 12:21:41 PM

Previous topic - Next topic

stawebnice

Hi guys, we have discovered two bugs in VM search

1. when you search a term that contains & it makes problems when you go to another page of search results

while first page includes the search term: keyword=N%26D

next page has eshop/results,10-15?keyword=N&D

so it treats & as  parameters separator

and the search is cancelled because suddenly you have 7313 results instead of original 39

2. and also, when you want to refine the search on search results page and enter anything into search box, it finds nothing, it does not reset the search

you can try it here> https://www.grandom.cz and search for N&D

first page is ok, second page of results has a problem


pinochico

Hello Petro,

use override template and for result use php function htmlspecialchars - https://www.php.net/manual/en/function.htmlspecialchars.php
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products