FEISystems / ca-adpq-prototype

CA ADPQ
2 stars 2 forks source link

Add to cart from product details not working #175

Closed llin-freeman closed 7 years ago

llin-freeman commented 7 years ago

Adding item from product detail page does not update cart.

llin-freeman commented 7 years ago

product page

JXPrime commented 7 years ago

if you're not logged in you'll also have problems adding stuff to your cart, but there was a javascript error on this page that I think is resolved. cc: @llin-freeman

neelusingh28 commented 7 years ago

Verified and Passed in 5000 site.

llin-freeman commented 7 years ago

Thanks! I tried it on the survey site, and it still doesn't work. If you're viewing the product details, and then click add, the item doesn't make it to shopping cart.

llin-freeman commented 7 years ago

added core laptop

llin-freeman commented 7 years ago

Clicked "add to cart" from this page, and the cart did not update.

jennymnh commented 7 years ago

This has been fixed. Sorry, I broke it when I was adding quantities. :(

llin-freeman commented 7 years ago

Thanks, Jenny! I checked on 5000 and on the survey link, and still can't add the item from the product details page.

JXPrime commented 7 years ago

@jennymnh looks like the quantity is null being passed to the server which it doesn't like.

neelusingh28 commented 7 years ago

Adding item from product detail page is still NOT working.

JXPrime commented 7 years ago

@neelusingh28 were you logged in? I was able to add an item to the cart from the product detail page on the :5000 site.

neelusingh28 commented 7 years ago

@JXPrime - yes, I am making sure that I'm always logged in before performing any action. 5000 site is highly unstable as well as sporadic and particularly cart and compare list :(

I tried again just now. logged in as AuthorizedUser3 but I'm still not able to add the item to the cart.

image

JXPrime commented 7 years ago

I've found an interesting heisenbug on the :5000 site (I can't reproduce this locally). If you're on the homepage and click on a product to view the details page, you'll get a js error: image

Once that happens, all the js functionality in that component is broken, so add to cart does nothing.

If you refresh the page, you don't get that error, and add to cart works fine. I'm a bit out of my depth on the angularJS side, I can't even see how a "product" object is getting in to $scope in the first place. Thoughts @lutech @lnajera ?

neelusingh28 commented 7 years ago

Adding item from product detail page updating cart in Chrome, Firefox and devices but NOT IE

JXPrime commented 7 years ago

can't reproduce on the :5000 site. Item went into cart just fine.

ClaireReinken commented 7 years ago

Did you try IE?

Claire Reinken, AM.PMP Senior Proposal Manager

office | 443.472.4613 fax | 410.715.6538 email | claire.reinken@FEIsystems.commailto:claire.reinken@FEIsystems.com FEi Systems 9755 Patuxent Woods Drive, Suite 300 Columbia, MD 21046 | www.FEIsystems.comhttp://www.feisystems.com/

From: Jonas Bush [mailto:notifications@github.com] Sent: Thursday, March 02, 2017 10:29 AM To: FEISystems/ca-adpq-prototype ca-adpq-prototype@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [FEISystems/ca-adpq-prototype] Add to cart from product details not working (#175)

can't reproduce on the :5000 site. Item went into cart just fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/FEISystems/ca-adpq-prototype/issues/175#issuecomment-283685011, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVkcDAF8cQhg9E0devHCxxIlzxvd4Emsks5rhuA3gaJpZM4MO7Gn.

JXPrime commented 7 years ago

I can't reproduce this on the 5000 site. If it happens again please have your dev tools open to capture any javascript errors that might be occurring.

neelusingh28 commented 7 years ago

Closing this issue and opening separate issue for all IE related problems.