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

Task/3948 #4001

Merged
merged 10 commits into from
Feb 11, 2020
Merged

Task/3948 #4001

merged 10 commits into from
Feb 11, 2020

Conversation

andrzejewsky
Copy link
Contributor

@andrzejewsky andrzejewsky requested a review from pkarw January 20, 2020 16:08
Copy link
Collaborator

@pkarw pkarw left a comment

Choose a reason for hiding this comment

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

Just a small question added.
Please add the var/catalog.json with the latest dump made by mage2vs for es5 and es6 please

After this being merged we’ll need @afirlejczyk support porting vuestorefront/mage2vuestorefront#99 to mage1-vsbridge-indexer and mage2-vsbridge-indexer

core/modules/catalog/store/product/actions.ts Outdated Show resolved Hide resolved
core/modules/catalog/store/product/actions.ts Outdated Show resolved Hide resolved
core/modules/compare/store/actions.ts Outdated Show resolved Hide resolved
@afirlejczyk
Copy link
Contributor

One note, vsf-api doesn't return 'options' if it is empty.
response from vsf-api

_id: "4928"
_index: "vue_storefront_magento_1579875515"
_score: 0
attributes_metadata: [{
attribute_code: "cost"
attribute_id: 79
default_frontend_label: "Cost"
entity_type_id: 4
frontend_input: "price"
id: 79
is_comparable: false
is_user_defined: true
is_visible: true
is_visible_on_front: false
}]

data in ES.

{
  "id": 79,
  "default_frontend_label": "Cost",
  "is_visible_on_front": false,
  "is_visible": true,
  "attribute_id": 79,
  "entity_type_id": 4,
  "frontend_input": "price",
  "is_user_defined": true,
  "is_comparable": false,
  "attribute_code": "cost",
  "options": []
},

I didn't update vsf-api for some time, so it might be an error only on my side.

@pkarw
Copy link
Collaborator

pkarw commented Feb 11, 2020

@andrzejewsky aren't we merging this in? :)

@andrzejewsky
Copy link
Contributor Author

@pkarw today :)

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.

4 participants