vue-storefront icon indicating copy to clipboard operation
vue-storefront copied to clipboard

[Feature]: add store and language to the context path for multiple store and language

Open JasonHao123 opened this issue 3 years ago • 0 comments

How the project can be improved?

for SEO, bookmarking, sharing link, it's good to include store and language information in the path for multiple store and/or multiple language. This can be done by adding context path parameter in Store/Locale, this context will be used as root context. then the url will looks like

https://demo-ct.vuestorefront.io/se/c/women https://demo-ct.vuestorefront.io/sv_se/c/women

This is inspired by the strategies from big companies for such case. https://www.nike.com/se/w/kvinnor-rea-klader-3yaepz5e1x6z6ymx6 https://www2.hm.com/sv_se/index.html

What are the acceptance criteria?

  • Open the copied link will get exactly the same as the original.

Additional information

I'm integrating vue storefront UI 2 with apache ofbiz to replace the old ofbiz ecommerce UI.

What version of Vue Storefront this feature can be implemented?

2.5.3

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

JasonHao123 avatar Dec 30 '21 11:12 JasonHao123