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

Fix missing attributeValues and autoselect config errors #530

Merged
merged 5 commits into from
Jul 15, 2024

Conversation

BobWez98
Copy link
Collaborator

When updating a project to Rapidez 2.x i came across these problems. the auto_select_* gave an error and the cart items were not reactive in the callback.js.

Comment on lines 139 to 145
cartStorage.value = value
age = Date.now()

if (value.id && value.id !== mask.value) {
// Linking user to cart will create a new mask, it will be returned in the id field.
mask.value = value.id
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we place this in a .finally()? so if the getAttributeValues fails we still have a functioning cart

@BobWez98 BobWez98 requested a review from indykoning July 15, 2024 11:55
@indykoning indykoning changed the title Small fixes for 2.x Fix missing attributeValues and autoselect config errors Jul 15, 2024
@indykoning indykoning merged commit 385180d into master Jul 15, 2024
10 of 18 checks passed
@royduin royduin deleted the feature/fixes-v2 branch July 16, 2024 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants