News:

Support the VirtueMart project and become a member

Main Menu

Mod search product don't work

Started by babu65, December 18, 2016, 04:44:11 AM

Previous topic - Next topic

babu65

Hi to all,
I've a problem with the module VM product search, I'm using it with Joomla 3.6.5 and VM 3.0.18
The module working but it don't find the products.
In the VM configuration --> Product Order settings --> available search fields I've selected: Product name - Category name - Product description - category description
I've tried to change template using Protostar and Beez3 but it's the same.
I've tried use PLG jQuery Easy and also in this case the problem is the same.
The site is http://agriturismovip.it/
Any suggestion about?

Thanks in advance

GJC Web Design

very odd

the url is correct

keyword=tende&view=category&option=com_virtuemart&virtuemart_category_id=0

the display logic is correct because the VM search box appears on the results ( category ) display

but nothing is returned

It needs some debugging to see why the query returns nothing

Try joomla debug .. you can see then the DB queries
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

babu65

Hi GJC,
thanks for the prompt reply, I've activated the Joomla debug on http://agriturismovip.it/ now I'll try to understand  but is not easy for me.

GJC Web Design

had a quick look .. I see no query at all for e.g. %tende%
looks like it doesn't get that far..
are your categories published?
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

babu65

Yes, all my products categories are piblished in the both languages

GJC Web Design

then needs some digging into to find where the query fails

models/ product.php
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

babu65

I I've tried to find in the files but my knowledge of PHP is not enough.
PLS can you see the files attached?

Thanks

GJC Web Design

I know what is in product.php...  the debug/investigation has to be done on YOUR install.. everyone else works
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

babu65

I discovered a curious thing, unlike in Italian, in English, the product search works, but only if you are inside the category page sel product.
I do not understand anything  :(