added consition on if there was any in box item and show the box

This commit is contained in:
Mamalizz-dev
2026-05-11 23:15:26 +03:30
parent 90ca5f5c6a
commit 71fec41214
@@ -17,7 +17,10 @@ const { selectedVariant } = inject("productVariant") as ProductVariantProvideTyp
<div class="flex-1 w-full">
<Accordion />
</div>
<div class="w-full lg:w-[450px] xl:w-[600px]">
<div
v-if="selectedVariant!.in_pack_items.length > 0"
class="w-full lg:w-[450px] xl:w-[600px]"
>
<div class="w-full bg-slate-50 rounded-xl flex-col-center px-5 py-16 sm:p-[5rem] gap-[1.5rem]">
<span class="typo-h-6 mb-8">داخل جعبه چیه؟</span>
<div class="w-full grid grid-cols-2 gap-y-[1.5rem] sm:gap-x-[3rem]">