reordered sections
This commit is contained in:
@@ -43,7 +43,7 @@ provide("productVariant", {
|
|||||||
|
|
||||||
const productResponse = await suspenseProduct();
|
const productResponse = await suspenseProduct();
|
||||||
|
|
||||||
if (productResponse.isError ) {
|
if (productResponse.isError) {
|
||||||
throw createError({
|
throw createError({
|
||||||
statusCode: 404,
|
statusCode: 404,
|
||||||
statusMessage: `error : product ${id} prefetch error`,
|
statusMessage: `error : product ${id} prefetch error`,
|
||||||
@@ -55,12 +55,12 @@ if (productResponse.isError ) {
|
|||||||
<div class="w-full flex flex-col">
|
<div class="w-full flex flex-col">
|
||||||
<ProductHero />
|
<ProductHero />
|
||||||
<ProductVideo v-model:showChatButton="showChatButton" />
|
<ProductVideo v-model:showChatButton="showChatButton" />
|
||||||
<ProductComments />
|
|
||||||
<ProductDetails />
|
<ProductDetails />
|
||||||
<ProductsSlider
|
<ProductsSlider
|
||||||
title="محصولات مشابه"
|
title="محصولات مشابه"
|
||||||
:products="product!.related_products"
|
:products="product!.related_products"
|
||||||
/>
|
/>
|
||||||
|
<ProductComments />
|
||||||
<ChatButton :showChatButton="showChatButton" />
|
<ChatButton :showChatButton="showChatButton" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user