Search Field Bug
Autor: Dieter D.Hi!
I have a website under construction including a B2B shop (for wholesellers only).
I have "public" (not protected) pages with some basic product information for some products. There articles are without "add to cart" and price information, as X5 allows me to do.
So the real shop pages are protected pages only users with valid user/password credentials can reach and order from.
Works fine.
Bug is in the "Search" function as it is not correctly programmed to be careful what it puts out in the "products" results (seems to return all products matching the search string not checking if those products are in use in the shop or if they are in the protected region of the shop and offering buying possibilities and price information even this is not used on shop pages without proper login first).
Using the search returns the products even already in a generic "shop interface" allowing to do the shopping process without being logged in.
It shows prices which are not to be seen without being logged in.
It shows products which are on none of the pages (not yet "active" for selling") and makes orders for them possible.
All of my real B2B shop (with order possibility & price info) pages are marked as "not to include in the sitemap" so they are not included in the search.
Products may only appear in a search if they are on a shop page (so products which are not sold anymore or in preperation or temporarily not offered are not put out as a "Products" search result.
If they are on shop pages without "Add to cart" / price / .... they must not appear with that (on purpose not added) buttons / information in the search result.
If products are only on protected pages they must not appear in search results of users without rights to that pages.
A "quick fix" for me would be the possibility to exlude "Products" from the search in the "Search Object" settings.
Of course a proper search which looks at "what is a user (logged in / not logged in / rights to what pages with what products / add 2 cart / price info / ...) allowed to see and what is therefor returned from the search would be the right solution.
Please review and forward to the developers.
The shop part is unfortunately not a real strenght of X5 yet. I'd really like to see this part of the program to be on the same high level as many other parts of X5 are already.
Thanks & best,
Dieter
Hi Dieter.
What you analyzed is indeed right. At the moment, the software has no capabilities to understand whether or not a certain product ONLY appears in a restricted page.
This kind of result would be possible if, for example, a product could be flagged to appear on researches for certain roles only.
I will forward this suggestion to the developers, so that it can be analyzed and discussed.
I thank you for reporting this idea to us.
Should you be in need of any other clarification, please do let me know here
Thank you
Stefano
Autor
Hi Stefano!
Thanks for putting attention to the issue.
Another "smaller" thing on the search is that you style the search object in a way to fit the layout of your site but in the search result page the search field on top of the results page is in the default layout without the styling adjstments made in the search object settings.
Thanks & best regards,
Dieter
Hi, I have a quick question on this topic. I am too using protected pages and do not want any information on those pages to show up. I understand from the above discussion the search is not capable of deciphering the difference. What would be an alternative search tool?
Thanks in advance.
Autor
I haven't tested "normal" protected pages. My case is about "shop" pages where from the protected (B2B Shop) pages the products appear in the serch result and with this "workaround" you get sensible pricing and other information...
If the search results includes "normal" protected pages I don't know, you'd have to test. I personally wouldn't trust too much into the protection with the built in search feature of X5 currently.
I know of no other "search" widget or the like and currently custom build one in php for my B2B store which only searches through the products and gives only the links to pages where the user is entitled to. Not an easy task... :-(
Ok - thanks for the info. I will have price sheets attached to the protected pages, not sure if that would be the same thing as your product example.
Appreciated :)