PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

[ADVANCED SEARCH MODULE] by categories & attributes & manufacturers & suppliers

118 replies to this topic
#1
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
I was searching for module that could search by category and attributes and suppliers....
i couldn't find any so i have written YET ANOTHER ADVANCED SEARCH MODULE (modifying blocksearch module).

backup files before overwriting!!!!
enjoy!

if any troubles contact me.

Quote





module UPDATED!!!
added price to,price from +validation so no more hacking attempt.

Attached Files

  • Attached File  2.jpg   7bytes   16727 downloads
  • Attached File  1.jpg   60bytes   22213 downloads


#2
datvtran

    PrestaShop Newbie

  • Members
  • Pip
  • 16 posts
Hi,

Quick question, would this be able to work with the Latest Prestashop 1.2 version?

Thank you for sharing this.

Dat

#3
Degsey

    PrestaShop Apprentice

  • Members
  • PipPip
  • 213 posts
Just tried this on V1.2 and it gave me a HTTP 500 internal server error

#4
metta

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts
Thanks for sharing the module. Can it be sort the product by price?

Like between $10 to 19.99
$20 to $29.99

and so on...


Thank you again.

#5
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
module fixed for presta 1.2

Quote

Download moduleyasearch for presta 1.2



as soon as i finish my other module (product page pdf) i will add searching by price

#6
metta

    PrestaShop Apprentice

  • Members
  • PipPip
  • 116 posts

From 1249966236:

module fixed for presta 1.2

Quote

Download moduleyasearch for presta 1.2



as soon as i finish my other module (product page pdf) i will add searching by price



Thank you very much

#7
jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 1913 posts
using 1.2final I get a hack attempt when doing a nonadvanced search and also when I select to not show tags, they are still shown.
Helpful hints and tips to Empower your Prestashop site - Join us on Facebook and get involved, tell us the things that help you.
If you think someone's answer helped, please give him/her a Positive Reputation vote by liking their post.
E-commerce hosting from Scotserve, fast, reliable and affordable.

#8
VIXUS

    PrestaShop Addict

  • Members
  • PipPipPip
  • 583 posts
can it find term "book" ?
...becouse 1.2 search fails to find anything?

#9
TropischBruin

    PrestaShop Fanatic

  • Moderators
  • 2198 posts

From 1249989649:

using 1.2final I get a hack attempt.


Me to.
Norman in 't VeldtModeratorPrestaShopForums
Help PrestaShop, make a donation!

#10
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
module UPDATED!!!
added price to,price from +validation so should be no more hacking attempt.


Quote



remeber to backup files before overwriting

Attached Files

  • Attached File  3.jpg   34bytes   17683 downloads


#11
jhnstcks

    PrestaShop Fanatic

  • Moderators
  • 1913 posts
Still doesnt work, I still get a hack attempt when trying a standard search, the tags are still displayed even though I have deselected them in BO. Advanced search didnt find what I searched for either.
Helpful hints and tips to Empower your Prestashop site - Join us on Facebook and get involved, tell us the things that help you.
If you think someone's answer helped, please give him/her a Positive Reputation vote by liking their post.
E-commerce hosting from Scotserve, fast, reliable and affordable.

#12
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
I havent noticed tag tick, it works now.

standard search is exact copy of blocksearch module so I was testing it inserting SQL injection such as "OR 1=1"... and so on and it works for me.
I don't know what You're inserting there. Instead of hack attemp should be "Error invalid search".

searching by attribute - separator is OR (color: red or blue or black)
Search by categories - separator is OR (searches for product in the category and it's children)
Search by suppliers - separator was AND changed now to OR
Search by manufacturers - separator was AND changed now to OR
Search by tags- copy of default


separator between attributes,categories,suppliers,manufacturers is AND

=>search (color: red or blue or black) AND (categories:Ipods or Laptops) ...

#13
first1

    PrestaShop Addict

  • Moderators
  • 546 posts
can this search be implemented in the header in the form of wizard, to be multiple drop down lists:

Select Category - Select Brand - Select Subcategory - Go Search button.

If this can be put as navigation bar, i am sure it would be usefull to many of us/

Had anyone thought of that?
If we answered your question, please add [Solved] at the beginning of your topic’s title by editing your first post !
Thanks.

#14
tlandru

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Hello szazman,

here an error with prestashop V1.2

Fatal error: Call to undefined method Search::indexation() in /homez.183/blzjeans/www/adminblz/tabs/AdminProducts.php on line 721

good luck :)

#15
tlandru

    PrestaShop Apprentice

  • Members
  • PipPip
  • 70 posts
Other bugs :

- We have empty checkbox (only with internet explorer, not with Google Chrome)

- the search return only 10 products

Attached Files



#16
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
thanx for helping searching bugs.

i've uploaded class file from previous version of ps so it couldn't work
now i've updated files.

personally i use older PS because PS.1.2 has too many bugs including search engine:

http://www.prestasho...cker/view/2740/

#17
teppey

    PrestaShop Newbie

  • Members
  • Pip
  • 22 posts
This is a very good module, but I notice it only works for the 1st level of category?

#18
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
nope. while you click a category that has children, jquery function reveals children.
i've just tested once again and it searches in marked category and it's children.

#19
teppey

    PrestaShop Newbie

  • Members
  • Pip
  • 22 posts
ah yes, you gotta click on it... btw i tried and it only reveals the first child...

#20
szazman

    PrestaShop Newbie

  • Members
  • Pip
  • 14 posts
so click first child to reveal another and so on...