Reputation: 11
Good afternoon everybody,
I am kind of a rookie using magento and I need help with this:
This are the filters from Magento front View, this filters can change position changing the position attribute in the magento/admin page.
this are the filters in the Venia-storefront:
As you can see there are not in the same position. So my question is, is there any way to connect what its happening to the position in the Magento front to affect the Venia-Storefront equally?
Can anyone help me with this?
Updating a little bit: What I tried was to extend my graphql schema to have that position value & I did it, here is a photo of the schema:
When I use the query in the graphql playground I got the attribute correctly:
I got even the correct attribute in the json in venia-frontpage:
But as you can see the value is null.
If you go to the web admin page in magento, you can see that they have values in the position attribute:
Is there any way to grab that data in the admin and take it to the position value in the schema?
I have to change the resolver? what can I do to accomplish this?
here are the photos of the resolver:
Upvotes: 1
Views: 93