-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Cart Configurable item pulled from magento loaded as Simple #2116
Comments
Thanks, how would You like to fix this one? Please feel free to report a Pull Request |
After testing i found out that but maybe better is fix 'product/single' method? |
Correct. Method “single” is not using the “childSku” at all as far as I remember (not being in front of my computer to check it right now ...) I think it makes sense to fix it at the origin - in the single action. However your fix is also just fine. By this chance you might want to add code comments on how to use the action parameters correctly wdyt? |
This is workaround, i tried to update 'product/single' method, but it's affect on other logic. |
Thanks I’ll take a look at it later on I believe that we just should add a check if there is options.childSku set and pass this argument to configure some way but I must take a look at it Your desired behavior is that call to single action will load parent product pointed out by ”sku” and them configure it to ”childSku” variant. Correct? |
Yes, you're correct |
Hmm I'm researching this issue and it seems like we're using |
OK I found the problem and added an option Now its: and in Your case You should call sth like: dispatch('product/single', {
options: actionOptions,
assignDefaultVariant: true
}) |
- Update method after changes in product 'single' action
Thank you! servercartAfterPulled method was updated please review |
Steps to reproduce the issue
Expected behavior
Cart item have type 'configurable'.
Name, image, etc are getting from assigned parent product
Current behavior
Cart item have type 'simple'.
Cart item displays name, image, etc of 'not visible individually' current simple product
Can you handle fixing this bug by yourself?
Yes
Issue: cart item is loading by serverItem.sku after ServerPull for configurable item
The text was updated successfully, but these errors were encountered: