ALI
Explore posts from serversAAlokai
•Created by Lifka on 11/20/2023 in #🙋|general-help
Set Store using Magento sdk
hi! since you mentioned cookies; I assume you probably know how to use them for vsf integrated with magento 2 using
vsf-customer
for customer. it will be a great help if you can help me implement that. Currently, I have resorted to useCockie()
composable from nuxt 3 and seems working fine.3 replies
AAlokai
•Created by ALI on 11/22/2023 in #🙋|general-help
VSF2-Nuxt3 app integrated with Magento 2.
okay, this post has direct relation with my last one. It seems localStorage is not available on server side. So, we are recommended by the docs to use
vsf-customer
to store cookies. So far, I have only been able to figure out that I need to have it registered in middleware.config.ts
file. What next?2 replies
AAlokai
•Created by ALI on 11/21/2023 in #🙋|general-help
Sotring cookies for magento 2 using ```vsf-customer```
Okay, there is this small portion in the documentation of
customer
method of magento sdk
. which says that we can pass customHeaders
like so:
but I would still like to see how can we use vsf-customer
2 replies