Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ CE 2.0.7 ] Add grouped product to the cart #5089

Closed
mhabou opened this issue Jun 17, 2016 · 7 comments
Closed

[ CE 2.0.7 ] Add grouped product to the cart #5089

mhabou opened this issue Jun 17, 2016 · 7 comments
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@mhabou
Copy link

mhabou commented Jun 17, 2016

Steps to reproduce

  1. Install Magento 2.0.7
  2. Add Grouped Product to the cart.
    snapshot6
  3. Click on the cart icon to proceed the purchase
    snapshot7

Expected result

  1. Go to checkout page
  2. ...

Actual result

  1. no response ..
@irenelagno
Copy link
Contributor

@Dayssam Thank you for reporting this issue. Currently, we were unable to reproduce it with the provided information. Could you please provide more detailed steps to reproduce, e. g. settings you have changed or extra details about simple and grouped product configuration, information from the errors in browser console(if it exists)?

@mhabou
Copy link
Author

mhabou commented Jun 21, 2016

I dont get this problem with all grouped products

On the load of the page i got [just once]

Error: Script error for: Magento_Checkout/js/sidebar
http://requirejs.org/docs/errors.html#scripterror
makeError()
 require.js:166
newContext/context.onScriptError()
 require.js:1681
 require.js:166:17
Error: Script error for: Magento_Ui/js/form/form
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: Magento_Customer/js/action/login
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: Magento_Customer/js/model/authentication-popup
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: mage/url
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: Magento_Ui/js/modal/alert
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: Magento_Captcha/js/view/checkout/defaultCaptcha
http://requirejs.org/docs/errors.html#scripterror
 require.js:166:17
Error: Script error for: Magento_Captcha/js/model/captchaList
http://requirejs.org/docs/errors.html#scripterror

When i start changing the product quantities i got

Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. set-of-sprite-yoga-straps.html
TypeError: $(...).attr(...) is undefined
._getElementData()
 add-to-wishlist.js:94
$.widget/</proxiedPrototype[prop]</<()
 jquery-ui.js:402
._updateWishlistData/<()
 add-to-wishlist.js:53
.each()
 jquery.js:384
jQuery.prototype.each()
 jquery.js:137
._updateWishlistData()
 add-to-wishlist.js:43
$.widget/</proxiedPrototype[prop]</<()
 jquery-ui.js:402
handlerProxy()
 jquery-ui.js:702
jQuery.event.dispatch()
 jquery.js:4623
jQuery.event.add/elemData.handle()
 jquery.js:4292

Then i got no response when i click on " Go to checkout " and no products details (i got that error just in the case of the sample data grouped product " Set of Sprite Yoga Straps " )

snapshot7

@mhabou
Copy link
Author

mhabou commented Jun 21, 2016

@irenelagno :
When i added 2 groped products ( 1 from sample data & the other which i created)

when i go to checkout page i got a blank page with just the right side bar

snapshot12

TypeError: value is undefined
.max_text_length<()
 rules.js:56
validate()
 validator.js:18
validator/<()
 validator.js:40
_.any()
 underscore.js:250
validator()
 validator.js:39
.validate()
 abstract.js:245
.onUpdate()
 abstract.js:267
ko_subscribable_fn.notifySubscribers()
 knockout.js:1103
ko.observable/observable.valueHasMutated()
 knockout.js:1300
observable()
 knockout.js:1285
setNested()
 objects.js:43
.nested()
 objects.js:117
Element<.set()
 element.js:294
updateValue()
 links.js:57
trigger/<()
 events.js:85
forEach()
 self-hosted:216
trigger()
 events.js:82
.trigger()
 events.js:159
Element<._notifyChanges/<()
 element.js:413
forEach()
 self-hosted:216
Element<._notifyChanges()
 element.js:412
Element<.set()
 element.js:297
.initialize/<()
 shipping.js:104
Events.prototype.wait()
 events.js:60
Registry.prototype.get()
 registry.js:67
async()
 registry.js:34
.initialize()
 shipping.js:101
.wrapSuper/<()
 wrapper.js:109
createConstructor/constr()
 class.js:48
initComponent()
 layout.js:64
jQuery.Callbacks/fire()
 jquery.js:3099
jQuery.Callbacks/self.fireWith()
 jquery.js:3211
.Deferred/</deferred[tuple[0]]()
 jquery.js:3301
jQuery.Callbacks/fire()
 jquery.js:3099
jQuery.Callbacks/self.fireWith()
 jquery.js:3211
.Deferred/</deferred[tuple[0]]()
 jquery.js:3301
loadSource/<()
 layout.js:57
newContext/context.execCb()
 require.js:1650
newContext/Module.prototype.check()
 require.js:866
newContext/Module.prototype.enable/</<()
 require.js:1113
bind/<()
 require.js:132
newContext/Module.prototype.emit/<()
 require.js:1156
each()
 require.js:57
newContext/Module.prototype.emit()
 require.js:1155
newContext/Module.prototype.check()
 require.js:917
newContext/Module.prototype.enable/</<()
 require.js:1113
bind/<()
 require.js:132
newContext/Module.prototype.emit/<()
 require.js:1156
each()
 require.js:57
newContext/Module.prototype.emit()
 require.js:1155
newContext/Module.prototype.check()
 require.js:917
newContext/Module.prototype.enable/</<()
 require.js:1113
bind/<()
 require.js:132
newContext/Module.prototype.emit/<()
 require.js:1156
each()
 require.js:57
newContext/Module.prototype.emit()
 require.js:1155
newContext/Module.prototype.check()
 require.js:917
newContext/Module.prototype.enable/</<()
 require.js:1113
bind/<()
 require.js:132
newContext/Module.prototype.emit/<()
 require.js:1156
each()
 require.js:57
newContext/Module.prototype.emit()
 require.js:1155
newContext/Module.prototype.check()
 require.js:917
newContext/Module.prototype.enable()
 require.js:1143
newContext/Module.prototype.init()
 require.js:774
callGetModule()
 require.js:1170
newContext/context.completeLoad()
 require.js:1544
newContext/context.onScriptLoad()
 require.js:1671

@irenelagno
Copy link
Contributor

irenelagno commented Jun 22, 2016

@Dayssam, thank you for extra information regarding configuration. The bug about grouped product was reported in the #3728 . Fix for this issue has been delivered to the develop branch with the commit 520f76d. The second issue was reported in #4921. We have created an internal ticket MAGETWO-47240 to fix the issue. Thank you.

@mcspronko
Copy link
Contributor

Hi @irenelagno

Do you have any date for MAGETWO-50368 issue?

Thanks

@king-themes
Copy link

The same with me on v2.1.0. Any way to fix it?

Thanks

@vkorotun vkorotun removed the CS label Aug 4, 2016
@andimov andimov added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report and removed Progress: needs update labels Aug 8, 2016
@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 11, 2017
@magento-engcom-team
Copy link
Contributor

Hi @Dayssam
Fix for the issue seems to be released to 2.2 and 2.1 with the commit 520f76d
Closing this report for now. Please reopen if the issue persists.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

9 participants