nalincah
nalincah
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
Thanks, will look at it again, later
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
ah, okay. I see.... 🤔
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
but doesn't it collide with the autogenerated code when I create a new endpoint?
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
okay, but where to put the "shop" (in our case just a produclist with filters) in the playground? which folder and where to access it? when I start the server I only see the backend-playground where I can execute queries
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
Yes, thanks. Is there no workaround while playing around with everything wihtout a registry?
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
And this
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
--- Coming back to Vue storefront. I tried to connect these two
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
My current approach is a simple vue3 app with the Vue storefront ui components/blocks (like the product card) and a symfony 6 Middleware with just one /products endpoint
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
In the first step I actually just need a simple product list with filters with some kind of Middleware to serve the products from an internal elasticsearch.
20 replies
AAlokai
Created by nalincah on 7/28/2023 in #🙋|general-help
General question(s) about the "new" Storefront/UI/Boilerplate
or...do I create https://github.com/vuestorefront/integration-boilerplate and add my ProductCard there?
20 replies
AAlokai
Created by nalincah on 7/19/2023 in #🙋|general-help
Don't know how to customize theme
Do I have to commit/push it and the select the github url when installing a new VSF?
3 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
this is the way for the new SDK? And not the "old" with Vue2/Nuxt2, right?
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
but product and products are just empty array, no requests at all
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
Okay, lets say I ignore the end-on-life for vue2 and do it the old way. I did everything from the documentation above. Now to test it, i've created some Foo.vue in pages (how to change the default Homepage is yet another mystery for me) I can access my Foo-Page and there I want to execute my query to my backend. So I did
<template>
<div>
<h1>fooooo</h1>
products: #{{ products }}#
product: #{{ product }}#
</div>
</template>
<script>
import { productGetters, useProduct } from '@vue-storefront/zincplatformfrontend';
import { computed, useRoute } from '@nuxtjs/composition-api';

export default {
setup() {
const route = useRoute();
const { products } = useProduct('products');

const product = computed(() => productGetters.getFiltered(products.value, { master: true, attributes: route.value.query })[0]);

return {
product,
products
};
}
};
</script>
<template>
<div>
<h1>fooooo</h1>
products: #{{ products }}#
product: #{{ product }}#
</div>
</template>
<script>
import { productGetters, useProduct } from '@vue-storefront/zincplatformfrontend';
import { computed, useRoute } from '@nuxtjs/composition-api';

export default {
setup() {
const route = useRoute();
const { products } = useProduct('products');

const product = computed(() => productGetters.getFiltered(products.value, { master: true, attributes: route.value.query })[0]);

return {
product,
products
};
}
};
</script>
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
I know, but only the mapping, right?
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
So I could either try to get it running in vue2/nuxt2 or I wait until nuxt3 frontend or I build my own frontend?
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
oh, okay
48 replies
AAlokai
Created by gourava on 7/15/2023 in #🙋|general-help
Complete ecommerce backend implementation
I followed the documentation at https://docs.vuestorefront.io/v2/integrate/integration-guide.html and now I try to get my middleware to, at least, try to execute a request
48 replies