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

Products show on POS but cannot select. #102

Closed spencerlievens closed 9 years ago

spencerlievens commented 9 years ago

When searching for products on the POS they all show up but when you click one to add to the sale it does nothing.

kilbot commented 9 years ago

Can you open the browser console and see if there are any errors?

spencerlievens commented 9 years ago

Use of getAttributeNode() is deprecated. Use getAttribute() instead. jquery-migrate.min.js:2:0 TypeError: attr[index] is undefined pos.js:754:16 TypeError: attr[index] is undefined pos.js:754:16

kilbot commented 9 years ago

Couple of things:

  1. Can you try a different browser to see if the error is browser related
  2. Can you have a look at the page source code, I'm not sure why jquery-migrate.min.js is mentioned, it shouldn't be on the POS page
spencerlievens commented 9 years ago

I have tried in Chrome and Firefox on both Mac and PC.

spencerlievens commented 9 years ago

Didnt mean to close this whoops

spencerlievens commented 9 years ago

It is in the page source.

spencerlievens commented 9 years ago

script type='text/javascript' src='http://brightonbmxco.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'

spencerlievens commented 9 years ago

When I click on one of the products in the search field to add to the sale the error thrown is attr[index] is undefined.

kilbot commented 9 years ago

I don't know how jquery-migrate.min.js is getting on your POS page, if you compare to the source from demo.woopos.com.au/pos you'll see that there is no jquery-migrate.min.js script.

It's possible that another plugin is injecting that script into the page, you could deactivate all plugins except WooCommerce and WooCommerce POS and then activate plugins one-by-one to see which plugin is causing the problem.

spencerlievens commented 9 years ago

Yeah because even scanning a barcode wont add to the POS.

spencerlievens commented 9 years ago

Any plugins in-particular that it could be?

kilbot commented 9 years ago

None that I know of, this is the first time this issue has been reported.

spencerlievens commented 9 years ago

I am using the Avada theme.

spencerlievens commented 9 years ago

The products show up in search but you click and nothing apart from the shortlist disappearing happens.

spencerlievens commented 9 years ago

Ive tried disabling plugins. But, they shouldn't be interfering with this anyway as the page for the register is standalone from the site.

spencerlievens commented 9 years ago

The error is just on the register page when searching products. Products show but cannot be added. Tried printing a barcode for a product and adding that way. Scanner beeps and accepts barcode but nothing gets added.

spencerlievens commented 9 years ago

These are the plugins installed.

Add From Server, BitPay for Woocommerce, Contact Form 7, Facebook Albums, Fusion Core (needed by theme), Instagram Slider Widget, LayerSlider WP (needed by theme), Revolution Slider (needed by theme), SagePay Server Gateway for WooCommerce, WooCommerce, WooCommerce Point of Sale, WooCommerce Video Product Tab, Yoast SEO.

spencerlievens commented 9 years ago

Ive tried deactivating Bitpay, Contact Form, Fusion Core, SagePay, Video Product Tab and Yoast. No luck.

kilbot commented 9 years ago

I'm closing this issue because the problem is due to theme or plugin conflict, this is not an error with WooCommerce POS.

BurlesonBrad commented 9 years ago

@spencerlievens https://www.google.com/search?&q=why+should+spencer+stop+using+avada https://www.google.com/search?&q=why+avada+sucks https://www.google.com/search?&q=stop+using+avada