vuestorefront / vsf-capybara

Capybara is a Storefront UI based theme for Vue Storefront. Always Open Source, MIT license. Made with :green_heart: by Vue Storefront.
https://capybara.storefrontcloud.io/
MIT License
154 stars 84 forks source link

Missing Pages From (Magento CMS) #397

Closed ArieRym closed 4 years ago

ArieRym commented 4 years ago

Reinstalled magento 2.3.3 with data, reloaded indexes for Elasticsearch 7, installed fresh VSF, API VSF, Capybara, but missing Pages From (Magento CMS). What should be done?

Nadia_Elements_Shell_Vue_Storefront2

Can you handle fixing this bug by yourself?

Environment details

Additional information

gibkigonzo commented 4 years ago

this image is not related. install chrome extension elasticsearch head and check if you have cms pages

ArieRym commented 4 years ago

Hi @gibkigonzo Yes, I have pages there, I use it from the very beginning. Maybe add local.json, give me your local.json

Screenshot_from_2020_06_10_12_03_17

Screenshot_from_2020_06_10_12_08_36

ArieRym commented 4 years ago

@gibkigonzo Do I need to install the module https://github.com/SnowdogApps/magento2-cms-api to display CMS pages if ES7 already indexes works for me. Or what kind of magic do you need to apply to make them work? Just curious why it works for you and at we don't

gibkigonzo commented 4 years ago

https://demo.storefrontcloud.io/api/catalog/vue_storefront_catalog/cms_page/_search?from=0&request=%7B%22_availableFilters%22%3A%5B%5D%2C%22_appliedFilters%22%3A%5B%7B%22attribute%22%3A%22identifier%22%2C%22value%22%3A%7B%22like%22%3A%22customer-service%22%7D%2C%22scope%22%3A%22default%22%7D%5D%2C%22_appliedSort%22%3A%5B%5D%2C%22_searchText%22%3A%22%22%7D&request_format=search-query&response_format=compact&size=50&sort= Here you have request that is send to ES on capybara. replace https://demo.storefrontcloud.io with your api url and check what you get

Screenshot from 2020-06-11 12-41-05

gibkigonzo commented 4 years ago

please also reinstall deps , because there was bug in storefront-query-builder https://github.com/DivanteLtd/storefront-query-builder/pull/10 which is fixed and merged to master

ArieRym commented 4 years ago

@gibkigonzo Sorry for the not-so-smart question of what is deps and how to do it?

gibkigonzo commented 4 years ago

np, type yarn install and you should get updated dependencies (deps)

ArieRym commented 4 years ago

Thanks it worked, God bless you!