kilbot / WooCommerce-POS

:bangbang: All development now at https://github.com/wcpos.
http://wcpos.com
GNU General Public License v3.0
353 stars 125 forks source link

Searching and Filtering Issues #171

Open PJ-kitty opened 7 years ago

PJ-kitty commented 7 years ago

From https://docs.wcpos.com/en/products/searching-filtering.html

i try to search for product by title and also by attribute but some of theme not working such as search for products by category EX. cat:posters , cat:"movie posters"

i try to do on http://demo.wcpos.com/pos with login/pass : demo/demo

Have any one know how to solve?

Thank you.

lboyce72 commented 7 years ago

I have issues with the POS, I have problems with products randomly not pulling up no matter how I search. Search again 5 minutes later and they appear. The issues have only started in the last 2 weeks since I've completed all these updates. The POS is not working correctly.

rojesaga commented 7 years ago

Same problem here, random products not found using the keyboard or barcode gun to search.

jgangso commented 7 years ago

Did you @lboyce72 and @rojesaga make sure that the whole product database was synchronized to local data storage? (you see it in the gray status bar at the bottom on the left bar of the POS. (like Showing 20 of 655 products (201 in queue)

We had constantly issues with the search with a customer with approx. 1000 products. Products were seemingly randomly not found neither by sku nor text nor EAN code. What we always did was to empty the local data and it helped every time.

What we did NOT pay attention to was that there were always products in the synchronizing queue.

The sync process is sort of on-demand, meaning it happens only by using the POS, ie. by doing product searches. After reaching a few hundred products in the local storage, the front-end application doesn't query the server-side data as actively anymore. (seems like the "overflow" functions are related to it). That's when the issues start.

Now to overcome it, simply start scrolling the POS product list (the left side bar) downwards. Keep on doing it, and you'll see more products popping up. You'll also notice that the status bar keeps updating and the queue keeps getting emptied. By the end, you'll have your entire product database on the local storage, and first then you'll notice that also the Sync-button next to the search field start functioning properly. (it always felt buggy until completing the product sync 100 %)

Hope this helps, but again, you might be facing a totally different issue.

For us, doing this made a big difference and the client said the POS started finally working. Until then, they (read: we) had a constant headache with it, obviously.

I wish I had seen this instruction somewhere in the docs right from the beginning, though. Perhaps something that could be included somewhere @kilbot ?

B r Johannes

kilbot commented 7 years ago

Hi all, and thanks @jgangso for your explanation.

The update to WooCommerce 3 was quite a big leap. I also moved to the REST API v2, so there have been many compatibility issues that I have been working through the last couple of weeks. Please make sure you are using the latest version of WooCommerce POS (currently 0.4.12).

There will be no more changes to the 0.4.x branch. But version 0.5 is a rewrite of the local storage functionality and will address the search issues.

lboyce72 commented 7 years ago

I do believe you just corrected my issue, I didn't realize it was a local storage issue. Thank you @jgangso for the information, it's been a great help!

Thank you @kilbot for the update on the status of the system, I have been very pleased overall with this plugin!!!

justinb67 commented 6 years ago

We are having a problem with customers not properly searching and have over 1000 users. Is this the same issue that is being discussed regarding over 1000 products?

Is the proper workaround to go to the customers area and wait for it to completely sync before handling transactions?