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

Bug when adding new customer to concurrent sale. #150

Open Goosse opened 7 years ago

Goosse commented 7 years ago

I've run into a bug. Here are the steps to reproduce it.

  1. Add a product to the sale.
  2. Hit the "+" to open another concurrent sale.
  3. Add another product to that sale.
  4. In that second sale hit the green "+" or "Guest" to add new customer.

What should happens: The form should pop up to input the customers information for the second(the active one) sale.

What actually happens: It instead flips back to the first sale and does not show the new customer form.

Shop URL: https://www.theoldhardwarestore.com
*** Browser Info ***

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12;  js flexbox no-touch indexed smil
thomasmery commented 7 years ago

Hi,

@Goosse I'm wondering if you could have a look at this screencast and say whether the behaviour you're describing is happening or not

http://take.ms/ZxXj3

as far as I understand clicking on the 'add customer' button would make you go back to the first sale

I can confirm it happens on the demo site (version 0.4.6) but I think it behaves correctly with 0.5-beta that I'm testing here (see screencast)

thanks

Goosse commented 7 years ago

Yes, that looks right. I also just checked on the beta myself and can confirm that it all seems to be working as expected.