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

currentStoreView is empty in metaInfo #112

Conversation

didkan
Copy link
Contributor

@didkan didkan commented Jul 15, 2020

In metaInfo(), currentStoreView() only contains storeCode property. We need to get the other properties by getting the storeView from config.

Reference: vuestorefront/vue-storefront#3674

didkan and others added 7 commits May 5, 2020 11:00
Fix http 500 error: Don't assume accept header exists
* Prepare for 1.11

* wip

* Add CMS component

* Fetch story

* lint

* Use substring

* 1.11 changes

* lint

* Nicer code in api

* Hardcode index

* Prefer const

* lint

* Do not rely on imported db

* Move getHitsAsStory to helper

* Remove db.js

* Update makefile

* Update readme

* Update API

* Update readme

* Nicer code

* Restructure files

* Restructure files

* Update

* Move image

* Update to 1.11

* Remove RouterManager

* Style adjustments

* Update tsconfig

* Try to make tests run

* lint

* Use new module loading syntax

* Update readme

* Guard alternates

* Fix for new url format with leading slash (backport from 1.11)

* Make compatible with config.storeViews.xx.appendStoreCode

* Option to prevent fetch story

* Fix http 500 error: Don't assume accept header exists

* Fix return value

* Fix broken meta description (fallback to config default per storeview)

Co-authored-by: Max Malm <benjick@dumfan.net>
Co-authored-by: Andreas Karlsson <andreas@kodbruket.se>
@didkan didkan closed this Jul 15, 2020
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.

None yet

1 participant