-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Current behavior
The configuration file has the entry:
"products": {
"preventConfigurableChildrenDirectAccess": true,Documented here: https://docs.vuestorefront.io/guide/basics/configuration.html#products
If this option is set to true (default), Vue Storefront will prevent accessing the simple products assigned with the configurable one. A user will be redirected to the main configurable product in such a case.
However, when I enter the URL of a child, I see the product detail page of the child product.
Expected behavior
I'm expecting to get redirected to the PDP of the parent product.
Repository
https://github.com/DivanteLtd/vue-storefront/tree/v1.11.3/
The related code is here: https://github.com/DivanteLtd/vue-storefront/blob/v1.11.3/core/modules/catalog/store/product/actions.ts#L654-L659
I'm not sure what exactly that part of the code is supposed to be doing.
Can you handle fixing this bug by yourself?
- YES
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from
developbranch and create Pull Request2. Feature / Improvementback todevelop. - This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from
releasebranch and create Pull Request3. Stabilisation fixback torelease. - This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from
hotfixormasterbranch and create Pull Request4. Hotfixback tohotfix.